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