topherg
topherg

Reputation: 4293

Java Scripting Interpreter

I am thinking about building a project, that in the name of custom expanding (time of execution doesn't really mean too much) and will control arrays of custom objects within the program providing all/most the object data for modification by the script.

Now I was wondering if there was any library for java that would allow for perhaps a javascript style of scripting that would do that, or would it perhaps be easier to write a simple line-by-line interpretation without too much internal processing (object data and simple function calls).

Thanks

Upvotes: 2

Views: 444

Answers (1)

Andrew White
Andrew White

Reputation: 53496

Do you mean something like Rhino? Per the link...

Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users.

Upvotes: 3

Related Questions