Skip to content

Compiler of the Instant 'language' to JVM and LLVM written in Haskell as a university assignment

License

Notifications You must be signed in to change notification settings

Joald/instant-compiler

Repository files navigation

instant-compiler

Compilation and dependencies

The compiler is built using stack. Except for BNFC and hidden standard packages listed in package.yaml, it doesn't use any other tools or libraries.

Directory structure

  • app/Main.hs: BNFC-generated Main module with very minor tweaks.
  • src/Abs.hs: Definitions of custom types, their instances and small utility functions.
  • src/JVM.hs, src/LLVM.hs: Compilation modules.
  • src/Processor.hs: Source validation.

About

Compiler of the Instant 'language' to JVM and LLVM written in Haskell as a university assignment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published