https://github.com/rvcas/crisp
A Minimal Lispy Calculator
https://github.com/rvcas/crisp
calculator lisp zig
Last synced: 1 day ago
JSON representation
A Minimal Lispy Calculator
- Host: GitHub
- URL: https://github.com/rvcas/crisp
- Owner: rvcas
- License: mit
- Created: 2017-09-22T14:47:19.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T22:57:24.000Z (over 1 year ago)
- Last Synced: 2025-04-24T00:04:45.181Z (1 day ago)
- Topics: calculator, lisp, zig
- Language: Zig
- Homepage:
- Size: 44.9 KB
- Stars: 26
- Watchers: 0
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zig - crisp🗒️A Minimal Lispy Calculator
README
# Crisp
A very minimal lispy calculator implemented in [zig](https://ziglang.org)

## Operations
- `+` add a sequence of numbers
- `(+ 1 2 3)`
- `-` subtract a sequence of numbers
- `(- 3 2)`
- `*` multiply a sequence of numbers
- `(* 3 5 2)`
- `/` divide a sequence of numbers
- `(/ 12 4)`
- decimals are not supported. meaning: `(/ 2 4) => 0`
- everything is floored
- divide by zero results in an error