This is exactly when creating an IDE you (IDE developer) should always include something like the following in the parse error handler (causing it cancel out of the entire parse operation):
if (errorCount > N) throw new OperationCanceledException(); :) Sam -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Douglas Godfrey Sent: Friday, February 25, 2011 1:49 PM To: [email protected] Subject: [antlr-interest] AntlrWorks FEATURE REQUEST Please add an option to turn off the parse as you type syntax checking with a toolbar button to refresh the parse. When I am converting a grammar from BNF to Antlr the grammar may start out with thousands of errors. AntlrWorks GUI becomes unresponsive if the errors cause an exception in the parse as you type syntax checking. AntlrWorks GUI also becomes unresponsive if there are more than 10-20 errors even if they don't cause a parse exception. I wind up having to edit the BNF grammar in another editor and switch back and forth between my editor and AntlrWorks for each error. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
