https://github.com/dxrcy/lispcalc-zig
Simple Lisp-like Calculator in Zig
https://github.com/dxrcy/lispcalc-zig
Last synced: 3 months ago
JSON representation
Simple Lisp-like Calculator in Zig
- Host: GitHub
- URL: https://github.com/dxrcy/lispcalc-zig
- Owner: dxrcy
- License: gpl-3.0
- Created: 2024-02-12T22:21:30.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-18T04:30:08.000Z (8 months ago)
- Last Synced: 2025-03-15T08:37:16.897Z (3 months ago)
- Language: Zig
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lispcalc-Zig
Simple Lisp-like Calculator in Zig.
Every branch is lazy evaluated.```sh
# Evaluate file
lispcalc example # Returns `1215`
cat example | lispcalc # (Equivalent)# Evaluate standard input
echo '+ 2 3' | lispcalc # Returns `5`
lispcalc # Waits for user input
```