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.

2 thoughts on “JavaFX shader language JSL or writing an editor for a language you don’t know

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