antlr3 - ANTLR - StringTemplate - CamelCase -



antlr3 - ANTLR - StringTemplate - CamelCase -

what best pattern (language independent, retargetable generation code) translate antlr token camel case stringtemplate attribute in tree conversion? example: dsl has my_field definition , in stringtemplate output need myfield.

in parser set text of token, , should flow through stringtemplate. grammar fragment should work:

my=my_field { $my.settext("myfield"); }

antlr antlr3 stringtemplate antlr4 stringtemplate-4

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -