partial parsing

"Sonali Chitnis" <>
26 Apr 2001 21:11:57 -0400

          From comp.compilers

Related articles
partial parsing (Sonali Chitnis) (2001-04-26)
Re: partial parsing (2001-04-30)
Re: partial parsing (2001-05-03)
| List of all articles for this month |

From: "Sonali Chitnis" <>
Newsgroups: comp.compilers
Date: 26 Apr 2001 21:11:57 -0400
Organization: Compilers Central
Keywords: parse, question
Posted-Date: 26 Apr 2001 21:11:57 EDT
Thread-Topic: partial parsing

I am working on an editor whose files adhere to a specific grammar.
My requirement is the Editor should also be able to parse the file
when the file is yet being created and not only after the file is
written compeletly.It should be able to parse it on a block basis. I
think this is similar to the partial parsing.

I am not getting a clue about how this can be done. One solution I
thought about was to make every block in my grammar as a start state
in the lex file so the order of apperance of that block in the file
does not matter and parsing can continue. but this is not helping me
go ahead. I will be very thankful If anyone can give some hints about
how to go in this direction.

Thanks a lot in advance

Post a followup to this message

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