Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/novara754/licp
Dumb "Lisp" written in C.
https://github.com/novara754/licp
Last synced: 30 days ago
JSON representation
Dumb "Lisp" written in C.
- Host: GitHub
- URL: https://github.com/novara754/licp
- Owner: novara754
- License: mit
- Created: 2020-07-25T21:17:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-25T21:23:45.000Z (over 4 years ago)
- Last Synced: 2024-10-14T22:14:27.319Z (2 months ago)
- Language: C
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Licp
A basic Lisp implemented in C.
Run `make` to compile the project and then run the resulting `licp` executable
to start a REPL which can evaluate some basic arithmetic:It supports the functions `+` and `-` which both accept up to 5 arguments.
```
$ make && ./licp
> (+ 1 2 3)
6
> (- 5 2)
3
> (+ 1 2 (- 10 3))
10
> asd
invalid input
> 123
123
```Press `Ctrl+D` or `Ctrl+C` to exit.
## License
Licensed under the [MIT License](./LICENSE).