On 2012-08-11 14:59, Jay Liu wrote:
> does xtext support it ? and is there any sample code ?
> this kind of grammars is quite common , like python, haml, yaml.
Short answer: no
Search this forum for earlier responses on this topic as people have
been positing suggestions on how to do this - not sure if there are any
successful implementations available anywhere to look at though.