A little scheme implementation
To install the interpreter you can:
git clone https://github.com/dannypsnl/little-scheme.git
cd little-scheme
runhaskell Setup.hs configure --ghc
runhaskell Setup.hs build
runhaskell Setup.hs install
To complete remove all stuffs from Little Scheme you can:
little-scheme cleanup
little-scheme
supports two ways to evalute scheme program right now.
little-scheme examples/hello.scm
would evaluteexamples/hello.scm
.little-scheme
would create a REPL.
- Install direnv
- (If Zsh) Edit your
~/.zshrc
and add following code at the endeval "$(direnv hook zsh)"
- (Not Zsh) https://github.com/direnv/direnv/blob/master/docs/hook.md
cabal build
and others commands are working now.