Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

dannypsnl/little-scheme

Repository files navigation

Little Scheme

A little scheme implementation

Installation

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

Using

little-scheme supports two ways to evalute scheme program right now.

  • little-scheme examples/hello.scm would evalute examples/hello.scm.
  • little-scheme would create a REPL.

Contributing

  1. Install direnv
  2. (If Zsh) Edit your ~/.zshrc and add following code at the end
    eval "$(direnv hook zsh)"
  3. (Not Zsh) https://github.com/direnv/direnv/blob/master/docs/hook.md
  4. cabal build and others commands are working now.
Reference

About

A little scheme for playing SICP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published