Awesome Go

gisp

CategoryEmbeddable Scripting Languages
SubcategoryEmbeddable Scripting Languages
Stars0

Simple LISP in Go

About gisp

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

Frequently Asked Questions

What is gisp?

gisp is a Embeddable Scripting Languages library for the Go programming language. Simple LISP in Go

How do I install gisp?

Install gisp with the Go module system using `go get jcla1/gisp`. Check the repository for the current installation instructions.

What category does gisp belong to?

gisp is listed under Embeddable Scripting Languages, specifically Embeddable Scripting Languages.

← Back to Embeddable Scripting Languages