Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - jcla1/gisp: Simple LISP in Go

Simple LISP in Go. Contribute to jcla1/gisp development by creating an account on GitHub.

Visit SiteGitHub - jcla1/gisp: Simple LISP in Go

GitHub - jcla1/gisp: Simple LISP in Go

Simple LISP in Go. Contribute to jcla1/gisp development by creating an account on GitHub.

Powered by 0x5a.live ๐Ÿ’—

gisp

Simple (non standard) compiler of Lisp/Scheme to Go.

Includes

  • Lexer based on Rob Pike's Lexical Scanning in Go
  • Simple recursive parser, supporting ints, floats, strings, bools
  • TCO via loop/recur
  • AST generating REPL included

Build and Run

> go build && ./gisp
>>

From here you can type in forms and you'll get the Go AST back. To compile a file:

> ./gisp filename.gsp

Functions

+, -, *, mod, let, if, ns, def, fn, all pre-existing Go functions

See examples for some Project Euler solutions

License

MIT

GoLang Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.