[Objectscript-devel] [OBJECTSCRIPT] Issue #OBJS91 - parser changes for editor enhancements
Brought to you by:
rob_d_clark
From: Rob C. <rob...@ma...> - 2003-04-19 18:28:15
|
You can view the issue detail at the following URL: <http://icandy.homeunix.org:443/scarab/issues/id/OBJS91> Type : Enhancement Issue Id : OBJS91 Reported by: Rob Clark rob...@ma... - (rob...@ma...) Details: Headline: parser changes for editor enhancements Description: (1) in case of parse error, return partial parse tree, possibly with some way (special nodes) to indicate the damaged part of the parse tree. (2) incremental parsing. In same issue b/c both probably involve modifying javacc, and probably easiest to do at the same time. See comments for more. (1) in case of parse error, return partial parse tree, possibly with some way (special nodes) to indicate the damaged part of the parse tree. The editor could use this to re-colorify even when there is a parse error, and possibly show damaged region in different color, etc.. (2) incremental parsing. The parse methods generated by javacc (ie public Program Program() { ... }) could return nodes from an earlier parse in certain cases. See attachment twagner-parsing.pdf. This would make parsing constant, rather than related to the size of the document. Severity: Minor Functional Area: grammar/parser Status: New |