Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wildlyinaccurate/lishp
A tiny Lisp written in Haskell.
https://github.com/wildlyinaccurate/lishp
haskell interpreter lisp
Last synced: 5 days ago
JSON representation
A tiny Lisp written in Haskell.
- Host: GitHub
- URL: https://github.com/wildlyinaccurate/lishp
- Owner: wildlyinaccurate
- License: mit
- Created: 2015-03-15T19:34:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-28T08:13:58.000Z (over 9 years ago)
- Last Synced: 2023-03-12T01:47:45.574Z (over 1 year ago)
- Topics: haskell, interpreter, lisp
- Language: Haskell
- Size: 316 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lishp
[![Build Status](https://travis-ci.org/wildlyinaccurate/lishp.svg?branch=master)](https://travis-ci.org/wildlyinaccurate/lishp)
A tiny Lisp interpreter written in Haskell.
## Installation
```
git clone https://github.com/wildlyinaccurate/lishp.git
cd lishp
cabal install
make
```## Usage
Lishp can be run as a REPL
```
$ ./bin/lishp
lishp=> (/ 8 (+ 1 1))
4
```Or it can take programs directly
```
$ ./bin/lishp '(/ 8 (+ 1 1))'
4
```## Tests
Tests are currently written with [roundup(1)](http://bmizerany.github.io/roundup/). Run the suite with `make test`.
## Why?
Because after playing around with Haskell for some time, I wanted to write a "real" program. I'm a big fan of Lisps, and was inspired by projects like [Make a Lisp](https://github.com/kanaka/mal), [Write Yourself a Scheme in 48 Hours](http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours), and [wisp](https://github.com/walpurgisriot/wisp).