DEV Community

Discussion on: Write DSLs and Code Faster

Collapse
 
remojansen profile image
Remo H. Jansen

If you are considering writing your own DSL from scratch, Xtext is a good option.

With Xtext you define your language using a powerful grammar language. As a result you get a full infrastructure, including parser, linker, typechecker, compiler as well as editing support for Eclipse, any editor that supports the Language Server Protocol and your favorite web browser.

More info at eclipse.org/Xtext/

However, I do prefer the fluent approach in most cases.

Collapse
 
barryosull profile image
Barry O Sullivan

Wow, that is very cool. The editing support looks amazing. I will definitely look into that.