dxrcy / lispcalc-zig

Simple Lisp-like Calculator in Zig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lispcalc-Zig

Simple Lisp-like Calculator in Zig. Every branch is lazy evaluated.

# Evaluate file
lispcalc example # Returns `1215`
cat example | lispcalc # (Equivalent)

# Evaluate standard input
echo '+ 2 3' | lispcalc # Returns `5`
lispcalc # Waits for user input

About

Simple Lisp-like Calculator in Zig

License:GNU General Public License v3.0


Languages

Language:Zig 100.0%