Skip to content

Repository files navigation

Using this project

  1. Install GHCup: https://www.haskell.org/ghcup/install/
  2. Run the REPL: cabal repl
  3. Run the parser: runParser "<path_to_spl_file>"
  4. Run the type checker: runTypeChecker "<path_to_spl_file>"
  5. Run the compiler: runCompiler "<path_to_spl_file>"

Some SPL files that show off the capabilities of the parser and type checker are listed in test/

Alternatively, you can also download the binary from the CI artifacts, and run it with a file path as an argument. There is also a shell file compile, that takes a file name (without file extension) as an argument, runs the compiler on that file, and then runs clang on the generated LLVM file.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages