https://github.com/zfletch/lisp-c
Lispy calculator
https://github.com/zfletch/lisp-c
Last synced: about 1 year ago
JSON representation
Lispy calculator
- Host: GitHub
- URL: https://github.com/zfletch/lisp-c
- Owner: zfletch
- License: mit
- Created: 2015-01-08T05:13:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-18T01:57:14.000Z (over 10 years ago)
- Last Synced: 2025-02-16T20:20:57.669Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 195 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lispy Calc
Lisp-like calculator. It currently supports addition and subtraction.
## Usage
```bash
$ ./calc '(+ 1 1)'
2
$ ./calc '(+ (+ 1 2) (- (+ 1 1) 10))'
-5
```
## Compiling
```bash
./compile.sh
```