-
Notifications
You must be signed in to change notification settings - Fork 8
Home
Golisp is a simple dialect of Lisp implemented in Go. It is quite straightforwardly embedded in other Go applications.
What should first be noted is that this is still very much alpha quality software, and in no way constitutes anything resembling a polished product.
(display "Hello, world!\n")
- Download Golisp. The “download source” button, above, could be used.
- Download Gobuild, compile it, and place the resulting binary in your
$PATH
. - Download bwl, run
gobuild -lib
, then place links toerrors.a
,lexer.a
andpeg.a
in the root of the Golisp distribution. - Open a terminal in the distribution’s root and run
gobuild
. This will produce a program,gli
, that exposes a REPL to a terminal.
Golisp is a pretty minimal dialect of the Lisp programming language. It has a small semantic core, upon which the rest of the system resides. Golisp supports tail call elimination and is lexically scoped. Those familiar with Scheme should grok Golisp fairly easily, as it’s basically Scheme without its more esoteric features (e.g. multiple return values, continuations).
See:
By creating Scope objects and attaching hooks into them, Golisp may be extended to script other applications.
See: