5

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.

ivan_ivanovich_ivanoff
  • 18,003
  • 24
  • 78
  • 100
  • This was a while ago now. Would you mind posting a quickish summary of what you found and did ? Thanks ! – Nicholas Aug 10 '12 at 14:47

4 Answers4

2

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

Pascal Thivent
  • 535,937
  • 127
  • 1,027
  • 1,106
0

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

Henry
  • 1,389
  • 1
  • 10
  • 17
0

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.

Pierre
  • 31,741
  • 29
  • 101
  • 180
0

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

John Smithers
  • 1,529
  • 12
  • 18