├── .gitignore ├── .ocp-indent ├── LICENSE ├── Makefile ├── README ├── dune-project ├── runtime ├── runtime.c ├── tiger_gc.c └── tiger_stdlib.c ├── src ├── compile.ml ├── compile.mli ├── dune ├── fmt.ml ├── fmt.mli ├── irep.ml ├── irep.mli ├── lexer.mll ├── main.ml ├── parser.mly ├── tabs.ml ├── typecheck.ml ├── typecheck.mli └── typing.ml ├── test ├── bad │ ├── rec0.tig │ └── rec1.tig └── good │ ├── arr1.tig │ ├── assign-nil.tig │ ├── fact.tig │ ├── for-escapes.tig │ ├── for0.tig │ ├── gc0.tig │ ├── lambdalift0.tig │ ├── lambdalift1.tig │ ├── let-nil.tig │ ├── mutually-recfns.tig │ ├── nested0.tig │ ├── nested1.tig │ ├── nested2.tig │ ├── nil-cmp.tig │ ├── print0.tig │ ├── queens.tig │ ├── rec-nil.tig │ ├── rec-types.tig │ ├── rec0.tig │ ├── rec1.tig │ ├── rec2.tig │ └── rec3.tig ├── tests ├── dune ├── dune.inc ├── test001.err ├── test001.out ├── test001.tig ├── test002.err ├── test002.out ├── test002.tig ├── test003.err ├── test003.out ├── test003.tig ├── test004.err ├── test004.out ├── test004.tig ├── test005.err ├── test005.out ├── test005.tig ├── test006.err ├── test006.out ├── test006.tig ├── test007.err ├── test007.out ├── test007.tig ├── test008.err ├── test008.out ├── test008.tig ├── test009.err ├── test009.out ├── test009.tig ├── test010.err ├── test010.out ├── test010.tig ├── test011.err ├── test011.out ├── test011.tig ├── test012.err ├── test012.out ├── test012.tig ├── test013.err ├── test013.out ├── test013.tig ├── test014.err ├── test014.out ├── test014.tig ├── test015.err ├── test015.out ├── test015.tig ├── test016.err ├── test016.out ├── test016.tig ├── test017.err ├── test017.out ├── test017.tig ├── test018.err ├── test018.out ├── test018.tig ├── test019.err ├── test019.out ├── test019.tig ├── test020.err ├── test020.out ├── test020.tig ├── test021.err ├── test021.out ├── test021.tig ├── test022.err ├── test022.out ├── test022.tig ├── test023.err ├── test023.out ├── test023.tig ├── test024.err ├── test024.out ├── test024.tig ├── test025.err ├── test025.out ├── test025.tig ├── test026.err ├── test026.out ├── test026.tig ├── test027.err ├── test027.out ├── test027.tig ├── test028.err ├── test028.out ├── test028.tig ├── test029.err ├── test029.out ├── test029.tig ├── test030.err ├── test030.out ├── test030.tig ├── test031.err ├── test031.out ├── test031.tig ├── test032.err ├── test032.out ├── test032.tig ├── test033.err ├── test033.out └── test033.tig └── tools ├── dune ├── gen_tests.ml └── run_test.ml /.gitignore: -------------------------------------------------------------------------------- 1 | _opam 2 | _build 3 | -------------------------------------------------------------------------------- /.ocp-indent: -------------------------------------------------------------------------------- 1 | match_clause=4 2 | strict_with=auto -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/Makefile -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/README -------------------------------------------------------------------------------- /dune-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/dune-project -------------------------------------------------------------------------------- /runtime/runtime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/runtime/runtime.c -------------------------------------------------------------------------------- /runtime/tiger_gc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/runtime/tiger_gc.c -------------------------------------------------------------------------------- /runtime/tiger_stdlib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/runtime/tiger_stdlib.c -------------------------------------------------------------------------------- /src/compile.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/compile.ml -------------------------------------------------------------------------------- /src/compile.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/compile.mli -------------------------------------------------------------------------------- /src/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/dune -------------------------------------------------------------------------------- /src/fmt.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/fmt.ml -------------------------------------------------------------------------------- /src/fmt.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/fmt.mli -------------------------------------------------------------------------------- /src/irep.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/irep.ml -------------------------------------------------------------------------------- /src/irep.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/irep.mli -------------------------------------------------------------------------------- /src/lexer.mll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/lexer.mll -------------------------------------------------------------------------------- /src/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/main.ml -------------------------------------------------------------------------------- /src/parser.mly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/parser.mly -------------------------------------------------------------------------------- /src/tabs.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/tabs.ml -------------------------------------------------------------------------------- /src/typecheck.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/typecheck.ml -------------------------------------------------------------------------------- /src/typecheck.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/typecheck.mli -------------------------------------------------------------------------------- /src/typing.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/src/typing.ml -------------------------------------------------------------------------------- /test/bad/rec0.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/bad/rec0.tig -------------------------------------------------------------------------------- /test/bad/rec1.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/bad/rec1.tig -------------------------------------------------------------------------------- /test/good/arr1.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/arr1.tig -------------------------------------------------------------------------------- /test/good/assign-nil.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/assign-nil.tig -------------------------------------------------------------------------------- /test/good/fact.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/fact.tig -------------------------------------------------------------------------------- /test/good/for-escapes.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/for-escapes.tig -------------------------------------------------------------------------------- /test/good/for0.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/for0.tig -------------------------------------------------------------------------------- /test/good/gc0.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/gc0.tig -------------------------------------------------------------------------------- /test/good/lambdalift0.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/lambdalift0.tig -------------------------------------------------------------------------------- /test/good/lambdalift1.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/lambdalift1.tig -------------------------------------------------------------------------------- /test/good/let-nil.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/let-nil.tig -------------------------------------------------------------------------------- /test/good/mutually-recfns.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/mutually-recfns.tig -------------------------------------------------------------------------------- /test/good/nested0.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/nested0.tig -------------------------------------------------------------------------------- /test/good/nested1.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/nested1.tig -------------------------------------------------------------------------------- /test/good/nested2.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/nested2.tig -------------------------------------------------------------------------------- /test/good/nil-cmp.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/nil-cmp.tig -------------------------------------------------------------------------------- /test/good/print0.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/print0.tig -------------------------------------------------------------------------------- /test/good/queens.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/queens.tig -------------------------------------------------------------------------------- /test/good/rec-nil.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/rec-nil.tig -------------------------------------------------------------------------------- /test/good/rec-types.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/rec-types.tig -------------------------------------------------------------------------------- /test/good/rec0.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/rec0.tig -------------------------------------------------------------------------------- /test/good/rec1.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/rec1.tig -------------------------------------------------------------------------------- /test/good/rec2.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/rec2.tig -------------------------------------------------------------------------------- /test/good/rec3.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/test/good/rec3.tig -------------------------------------------------------------------------------- /tests/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/dune -------------------------------------------------------------------------------- /tests/dune.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/dune.inc -------------------------------------------------------------------------------- /tests/test001.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test001.err -------------------------------------------------------------------------------- /tests/test001.out: -------------------------------------------------------------------------------- 1 | 24 -------------------------------------------------------------------------------- /tests/test001.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test001.tig -------------------------------------------------------------------------------- /tests/test002.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test002.err -------------------------------------------------------------------------------- /tests/test002.out: -------------------------------------------------------------------------------- 1 | 42 -------------------------------------------------------------------------------- /tests/test002.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test002.tig -------------------------------------------------------------------------------- /tests/test003.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test003.err -------------------------------------------------------------------------------- /tests/test003.out: -------------------------------------------------------------------------------- 1 | -1869596475 -------------------------------------------------------------------------------- /tests/test003.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test003.tig -------------------------------------------------------------------------------- /tests/test004.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test004.err -------------------------------------------------------------------------------- /tests/test004.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test004.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test004.tig -------------------------------------------------------------------------------- /tests/test005.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test005.err -------------------------------------------------------------------------------- /tests/test005.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test005.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test005.tig -------------------------------------------------------------------------------- /tests/test006.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test006.err -------------------------------------------------------------------------------- /tests/test006.out: -------------------------------------------------------------------------------- 1 | 42 -------------------------------------------------------------------------------- /tests/test006.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test006.tig -------------------------------------------------------------------------------- /tests/test007.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test007.err -------------------------------------------------------------------------------- /tests/test007.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test007.out -------------------------------------------------------------------------------- /tests/test007.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test007.tig -------------------------------------------------------------------------------- /tests/test008.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test008.err -------------------------------------------------------------------------------- /tests/test008.out: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | -------------------------------------------------------------------------------- /tests/test008.tig: -------------------------------------------------------------------------------- 1 | print("Hello, World!\n") -------------------------------------------------------------------------------- /tests/test009.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test009.err -------------------------------------------------------------------------------- /tests/test009.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test009.out -------------------------------------------------------------------------------- /tests/test009.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test009.tig -------------------------------------------------------------------------------- /tests/test010.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test010.err -------------------------------------------------------------------------------- /tests/test010.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test010.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test010.tig -------------------------------------------------------------------------------- /tests/test011.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test011.err -------------------------------------------------------------------------------- /tests/test011.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test011.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test011.tig -------------------------------------------------------------------------------- /tests/test012.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test012.err -------------------------------------------------------------------------------- /tests/test012.out: -------------------------------------------------------------------------------- 1 | 123 -------------------------------------------------------------------------------- /tests/test012.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test012.tig -------------------------------------------------------------------------------- /tests/test013.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test013.err -------------------------------------------------------------------------------- /tests/test013.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test013.out -------------------------------------------------------------------------------- /tests/test013.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test013.tig -------------------------------------------------------------------------------- /tests/test014.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test014.err -------------------------------------------------------------------------------- /tests/test014.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test014.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test014.tig -------------------------------------------------------------------------------- /tests/test015.err: -------------------------------------------------------------------------------- 1 | error: test015.tig:5:10: unknown variable `y' 2 | -------------------------------------------------------------------------------- /tests/test015.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test015.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test015.tig -------------------------------------------------------------------------------- /tests/test016.err: -------------------------------------------------------------------------------- 1 | error: test016.tig:2:1: unknown function `f' 2 | -------------------------------------------------------------------------------- /tests/test016.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test016.tig: -------------------------------------------------------------------------------- 1 | /* ERR: unknown function */ 2 | f(42) 3 | -------------------------------------------------------------------------------- /tests/test017.err: -------------------------------------------------------------------------------- 1 | error: test017.tig:2:1: unknown type name `t' 2 | -------------------------------------------------------------------------------- /tests/test017.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test017.tig: -------------------------------------------------------------------------------- 1 | /* ERR: unknown type name */ 2 | t { hd = 42 } 3 | -------------------------------------------------------------------------------- /tests/test018.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test018.err -------------------------------------------------------------------------------- /tests/test018.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test018.tig: -------------------------------------------------------------------------------- 1 | /* ERR: wrong arity */ 2 | printi(42, 56) 3 | -------------------------------------------------------------------------------- /tests/test019.err: -------------------------------------------------------------------------------- 1 | error: test019.tig:4:8: repeated type name `t' 2 | -------------------------------------------------------------------------------- /tests/test019.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test019.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test019.tig -------------------------------------------------------------------------------- /tests/test020.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test020.err -------------------------------------------------------------------------------- /tests/test020.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test020.tig: -------------------------------------------------------------------------------- 1 | /* ERR: statement expected */ 2 | while 1 do 3 | 43 -------------------------------------------------------------------------------- /tests/test021.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test021.err -------------------------------------------------------------------------------- /tests/test021.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test021.tig: -------------------------------------------------------------------------------- 1 | /* ERR: not a record */ 2 | let 3 | var x := 42 4 | in 5 | printi(x.r) 6 | end 7 | -------------------------------------------------------------------------------- /tests/test022.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test022.err -------------------------------------------------------------------------------- /tests/test022.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test022.tig: -------------------------------------------------------------------------------- 1 | /* ERR: not an array */ 2 | let 3 | var x := 43 4 | in 5 | printi(x[18]) 6 | end 7 | -------------------------------------------------------------------------------- /tests/test023.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test023.err -------------------------------------------------------------------------------- /tests/test023.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test023.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test023.tig -------------------------------------------------------------------------------- /tests/test024.err: -------------------------------------------------------------------------------- 1 | error: test024.tig:3:12: `nil' cannot appear here 2 | -------------------------------------------------------------------------------- /tests/test024.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test024.tig: -------------------------------------------------------------------------------- 1 | /* ERR: illegal nil */ 2 | let 3 | var x := nil 4 | in 5 | end 6 | -------------------------------------------------------------------------------- /tests/test025.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test025.err -------------------------------------------------------------------------------- /tests/test025.out: -------------------------------------------------------------------------------- 1 | # GC roots: 2 2 | -------------------------------------------------------------------------------- /tests/test025.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test025.tig -------------------------------------------------------------------------------- /tests/test026.err: -------------------------------------------------------------------------------- 1 | error: test026.tig:2:1: `break' cannot appear here 2 | -------------------------------------------------------------------------------- /tests/test026.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test026.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test026.tig -------------------------------------------------------------------------------- /tests/test027.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test027.err -------------------------------------------------------------------------------- /tests/test027.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test027.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test027.tig -------------------------------------------------------------------------------- /tests/test028.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test028.err -------------------------------------------------------------------------------- /tests/test028.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test028.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test028.tig -------------------------------------------------------------------------------- /tests/test029.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test029.err -------------------------------------------------------------------------------- /tests/test029.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test029.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test029.tig -------------------------------------------------------------------------------- /tests/test030.err: -------------------------------------------------------------------------------- 1 | error: test030.tig:4:12: too many fields for type `t': b 2 | -------------------------------------------------------------------------------- /tests/test030.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test030.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test030.tig -------------------------------------------------------------------------------- /tests/test031.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test031.err -------------------------------------------------------------------------------- /tests/test031.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test031.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test031.tig -------------------------------------------------------------------------------- /tests/test032.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test032.err -------------------------------------------------------------------------------- /tests/test032.out: -------------------------------------------------------------------------------- 1 | 2004310016 -------------------------------------------------------------------------------- /tests/test032.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test032.tig -------------------------------------------------------------------------------- /tests/test033.err: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test033.err -------------------------------------------------------------------------------- /tests/test033.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test033.tig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tests/test033.tig -------------------------------------------------------------------------------- /tools/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tools/dune -------------------------------------------------------------------------------- /tools/gen_tests.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tools/gen_tests.ml -------------------------------------------------------------------------------- /tools/run_test.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nojb/llvm-tiger/HEAD/tools/run_test.ml --------------------------------------------------------------------------------