c-- is a plastic compiler for simple C grammar, using Flex and LLVM.
-
cd lexer/;make
-
cd parser/;make
-
Copy
Makefile.compile
to the same directory withc--
-
Edit
Makefile.compile
as you wish and then rename it toMakefile
-
Enter
make
See calculator/main.c
as an example.
- Flex
- LLVM 5.0.1