1) The document discusses common challenges faced when developing grammars for Drools and Hibernate, two important Java projects that use domain-specific languages.
2) It addresses how to handle soft keywords, internationalize error messages, implement semantic predicates, and add syntax highlighting and autocomplete to editors for grammars generated by ANTLR.
3) The presentation seeks input from attendees on how to adapt grammars to existing structures, split parse trees, and avoid tight coupling between lexers, parsers and tree walkers.
29. ANTLR Conference 2009
chalange: try to adapt to an existing structure
what we’d love to have:
- implement interface @ parsers & walkers
- token types declared outside generated
code (why not an interface?) -> avoid
code coupling with lexers, parsers or
treewalkers