Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell
1–10 of 30 posts
Re: Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell
#2Re: Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell
#3I pine for a Lisp with the embeddable ease of Lua.
Re: Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell
#4Re: Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell
#5 > wisp lives in the ST (optionally IO) monad. separate
> interpreters with completely segregated environments can be
> run concurrently. wisp has a few IO facilities, but they're
> completely sandboxed and can't accidentally affect the host
> program or environment.
This is wonderful. There's already an embedded R5RS Scheme for Haskell (http://hackage.haskell.org/package/husk-scheme) but it runs everything in the IO monad. That makes it fairly annoying for sandboxed embeddings.Re: Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell
#6I pine for a Lisp with the embeddable ease of Lua.
The main problem is that it doesn't have a ternary operator, making conditional expression problematic to represent (you have to wrap an if statement in a lambda called on the fly).
For something more fully featured, see [0], it is written in MoonScript (which itself compiles to Lua), and the parser depends on LPeg, but writing a S-expression parser is rather easy.
Edit: There's also lcl [1], which is implemented in C. Written by lhf, one of the Lua authors. From the test files, it looks very basic.
--
[0] https://github.com/leafo/moonlisp/tree/master/lisp
[1] http://www.drdobbs.com/open-source/lua-an-extensible-embedde...
Re: Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell
#7Re: Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell
#8Re: Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell
#9I pine for a Lisp with the embeddable ease of Lua.
Re: Wisp: Small-but-featureful embeddable Lisp interpreter written in Haskell
#10Not to be confused with Wisp: Homoiconic JS with clojure syntax, s-expressions and macros: https://github.com/Gozala/wisp