geohot / haskell-scheme

Writing Scheme in Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Background

This project aims to write a Scheme using Haskell. It follows the Write Yourself a Scheme in 48 Hours Tutorial.

Related Twitch Streams

Part 1 Part 1.5 Part 2

What is a Scheme?

A Scheme is a statically scoped and properly tail-recursive dialect of the Lisp programming language.
You can read more about it here or on Wikipedia.

Getting Started

To run the project you should install ghc or ghci, the interactive haskell environment. You can download it from the haskell website: https://www.haskell.org/downloads/.

After installation you can either run the file run.sh or edit and recompile the main.hs file through ghci.

To run examples you can follow the book Structure and Interpretation of Computer Programs.
This project should currently be up to 1.1.7 in Chapter 1.

Tests are defined in the spec.hs file. Feel free to add more!

Next Steps

Name Status
Add float support 👷 TODO
Add "cond" support 👷 TODO

About

Writing Scheme in Haskell


Languages

Language:Haskell 99.6%Language:Shell 0.4%