├── .gitignore ├── .stylish-haskell.yaml ├── LICENSE ├── README.md ├── Setup.hs ├── agda-ocaml.cabal ├── app └── Main.hs ├── benchmark └── agda-ocaml │ ├── .gitignore │ ├── AgdaListGen.hs │ ├── Extra.agda │ ├── Fold0.agda │ ├── Main.hs │ ├── RbTyped │ ├── RbUntyped │ ├── RedBlack.agda │ ├── RedBlack.hs │ ├── RedBlackMlf │ ├── Typed.hs │ ├── TypedExist.hs │ ├── Untyped.hs │ ├── run.sh │ └── spinner.sh ├── src └── full │ └── Agda │ └── Compiler │ ├── Malfunction.hs │ └── Malfunction │ ├── AST.hs │ ├── Compiler.hs │ ├── Instances.hs │ ├── Main.hs │ ├── Primitive.hs │ └── Run.hs ├── stack-8.0.2.yaml └── test └── agda-ocaml ├── CompilerTest.hs ├── Golden ├── Constructor.agda ├── Constructor_a.golden ├── Constructor_one.golden ├── Factorial.agda ├── Factorial_a.golden ├── Factorial_b.golden ├── FstSnd.agda ├── FstSnd_a.golden ├── FstSnd_b.golden ├── Index.agda ├── Index_l0.golden ├── Index_l1.golden ├── Index_l2.golden ├── Insertion.agda ├── InsertionSort.agda ├── InsertionSort_l0.golden ├── InsertionSort_l1.golden ├── InsertionSort_l2.golden ├── Insertion_l0.golden ├── Insertion_l1.golden ├── RedBlack.agda └── RedBlack_short.golden ├── Tasty.hs └── Utils.hs /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/.gitignore -------------------------------------------------------------------------------- /.stylish-haskell.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/.stylish-haskell.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/README.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/Setup.hs -------------------------------------------------------------------------------- /agda-ocaml.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/agda-ocaml.cabal -------------------------------------------------------------------------------- /app/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/app/Main.hs -------------------------------------------------------------------------------- /benchmark/agda-ocaml/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/.gitignore -------------------------------------------------------------------------------- /benchmark/agda-ocaml/AgdaListGen.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/AgdaListGen.hs -------------------------------------------------------------------------------- /benchmark/agda-ocaml/Extra.agda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/Extra.agda -------------------------------------------------------------------------------- /benchmark/agda-ocaml/Fold0.agda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/Fold0.agda -------------------------------------------------------------------------------- /benchmark/agda-ocaml/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/Main.hs -------------------------------------------------------------------------------- /benchmark/agda-ocaml/RbTyped: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/RbTyped -------------------------------------------------------------------------------- /benchmark/agda-ocaml/RbUntyped: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/RbUntyped -------------------------------------------------------------------------------- /benchmark/agda-ocaml/RedBlack.agda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/RedBlack.agda -------------------------------------------------------------------------------- /benchmark/agda-ocaml/RedBlack.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/RedBlack.hs -------------------------------------------------------------------------------- /benchmark/agda-ocaml/RedBlackMlf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/RedBlackMlf -------------------------------------------------------------------------------- /benchmark/agda-ocaml/Typed.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/Typed.hs -------------------------------------------------------------------------------- /benchmark/agda-ocaml/TypedExist.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/TypedExist.hs -------------------------------------------------------------------------------- /benchmark/agda-ocaml/Untyped.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/Untyped.hs -------------------------------------------------------------------------------- /benchmark/agda-ocaml/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/run.sh -------------------------------------------------------------------------------- /benchmark/agda-ocaml/spinner.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/benchmark/agda-ocaml/spinner.sh -------------------------------------------------------------------------------- /src/full/Agda/Compiler/Malfunction.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/src/full/Agda/Compiler/Malfunction.hs -------------------------------------------------------------------------------- /src/full/Agda/Compiler/Malfunction/AST.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/src/full/Agda/Compiler/Malfunction/AST.hs -------------------------------------------------------------------------------- /src/full/Agda/Compiler/Malfunction/Compiler.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/src/full/Agda/Compiler/Malfunction/Compiler.hs -------------------------------------------------------------------------------- /src/full/Agda/Compiler/Malfunction/Instances.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/src/full/Agda/Compiler/Malfunction/Instances.hs -------------------------------------------------------------------------------- /src/full/Agda/Compiler/Malfunction/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/src/full/Agda/Compiler/Malfunction/Main.hs -------------------------------------------------------------------------------- /src/full/Agda/Compiler/Malfunction/Primitive.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/src/full/Agda/Compiler/Malfunction/Primitive.hs -------------------------------------------------------------------------------- /src/full/Agda/Compiler/Malfunction/Run.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/src/full/Agda/Compiler/Malfunction/Run.hs -------------------------------------------------------------------------------- /stack-8.0.2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/stack-8.0.2.yaml -------------------------------------------------------------------------------- /test/agda-ocaml/CompilerTest.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/CompilerTest.hs -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Constructor.agda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/Golden/Constructor.agda -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Constructor_a.golden: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Constructor_one.golden: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Factorial.agda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/Golden/Factorial.agda -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Factorial_a.golden: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Factorial_b.golden: -------------------------------------------------------------------------------- 1 | 3628800 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/FstSnd.agda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/Golden/FstSnd.agda -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/FstSnd_a.golden: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/FstSnd_b.golden: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Index.agda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/Golden/Index.agda -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Index_l0.golden: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Index_l1.golden: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Index_l2.golden: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Insertion.agda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/Golden/Insertion.agda -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/InsertionSort.agda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/Golden/InsertionSort.agda -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/InsertionSort_l0.golden: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/InsertionSort_l1.golden: -------------------------------------------------------------------------------- 1 | 4 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/InsertionSort_l2.golden: -------------------------------------------------------------------------------- 1 | 7 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Insertion_l0.golden: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/Insertion_l1.golden: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/RedBlack.agda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/Golden/RedBlack.agda -------------------------------------------------------------------------------- /test/agda-ocaml/Golden/RedBlack_short.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/Golden/RedBlack_short.golden -------------------------------------------------------------------------------- /test/agda-ocaml/Tasty.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/Tasty.hs -------------------------------------------------------------------------------- /test/agda-ocaml/Utils.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agda-attic/agda-ocaml/HEAD/test/agda-ocaml/Utils.hs --------------------------------------------------------------------------------