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

David Wynter david_wynter at yahoo.com
Tue Aug 23 02:51:13 PDT 2011


Hi,

Let me rephrase this. Does the book by Terence Parr cover these subjects? I'll buy it if it does.

Thx.

David


________________________________
From: David Wynter <david_wynter at yahoo.com>
To: "antlr-interest at antlr.org" <antlr-interest at antlr.org>
Sent: Monday, 22 August 2011, 13:13
Subject: [antlr-interest] Noob question on code assist and other helpers

Hi,

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.

David  

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address


More information about the antlr-interest mailing list