Question

I really can't find good examples for implementing own scripting language using javax.script ...

I need just something to start.

  • Documentations
  • Examples
  • Tutorials
  • Videos
  • Presentations slides (PDF)

Note 1: I'm really not talking about javascript ;)
Note 2: I don't need examples, how to use existing implementations, I want to implement an own language.

Thank you.

Was it helpful?

Solution

What about the scripting.dev.java.net project, it includes many Script Engines (and their sources).

OTHER TIPS

No better place to start than reading the spec (there's a separate spec document for script engine implementers): JSR 223

Sorry, not really a direct answer: but rather than trying to use the javax.script package, try to implement first your language. Javacc or ANTLR are a good start.

Have a look at the Java Scripting Programmer's Guide.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top