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
  • 19,113
  • 27
  • 81
  • 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
  • 562,542
  • 136
  • 1,062
  • 1,124
0

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

Henry
  • 1,459
  • 2
  • 11
  • 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
  • 34,472
  • 31
  • 113
  • 192
0

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

John Smithers
  • 1,519
  • 12
  • 18