Lisp interpreter
Those who use this package use the following classes.
com.sun.script.lisp.LispInterpreter
com.sun.script.LispException
com.sun.script.lisp.MetaException
Others can be built by using *Exception
for exception handling
Application-specific exceptions can be nested and thrown with vavi.apps.lisp.MetaException
.
Install
https://jitpack.io/#umjammer/vavi-script-lisp
Usage
ScriptEngineManager manager = new ScriptEngineManager();
ScriptEngine engine = manager.getEngineByName("lisp");
engine.eval("(+ 1 2)");
References
License
-
com.sun.script.lisp
TODO
- apply BSF
apply JSR 223- uncommon lisp JSR 223
AppleScript → vavi-script-apple
applescriptengine by rococoa for jdk6<apple script by jna (prevent deprecation after jdk8)