-
Notifications
You must be signed in to change notification settings - Fork 71
Description
I took a second go at trying to create a nesh plugin for wisp (finally read the vm apidocs a bit better) and got around the exports undefined problem by declaring the global in that context. One can now use (def x 1)<RET> in nesh and then press x<RET> and it'll display 1.
I also tried out some macro's with syntax-quote/unquote and it works like a charm. In case anyone is interested, you can find it here:
https://gist.github.com/robjens/65d5639859cfe4fd331d
I might take a stab at perhaps writing it in wisp, but lacking a bit of time currently. It could make a nice replacement for the less-then-optimal working wisp REPL currently embedded.
Auto-completion etc all works nicely too.
Edit: one could also clone my fork, I mentioned the extension in the wisp topics as well but I'm not sure if it is going to be included and/or how long it will take. https://github.com/robjens/nesh