Merge branch 'main' of ssh://git.fai.su:1500/Suguivy/cherry-lisp
This commit is contained in:
commit
d74730afde
12
README.md
12
README.md
|
@ -1,6 +1,6 @@
|
||||||
# Cherry Lisp
|
# Cherry Lisp
|
||||||
|
|
||||||
```
|
```text
|
||||||
/\
|
/\
|
||||||
| \ A tiny, curried and lazy Lisp.
|
| \ A tiny, curried and lazy Lisp.
|
||||||
@ @
|
@ @
|
||||||
|
@ -40,8 +40,6 @@ cherry> (const 3 6)
|
||||||
3
|
3
|
||||||
cherry> (set! always-seven (const 7))
|
cherry> (set! always-seven (const 7))
|
||||||
nil
|
nil
|
||||||
cherry> always-seven
|
|
||||||
#[lambda y x]
|
|
||||||
cherry> (always-seven 1)
|
cherry> (always-seven 1)
|
||||||
7
|
7
|
||||||
cherry> (always-seven 8)
|
cherry> (always-seven 8)
|
||||||
|
@ -52,20 +50,20 @@ cherry> (always-seven 8)
|
||||||
|
|
||||||
Install the *stack* build tool. On *Debian* based systems, run (as root):
|
Install the *stack* build tool. On *Debian* based systems, run (as root):
|
||||||
|
|
||||||
```
|
```text
|
||||||
# apt install haskell-stack
|
# apt install haskell-stack
|
||||||
```
|
```
|
||||||
|
|
||||||
Clone the repo:
|
Clone the repo:
|
||||||
|
|
||||||
```
|
```text
|
||||||
$ git clone https://git.fai.su/Suguivy/cherry-lisp
|
$ git clone https://git.fai.su/Suguivy/cherry-lisp
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Compile it:
|
Compile it:
|
||||||
|
|
||||||
```
|
```text
|
||||||
$ cd cherry-lisp
|
$ cd cherry-lisp
|
||||||
$ stack upgrade
|
$ stack upgrade
|
||||||
$ stack build
|
$ stack build
|
||||||
|
@ -73,7 +71,7 @@ $ stack build
|
||||||
|
|
||||||
Install and execute it:
|
Install and execute it:
|
||||||
|
|
||||||
```
|
```text
|
||||||
$ stack install
|
$ stack install
|
||||||
$ cherry
|
$ cherry
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue