Popularity
6.6
Growing
Activity
0.0
Stable
436
19
34

Programming language: Go

gisp alternatives and similar packages

Based on the "Embeddable Scripting Languages" category

Do you think we are missing an alternative of gisp or a related project?

Add another 'Embeddable Scripting Languages' Package

README

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](examples) for some Project Euler solutions

License

MIT


*Note that all licence references and agreements mentioned in the gisp README section above are relevant to that project's source code only.