aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 31305408fe67e4797b0e7b635b02a0af8d612331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# lispish

A simple LISP-like programming language made to learn a few things. The
language was based on a tutorial [1].

For now this is useful only to do basic arithmetic. :-)

Features:

- basic arithmetic works
- closures
- builtin symbols: atom, eq, define, if, lambda, quote, mod, +, -, /,
  *, >
- types: integer, string, symbol, list
- REPL uses linenoise for history and line-editing
- embedded tests

To build the interpreter:

    make repl

To build the tests:

    make test

To build both of them together:

    make all

[1] https://github.com/kvalle/diy-lisp