Which language (that runs on JVM) is best suited for creating a DSL?
问题 We have a requirement to create complex fixed length and variable length Strings. These strings might represent a customer profile, an order etc. Which JVM based programming language do you guys suggest? Idea is for a end user to create the strings using this DSL. So I am looking for validation, code completion etc. 回答1: With Xtext (http://www.eclipse.org/Xtext/) you get a nice editor for free when specifying your DSL. 回答2: Groovy http://docs.codehaus.org/display/GROOVY/Writing+Domain