An open API service indexing awesome lists of open source software.

https://github.com/dwayne/hs-monkey-interpreter

An interpreter for the Monkey programming language written in Haskell.
https://github.com/dwayne/hs-monkey-interpreter

haskell interpreter monkey

Last synced: 8 months ago
JSON representation

An interpreter for the Monkey programming language written in Haskell.

Awesome Lists containing this project

README

          

# hs-monkey-interpreter

An interpreter for the [Monkey programming language](https://monkeylang.org/)
written in Haskell.

![The official monkey logo](assets/images/monkey-logo.png)

## Usage

### Start the REPL

```
stack run
```

### Run the tests

All tests

```
stack test
```

A specific test

```
stack test --ta '-m '
```

For e.g. test the lexer or parser

```
stack test --ta '-m lexer'
stack test --ta '-m parser'
```