OK.
My project enables you to use
Java language as a script language.
You can write Java in a file without minimum unnecessary declaration. Like this
test.ss file:
There is no need to compile, you can run it using:
Well, you can put above code into a run bash like this
ss file:
Put
ss in the right path and you can simple run your script using:
Behind you, the script code is transform to a full flesh Java class with a random name. The transformation is done in the way that the line numbers are preserved so you can use the line number information for debugging.
After the transformation, the generated class is compiled in memory. The compiled byte-code is, then, appended after the script code in text form (BASE64) together with its hash. This is done so that the byte code can be reused right away if nothing is changed in the code.
You can use this to for a quick experiment code, test cases that also act like examples or smart configurations.
Hope this is descriptive enough.