xtext.15minTutorial http://www.eclipse.org/Xtext/documentation/102_domainmodelwalkthrough.html see also: xtext.15minTutorial.project which is the demo project using this DSL