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

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -