https://github.com/davidyslu/simple_compiler
Simple compiler with Yacc and Lex
https://github.com/davidyslu/simple_compiler
Last synced: about 1 year ago
JSON representation
Simple compiler with Yacc and Lex
- Host: GitHub
- URL: https://github.com/davidyslu/simple_compiler
- Owner: davidyslu
- Created: 2016-06-14T12:27:31.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-02T03:01:47.000Z (almost 9 years ago)
- Last Synced: 2025-05-14T10:33:20.203Z (about 1 year ago)
- Language: C
- Size: 155 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Compiler
[](http://creativecommons.org/licenses/by-nc-sa/4.0/)
## Installation
* Compilation
```bash
$ make lex
$ make yacc
$ make
```
* Execution
```bash
./parser < test.c > test.asm
```
## TODO
* `PRINT` and `READ` need to fix.
* `LEA` need to fix.
## Author
* [Yung-Sheng Lu](http://github.com/yungshenglu)
---
[](http://creativecommons.org/licenses/by-nc-sa/4.0/)