Update skeleton

This commit is contained in:
Jeehoon Kang
2020-05-29 21:27:35 +09:00
parent 599fb7ca35
commit 4c850d5801
13 changed files with 398 additions and 521 deletions

View File

@@ -16,10 +16,11 @@ cargo build --release # release build
## Run
```sh
cargo run -- -h # print options
cargo run -- -p examples/c/fibonacci.c # parse
cargo run -- -i examples/c/fibonacci.c # irgen
cargo run -- examples/c/fibonacci.c # compile
cargo run -- -h # print options
cargo run -- -p examples/c/fibonacci.c # parse
cargo run -- -i examples/c/fibonacci.c # irgen
cargo run -- -O --iroutput examples/c/fibonacci.c # optimize
cargo run -- examples/c/fibonacci.c # compile
cargo run -- --irrun examples/c/fibonacci.c # interprets the IR