|How to do on-the-fly parsing ( like in IDEs ) ? firstname.lastname@example.org (2003-09-09)|
|Re: How to do on-the-fly parsing ( like in IDEs ) ? email@example.com (Andrew Begel) (2003-09-14)|
|Re: How to do on-the-fly parsing ( like in IDEs ) ? firstname.lastname@example.org (Bob Foster) (2003-09-14)|
|Re: How to do on-the-fly parsing ( like in IDEs ) ? email@example.com (Marco van de Voort) (2003-09-22)|
|From:||firstname.lastname@example.org (Remesh Job)|
|Date:||9 Sep 2003 23:06:46 -0400|
|Posted-Date:||09 Sep 2003 23:06:46 EDT|
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. )
Return to the
Search the comp.compilers archives again.