SourceBuddy is a Java library that compiles and loads dynamically generated Java source code. This has the advantage of providing Java with an eval facility such as those found in interpreted languages.
Languages like Perl and Javascript have eval for evaluating code at runtime that gets passed into the function as a plain string. For instance :
full article on i-programmer:
https://www.i-programmer.info/news/80-java/16032-sourcebuddy-brings-eval-to-java.html
Comments