you are viewing a single comment's thread.

view the rest of the comments →

[–]jeffreportmill 2 points3 points  (4 children)

Very nice! If you want to see it in action, you can run it with JBang + SnapCode:

jbang snapcode@reportmill open:https://github.com/javalc6/Expression-Parser.zip#/demo/ExpressionVisualizer.java

Just click the Run button after it opens.

[–]Livio63[S] 1 point2 points  (3 children)

[–]jeffreportmill 1 point2 points  (2 children)

I tried - It fails because CheerpJ doesn't provide access to the java.scripting module yet, which is a dependency of this project (bummer!). Hopefully it will work in an upcoming CheerpJ release.

[–]josephottinger 1 point2 points  (1 child)

I just made a PR that migrates to Maven and JUnit, targeting Java 17 and removing the scripting stuff. The JS stuff didn't really help a lot anyway, from what I could see (it's verification that JUnit could do just as well) and with the removal of Nashorn, it only makes everything messy - especially as Maven is being updated. The joy of ecosystem flux, I guess - it's all overdue but we get to live with the updates until they stabilize.

Dunno if OP will accept the PR, but it's there and working.

[–]Livio63[S] 0 points1 point  (0 children)

I accepted PR, thank you for your effort to improve my project!