Need help with gisp?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

jcla1
441 Stars 33 Forks MIT License 68 Commits 2 Opened issues

Description

Simple LISP in Go

Services available

!
?

Need anything else?

Contributors list

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.