A project to create a R5RS compiler in Haskell. Ultimately want to target LLVM on the backend
- Install stack
- On mac, you can use homebrew:
brew install haskell-stack
- On mac, you can use homebrew:
- Otherwise follow instructions here: http://docs.haskellstack.org/en/stable/README/
-
Checkout this project and run
stack setup
followed bystack build
in top-level directory. -
If all goes well, you're ready to go. Currently the app works takes scheme source code from STDIN.
Try this command:echo "(+ 2 2)" | stack exec scheme-compiler-exe