Command completion

Ravindra Sunkad <>
30 Apr 2000 00:17:55 -0400

          From comp.compilers

Related articles
Command completion (Ravindra Sunkad) (2000-04-30)
Re: Command completion (James Deen) (2000-05-08)
| List of all articles for this month |

From: Ravindra Sunkad <>
Newsgroups: comp.compilers
Date: 30 Apr 2000 00:17:55 -0400
Organization: Marconi
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]

Post a followup to this message

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