|Command completion firstname.lastname@example.org (Ravindra Sunkad) (2000-04-30)|
|Re: Command completion email@example.com (James Deen) (2000-05-08)|
|From:||Ravindra Sunkad <firstname.lastname@example.org>|
|Date:||30 Apr 2000 00:17:55 -0400|
|Keywords:||parse, question, comment|
I am trying to provide command line completion for a (interpreter)
language whose parser is LEX/YACC based. Does anyone have any ideas
what would be the best way to do this?
In yyparse() can some hooks be added to gather all possible terminals
that can be typed for a given state of the stack?
Thanks in advance,
[Yes, people have done this for error recovery. -John]
Return to the
Search the comp.compilers archives again.