https://github.com/zh-plus/compilers-project
Compiler for the subset of C programming language using C++/Flex/Bison, generating MIPS32 code.
https://github.com/zh-plus/compilers-project
Last synced: 19 days ago
JSON representation
Compiler for the subset of C programming language using C++/Flex/Bison, generating MIPS32 code.
- Host: GitHub
- URL: https://github.com/zh-plus/compilers-project
- Owner: zh-plus
- Created: 2019-09-26T15:06:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-12T14:01:17.000Z (over 5 years ago)
- Last Synced: 2025-04-06T04:21:01.102Z (3 months ago)
- Language: C++
- Homepage:
- Size: 61.8 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Compilers
SUSTech CS323 Compilers course project.##### SUSTech Programming Language(SPL)
SPL is a C-like programming language that removes most advanced features in C standard, such as macros or pointers. It is strongly typed, with several primitive types and structure type (as we borrowed from C), and sup-ports C-like control flow such as if-statement and while-statement. Also, it supports basic user interaction by providing two built-in function read and write, which makes it Turing-complete!
1. [project1](https://github.com/zh-plus/Compilers/tree/master/spl_project1) Lexical Analysis & Syntax Analysis
2. [project2](https://github.com/zh-plus/Compilers/tree/master/spl_project2) Semantic Analysis
3. [project3](https://github.com/zh-plus/Compilers/tree/master/spl_project3) IR Generation
4. [project4](https://github.com/zh-plus/Compilers/tree/master/spl_project4) Target Code Generation*Usage of each project can be found in project README.*