[antlr-interest] Parsing Incomplete expressions

Tarun Khanna tarunkhanna at gmail.com
Tue Jul 5 08:34:48 PDT 2005


I am trying to write a parser to parse incomplete expressions. This is 
required to provide auto-complete features. For example: 

Class abc
{
int a;
int b;
}obj;

Now if the user types

obj.

The front-end shoud be able to provide completions in the form of class 
members of abc. However for this to happen, it should be able to parse the 
expresssion to the left of the dot (which can be an incomplete expression). 
Is there any past work that has been done similar to this one using ANTLR, 
or if there is any literature on this? Any help would be greatly 
appreciated.

Thanks
Tarun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20050705/40a85615/attachment.html


More information about the antlr-interest mailing list