Merge branch 'main' of ssh://git.fai.su:1500/Suguivy/cherry-lisp

This commit is contained in:
Ivy 2021-02-03 00:59:28 +01:00
commit d74730afde
1 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Cherry Lisp
```
```text
/\
| \ A tiny, curried and lazy Lisp.
@ @
@ -40,8 +40,6 @@ cherry> (const 3 6)
3
cherry> (set! always-seven (const 7))
nil
cherry> always-seven
#[lambda y x]
cherry> (always-seven 1)
7
cherry> (always-seven 8)
@ -52,20 +50,20 @@ cherry> (always-seven 8)
Install the *stack* build tool. On *Debian* based systems, run (as root):
```
```text
# apt install haskell-stack
```
Clone the repo:
```
```text
$ git clone https://git.fai.su/Suguivy/cherry-lisp
```
Compile it:
```
```text
$ cd cherry-lisp
$ stack upgrade
$ stack build
@ -73,7 +71,7 @@ $ stack build
Install and execute it:
```
```text
$ stack install
$ cherry
```