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.

About these ads

Trackbacks/Pingbacks

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

    […] Schindl posted about how to implement an editor using Xtext and JavaFX shader […]

  2. Java desktop links of the week, November 12 | Jonathan Giles - November 12, 2012

    […] Schindl posted about how to implement an editor using Xtext and JavaFX shader […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 739 other followers

%d bloggers like this: