javascript - Programmatic interface to Rhino compiler? -



javascript - Programmatic interface to Rhino compiler? -

i've found rhino js compiler documentation, says how compile js -> jvm, documented interface i've found command-line tool. also, seems built "script (list of commands)" -> "runnable main() method" utilize case, , not (for example) subclassing specific java class.

is there easy way utilize rhino code generator generate .class file class define? specifically, i'm trying implement interface utilize java library turn around , utilize inspection on it, normal interpreter mechanism of implementing interface in rhino won't work here.

i not familiar these specifics of rhino, java documentation on javax.script has straightforward section titled implementing java interfaces. perhaps helpful.

javascript jvm bytecode rhino

Comments

Popular posts from this blog

c# - Move local mssql database to webhosted MYSQL -

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -