JavaFX shader language JSL or writing an editor for a language you don’t know (original) (raw)

This is just a very short post on how cool I think Xtext is so to implement an editor for a DSL. The JavaFX team released this week a DSL to author shaders for OpenGL and DirectX named JSL (announcement post).

Yesterday I had to break out of standard work for a minute (infact it was about an hour) and took their antlr-grammer and translated it to Xtext (more or less a c&p task) and horray!

The grammer needs some refinements (look at the enormous outline!) but that’s something to look into later on.

This entry was posted in e(fx)clipse. Bookmark the permalink.