├── .github ├── FUNDING.yml └── workflows │ └── ci.yml ├── Ch1 └── interpreter │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ └── main.rs └── tiger ├── .cargo └── config.toml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── gc_test.sh ├── notes ├── src ├── asm.rs ├── asm_gen.rs ├── ast.rs ├── canon.rs ├── collector.rs ├── data_layout.rs ├── env.rs ├── error.rs ├── escape.rs ├── flow.rs ├── frame │ ├── mod.rs │ └── x86_64.rs ├── gen.rs ├── graph.rs ├── ir.rs ├── lexer.rs ├── lib.rs ├── liveness.rs ├── main.rs ├── parser.rs ├── position.rs ├── reg_alloc.rs ├── rewriter.rs ├── semant.rs ├── symbol.rs ├── temp.rs ├── terminal.rs ├── token.rs ├── types.rs └── visitor.rs └── tests ├── array.stdout ├── array.tig ├── array2d.tig ├── array_assignment.stdout ├── array_assignment.tig ├── class.stdout ├── class.tig ├── comments.stdout ├── comments.tig ├── conditions.stdout ├── conditions.tig ├── cycle.stdout ├── cycle.tig ├── error ├── assign.tig ├── assign2.tig ├── class.tig ├── closures.tig ├── escapes.tig ├── escapes2.tig ├── hello2-1.tig ├── hello4.tig ├── pure.tig ├── token.tig ├── token_slash.tig ├── unclosed_comment.tig └── unclosed_string.tig ├── escapes.stdout ├── escapes.tig ├── functional.stdout ├── functional.tig ├── functions.stdout ├── functions.tig ├── gc.stdout ├── gc.tig ├── hello.stdout ├── hello.tig ├── hello1.stdout ├── hello1.tig ├── hello2.stdout ├── hello2.tig ├── hello3.stdout ├── hello3.tig ├── hello5.stdout ├── hello5.tig ├── helloPure.stdin ├── helloPure.stdout ├── helloPure.tig ├── integers.stdout ├── integers.tig ├── lib.stdout ├── lib.tig ├── loops.stdout ├── loops.tig ├── merge.stdin ├── merge.stdout ├── merge.tig ├── nested.stdout ├── nested.tig ├── prettyprint.stdout ├── prettyprint.tig ├── pure.tig ├── pureTree.stdout ├── pureTree.tig ├── queens.stdout ├── queens.tig ├── record.stdout ├── record.tig ├── spill.stdout ├── spill.tig ├── strings.stdin ├── strings.stdout ├── strings.tig ├── test.rs ├── vars.stdout └── vars.tig /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /Ch1/interpreter/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | **/*.rs.bk 3 | -------------------------------------------------------------------------------- /Ch1/interpreter/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/Ch1/interpreter/Cargo.lock -------------------------------------------------------------------------------- /Ch1/interpreter/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/Ch1/interpreter/Cargo.toml -------------------------------------------------------------------------------- /Ch1/interpreter/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/Ch1/interpreter/src/main.rs -------------------------------------------------------------------------------- /tiger/.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | rustflags = ["-C", "force-frame-pointers=on"] 3 | -------------------------------------------------------------------------------- /tiger/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/.gitignore -------------------------------------------------------------------------------- /tiger/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/Cargo.lock -------------------------------------------------------------------------------- /tiger/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/Cargo.toml -------------------------------------------------------------------------------- /tiger/gc_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/gc_test.sh -------------------------------------------------------------------------------- /tiger/notes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/notes -------------------------------------------------------------------------------- /tiger/src/asm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/asm.rs -------------------------------------------------------------------------------- /tiger/src/asm_gen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/asm_gen.rs -------------------------------------------------------------------------------- /tiger/src/ast.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/ast.rs -------------------------------------------------------------------------------- /tiger/src/canon.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/canon.rs -------------------------------------------------------------------------------- /tiger/src/collector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/collector.rs -------------------------------------------------------------------------------- /tiger/src/data_layout.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/data_layout.rs -------------------------------------------------------------------------------- /tiger/src/env.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/env.rs -------------------------------------------------------------------------------- /tiger/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/error.rs -------------------------------------------------------------------------------- /tiger/src/escape.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/escape.rs -------------------------------------------------------------------------------- /tiger/src/flow.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/flow.rs -------------------------------------------------------------------------------- /tiger/src/frame/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/frame/mod.rs -------------------------------------------------------------------------------- /tiger/src/frame/x86_64.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/frame/x86_64.rs -------------------------------------------------------------------------------- /tiger/src/gen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/gen.rs -------------------------------------------------------------------------------- /tiger/src/graph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/graph.rs -------------------------------------------------------------------------------- /tiger/src/ir.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/ir.rs -------------------------------------------------------------------------------- /tiger/src/lexer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/lexer.rs -------------------------------------------------------------------------------- /tiger/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/lib.rs -------------------------------------------------------------------------------- /tiger/src/liveness.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/liveness.rs -------------------------------------------------------------------------------- /tiger/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/main.rs -------------------------------------------------------------------------------- /tiger/src/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/parser.rs -------------------------------------------------------------------------------- /tiger/src/position.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/position.rs -------------------------------------------------------------------------------- /tiger/src/reg_alloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/reg_alloc.rs -------------------------------------------------------------------------------- /tiger/src/rewriter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/rewriter.rs -------------------------------------------------------------------------------- /tiger/src/semant.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/semant.rs -------------------------------------------------------------------------------- /tiger/src/symbol.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/symbol.rs -------------------------------------------------------------------------------- /tiger/src/temp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/temp.rs -------------------------------------------------------------------------------- /tiger/src/terminal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/terminal.rs -------------------------------------------------------------------------------- /tiger/src/token.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/token.rs -------------------------------------------------------------------------------- /tiger/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/types.rs -------------------------------------------------------------------------------- /tiger/src/visitor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/src/visitor.rs -------------------------------------------------------------------------------- /tiger/tests/array.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/array.stdout -------------------------------------------------------------------------------- /tiger/tests/array.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/array.tig -------------------------------------------------------------------------------- /tiger/tests/array2d.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/array2d.tig -------------------------------------------------------------------------------- /tiger/tests/array_assignment.stdout: -------------------------------------------------------------------------------- 1 | 10 2 | 12 3 | -------------------------------------------------------------------------------- /tiger/tests/array_assignment.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/array_assignment.tig -------------------------------------------------------------------------------- /tiger/tests/class.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/class.stdout -------------------------------------------------------------------------------- /tiger/tests/class.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/class.tig -------------------------------------------------------------------------------- /tiger/tests/comments.stdout: -------------------------------------------------------------------------------- 1 | N 2 | -------------------------------------------------------------------------------- /tiger/tests/comments.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/comments.tig -------------------------------------------------------------------------------- /tiger/tests/conditions.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/conditions.stdout -------------------------------------------------------------------------------- /tiger/tests/conditions.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/conditions.tig -------------------------------------------------------------------------------- /tiger/tests/cycle.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/cycle.stdout -------------------------------------------------------------------------------- /tiger/tests/cycle.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/cycle.tig -------------------------------------------------------------------------------- /tiger/tests/error/assign.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/error/assign.tig -------------------------------------------------------------------------------- /tiger/tests/error/assign2.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/error/assign2.tig -------------------------------------------------------------------------------- /tiger/tests/error/class.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/error/class.tig -------------------------------------------------------------------------------- /tiger/tests/error/closures.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/error/closures.tig -------------------------------------------------------------------------------- /tiger/tests/error/escapes.tig: -------------------------------------------------------------------------------- 1 | "\a" 2 | -------------------------------------------------------------------------------- /tiger/tests/error/escapes2.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/error/escapes2.tig -------------------------------------------------------------------------------- /tiger/tests/error/hello2-1.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/error/hello2-1.tig -------------------------------------------------------------------------------- /tiger/tests/error/hello4.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/error/hello4.tig -------------------------------------------------------------------------------- /tiger/tests/error/pure.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/error/pure.tig -------------------------------------------------------------------------------- /tiger/tests/error/token.tig: -------------------------------------------------------------------------------- 1 | ~ 2 | -------------------------------------------------------------------------------- /tiger/tests/error/token_slash.tig: -------------------------------------------------------------------------------- 1 | " \ 2 | a \" 3 | -------------------------------------------------------------------------------- /tiger/tests/error/unclosed_comment.tig: -------------------------------------------------------------------------------- 1 | 2 | 3 | /* 4 | -------------------------------------------------------------------------------- /tiger/tests/error/unclosed_string.tig: -------------------------------------------------------------------------------- 1 | let var N := 8 2 | in 3 | print(") 4 | end 5 | 6 | -------------------------------------------------------------------------------- /tiger/tests/escapes.stdout: -------------------------------------------------------------------------------- 1 | 2 | \"Atest 3 | -------------------------------------------------------------------------------- /tiger/tests/escapes.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/escapes.tig -------------------------------------------------------------------------------- /tiger/tests/functional.stdout: -------------------------------------------------------------------------------- 1 | 15 2 | 11 3 | 14 4 | 20 5 | 22 6 | 12 7 | 41 8 | -------------------------------------------------------------------------------- /tiger/tests/functional.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/functional.tig -------------------------------------------------------------------------------- /tiger/tests/functions.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/functions.stdout -------------------------------------------------------------------------------- /tiger/tests/functions.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/functions.tig -------------------------------------------------------------------------------- /tiger/tests/gc.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/gc.stdout -------------------------------------------------------------------------------- /tiger/tests/gc.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/gc.tig -------------------------------------------------------------------------------- /tiger/tests/hello.stdout: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | -------------------------------------------------------------------------------- /tiger/tests/hello.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/hello.tig -------------------------------------------------------------------------------- /tiger/tests/hello1.stdout: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | 2 3 | 42 4 | -------------------------------------------------------------------------------- /tiger/tests/hello1.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/hello1.tig -------------------------------------------------------------------------------- /tiger/tests/hello2.stdout: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | -------------------------------------------------------------------------------- /tiger/tests/hello2.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/hello2.tig -------------------------------------------------------------------------------- /tiger/tests/hello3.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/hello3.stdout -------------------------------------------------------------------------------- /tiger/tests/hello3.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/hello3.tig -------------------------------------------------------------------------------- /tiger/tests/hello5.stdout: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | Test 3 | -------------------------------------------------------------------------------- /tiger/tests/hello5.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/hello5.tig -------------------------------------------------------------------------------- /tiger/tests/helloPure.stdin: -------------------------------------------------------------------------------- 1 | A 2 | -------------------------------------------------------------------------------- /tiger/tests/helloPure.stdout: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | A 3 | -------------------------------------------------------------------------------- /tiger/tests/helloPure.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/helloPure.tig -------------------------------------------------------------------------------- /tiger/tests/integers.stdout: -------------------------------------------------------------------------------- 1 | 5 2 | -10 3 | 2 4 | -5 5 | 300 6 | -------------------------------------------------------------------------------- /tiger/tests/integers.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/integers.tig -------------------------------------------------------------------------------- /tiger/tests/lib.stdout: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | -------------------------------------------------------------------------------- /tiger/tests/lib.tig: -------------------------------------------------------------------------------- 1 | print(concat("Hello, ", "World!\n")) 2 | -------------------------------------------------------------------------------- /tiger/tests/loops.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/loops.stdout -------------------------------------------------------------------------------- /tiger/tests/loops.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/loops.tig -------------------------------------------------------------------------------- /tiger/tests/merge.stdin: -------------------------------------------------------------------------------- 1 | 1 2 | 3 3 | 5 4 | 7 5 | 9 6 | a 7 | 2 8 | 4 9 | 6 10 | 8 11 | b 12 | -------------------------------------------------------------------------------- /tiger/tests/merge.stdout: -------------------------------------------------------------------------------- 1 | 1 2 3 4 5 6 7 8 9 2 | -------------------------------------------------------------------------------- /tiger/tests/merge.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/merge.tig -------------------------------------------------------------------------------- /tiger/tests/nested.stdout: -------------------------------------------------------------------------------- 1 | 6 2 | 7 3 | 6 4 | 8 5 | 6 6 | -------------------------------------------------------------------------------- /tiger/tests/nested.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/nested.tig -------------------------------------------------------------------------------- /tiger/tests/prettyprint.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/prettyprint.stdout -------------------------------------------------------------------------------- /tiger/tests/prettyprint.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/prettyprint.tig -------------------------------------------------------------------------------- /tiger/tests/pure.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/pure.tig -------------------------------------------------------------------------------- /tiger/tests/pureTree.stdout: -------------------------------------------------------------------------------- 1 | 15 2 | 3 | 20 4 | -------------------------------------------------------------------------------- /tiger/tests/pureTree.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/pureTree.tig -------------------------------------------------------------------------------- /tiger/tests/queens.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/queens.stdout -------------------------------------------------------------------------------- /tiger/tests/queens.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/queens.tig -------------------------------------------------------------------------------- /tiger/tests/record.stdout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/record.stdout -------------------------------------------------------------------------------- /tiger/tests/record.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/record.tig -------------------------------------------------------------------------------- /tiger/tests/spill.stdout: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | 6 7 | 7 8 | 8 9 | 9 10 | 10 11 | -------------------------------------------------------------------------------- /tiger/tests/spill.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/spill.tig -------------------------------------------------------------------------------- /tiger/tests/strings.stdin: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /tiger/tests/strings.stdout: -------------------------------------------------------------------------------- 1 | 97 2 | a 3 | a 4 | true 5 | b 6 | -------------------------------------------------------------------------------- /tiger/tests/strings.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/strings.tig -------------------------------------------------------------------------------- /tiger/tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/test.rs -------------------------------------------------------------------------------- /tiger/tests/vars.stdout: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | -------------------------------------------------------------------------------- /tiger/tests/vars.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/antoyo/tiger-rs/HEAD/tiger/tests/vars.tig --------------------------------------------------------------------------------