Readme for husk-scheme-1.3

husk is a dialect of Scheme written in Haskell that implements a subset of the R5RS standard. Husk is not intended to be a highly optimized version of Scheme. Rather, the goal of the project is to provide a tight integration between Haskell and Scheme while at the same time providing a great opportunity for deeper understanding of both languages. In addition, by closely following the R5RS standard the intent is to develop a Scheme that is as compatible as possible with other R5RS Schemes.

Scheme is one of two main dialects of Lisp. Scheme follows a minimalist design philosophy: the core language consists of a small number of fundamental forms, which may be used to implement the other built-in forms. Scheme is an excellent language for writing small, elegant programs, and may also be used to write scripts or embed scripting functionality within a larger application.

Feature List

husk includes the following features:

husk scheme is available under the MIT license.

Installation

husk may be easily installed using cabal - just run the following command:

cabal install husk-scheme

Usage

The interpreter may be invoked by running it directly from the command line:

./huski

Alternatively, you may run an individual scheme program:

./huski my-scheme-file.scm

A Haskell API is also provided to allow you to embed a Scheme interpreter within a Haskell program. The key API modules are:

For more information, run make doc to generate API documentation from the source code. Also, see shell.hs for a quick example of how you might get started.

Development

The following packages are required to build husk scheme:

The 'scm-unit-tests' directory contains unit tests for much of the scheme code. Tests may be executed via 'make test'

The examples directory contains example scheme programs.

Credits

husk scheme is developed by Justin Ethier.

The interpreter is based on the code from the book Write Yourself a Scheme in 48 Hours written by Jonathan Tang and hosted / maintained by Wikibooks.

If you would like to request changes, report bug fixes, or contact me, visit the project web site at GitHub.