repositorypackage
0.0.0-20240710042408-588e52afca65
Repository: https://github.com/raff/gisp.git
Documentation: pkg.go.dev
# README
gisp
My attempt to write a minimal Lisp interpreter (in Go)
Supported types
- boolean (true, nil)
- integer 64 bits
- float 64 bits
- string
- symbol
Supported primitives
-
+, -, *, /, % : arithmetic operators
-
=, <, <=, >, >= : conditionals
-
quote
-
setq
-
let
-
not, or, and
-
if
-
while
-
begin
-
lambda
-
eval
-
list, first, last, nth, rest, find, append
-
print, println, format, readlines, sleep, rand
Examples
- cmd/gisp : a REPL for gisp (can run single expressions, programs from file or expressions interactively)
- cmd/turtle : a REPL for gisp with turtle abilities (it shows how to add new types and primitives to gisp)