Skip to content

andrescollares/kaleidoscope

Repository files navigation

LLVM+Haskell Kaleidoscope project

Andrés Collares & Agustín Gazzano

Requirements for working on the project

Linting and Formatting

llvm-hs

TODO: Check if building llvm-hs-15 from source is better than using stack or cabal, it could also open the possibility to make changes and bugfixes using a fork.

Docker

docker compose build
docker compose up -d
docker compose run project bash
cabal run

Available options

cabal run kaleidoscope-fing -- --help

Running code samples

cabal run kaleidoscope-fing -- --file "./test/programs/recursive_fib.k"

Test suite

cabal test
or to show progress:
cabal test tests --test-show-detail=streaming

Running ghci through Cabal

cabal exec ghci
or
cabal repl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published