An open API service indexing awesome lists of open source software.

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.

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.*