How to do on-the-fly parsing ( like in IDEs ) ?

remesh_job@rediffmail.com (Remesh Job)
9 Sep 2003 23:06:46 -0400

          From comp.compilers

Related articles
How to do on-the-fly parsing ( like in IDEs ) ? remesh_job@rediffmail.com (2003-09-09)
Re: How to do on-the-fly parsing ( like in IDEs ) ? abegel@cs.berkeley.edu (Andrew Begel) (2003-09-14)
Re: How to do on-the-fly parsing ( like in IDEs ) ? bobkfoster@comcast.net (Bob Foster) (2003-09-14)
Re: How to do on-the-fly parsing ( like in IDEs ) ? marcov@stack.nl (Marco van de Voort) (2003-09-22)
| List of all articles for this month |
From: remesh_job@rediffmail.com (Remesh Job)
Newsgroups: comp.compilers
Date: 9 Sep 2003 23:06:46 -0400
Organization: http://groups.google.com/
Keywords: parse, question
Posted-Date: 09 Sep 2003 23:06:46 EDT

Hi ,


I have written few simple apps using an automatic parser generator
tool (JavaCC/JJTree which will create AST automatically).


Can anybody tell me how to do "on-the-fly parsing" ... like they do in
IDEs ie parsing while typing? This can be used for actions like code
completion, error highlighting while editing text etc . I would
preferably want to do the parsing with a parser generated using an
automatic parser generator.


Can anybody give an outline as to how this can be done (and
potentially some source code )


(I posted this in javacc forum but there was no response. )


Thanks
Remesh


Post a followup to this message

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