https://github.com/thomasthiebaud/language
https://github.com/thomasthiebaud/language
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasthiebaud/language
- Owner: thomasthiebaud
- Created: 2014-04-01T13:39:57.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-03-05T13:17:07.000Z (about 9 years ago)
- Last Synced: 2024-10-19T11:30:53.007Z (7 months ago)
- Language: C
- Size: 318 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[School project] Create a compiler and an interpreter based on lex and yacc. This code is no longer maintained.
In order to install `lex` and `yacc` run
sudo apt-get install flex bison
Create the `compiler` and `interpreter` executables using
make
Run the compiler using
./compiler < test.c //Where test.c is the file to compile
Run the interpreter using
./interpreter