Skip to content

celphi-misc/weird-o-compiler

Repository files navigation

Weird-o-compiler

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

Ref

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published