Command completion

Ravindra Sunkad <rsunkad@fore.com>
30 Apr 2000 00:17:55 -0400

          From comp.compilers

Related articles
Command completion rsunkad@fore.com (Ravindra Sunkad) (2000-04-30)
Re: Command completion james_deen@bmc.com (James Deen) (2000-05-08)
| List of all articles for this month |
From: Ravindra Sunkad <rsunkad@fore.com>
Newsgroups: comp.compilers
Date: 30 Apr 2000 00:17:55 -0400
Organization: Marconi
Keywords: parse, question, comment

Hi,


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,
Ravindra
[Yes, people have done this for error recovery. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.