├── .gitignore ├── LICENSE ├── NOTES.txt ├── examples ├── adder.src ├── fizzbuzz.src ├── fizzbuzz2.src └── fizzbuzz3.src ├── shell.nix ├── simplecompiler.cabal ├── src ├── AST.hs ├── IR.hs ├── LLVM.hs ├── Main.hs ├── MyPrelude.hs ├── Name.hs ├── Pretty.hs ├── Token.hs └── Type.hs └── stack.yaml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/NOTES.txt -------------------------------------------------------------------------------- /examples/adder.src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/examples/adder.src -------------------------------------------------------------------------------- /examples/fizzbuzz.src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/examples/fizzbuzz.src -------------------------------------------------------------------------------- /examples/fizzbuzz2.src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/examples/fizzbuzz2.src -------------------------------------------------------------------------------- /examples/fizzbuzz3.src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/examples/fizzbuzz3.src -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/shell.nix -------------------------------------------------------------------------------- /simplecompiler.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/simplecompiler.cabal -------------------------------------------------------------------------------- /src/AST.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/src/AST.hs -------------------------------------------------------------------------------- /src/IR.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/src/IR.hs -------------------------------------------------------------------------------- /src/LLVM.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/src/LLVM.hs -------------------------------------------------------------------------------- /src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/src/Main.hs -------------------------------------------------------------------------------- /src/MyPrelude.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/src/MyPrelude.hs -------------------------------------------------------------------------------- /src/Name.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/src/Name.hs -------------------------------------------------------------------------------- /src/Pretty.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/src/Pretty.hs -------------------------------------------------------------------------------- /src/Token.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/src/Token.hs -------------------------------------------------------------------------------- /src/Type.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/src/Type.hs -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/glaebhoerl/simplecompiler/HEAD/stack.yaml --------------------------------------------------------------------------------