JavaFX shader language JSL or writing an editor for a language you don’t know


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.

2 Responses to JavaFX shader language JSL or writing an editor for a language you don’t know

  1. Pingback: JavaFX links of the week, November 12 // JavaFX News, Demos and Insight // FX Experience

  2. Pingback: Java desktop links of the week, November 12 | Jonathan Giles

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.