Javascript is going to be excised from Java soon. If I have to bundle something to evaluate the GC expression anyway, there are far less bulky options. https://stackoverflow.com/questions/3422673/ seems like a good start.
[2020-11-21 Sat] Nashorn is gone as of JDK 15. See https://stackoverflow.com/questions/62259515/ for some alternatives; apparently I could use GraalVM's JS engine for Javascript without graalifying the whole of PuffinPlot. Also Rhino's still alive.
Dropping Javascript entirely and using an expression evaluator (and keeping Jython) seems sensible. I've never heard of anyone actually using Javascript in PuffinPlot.
Javascript is going to be excised from Java soon. If I have to bundle something to evaluate the GC expression anyway, there are far less bulky options. https://stackoverflow.com/questions/3422673/ seems like a good start.
[2020-11-21 Sat] Nashorn is gone as of JDK 15. See https://stackoverflow.com/questions/62259515/ for some alternatives; apparently I could use GraalVM's JS engine for Javascript without graalifying the whole of PuffinPlot. Also Rhino's still alive.
Dropping Javascript entirely and using an expression evaluator (and keeping Jython) seems sensible. I've never heard of anyone actually using Javascript in PuffinPlot.
Possible candidates: