[antlr-interest] Noob question on code assist and other helpers

David Wynter david_wynter at yahoo.com
Mon Aug 22 05:13:21 PDT 2011


New to ANTLR. Can someone point me to a resource that explains how I might achieve the following. My grammar is based on this google query language, http://code.google.com/apis/base/docs/2.0/query-lang-spec.html

The differences are that I have defined set of codes that go on the left hand side of the matching parts of the expressions, I'd like to have content assist on these keywords. The keywords correlate to table.columns in a relational database. Thus they have a data type associated with each keyword. Therefore it should be possible to do a check on the value entered on the right hand side of any matching expression. Is there guidance anywhere on how to achieve these features in the produced parser? I want to implement in Javascript.

Thanks in advance.


More information about the antlr-interest mailing list