A simple C-like compiler that outputs the abstract syntax tree and intermediate representation in JSON.
make
: make project, generate executable "woc"
make clean
: clean all generated files
woc [file] [options]
Options:
-a Generating AST in JSON
-i Generating IR tree in JSON
-s Generating symbol table for scopes in JSON
-c Generating assemble code, in WOCASM
-d Debug mode, programmer should define usage in parse.y