[antlr-interest] Best practices?

oneway_111 oneway_111 at yahoo.com
Thu Apr 17 23:03:00 PDT 2003


Hi,

What would be a productive way to develop a new grammar? Should I
start with Lexer and Parser first, complete them and *then* add
TreeParser? ... or should I develop all three of them in parallel? The
idea behind having a TreeParser is that I'd like to quickly scan
through the tree and check that the expression being parsed is using
only valid (in the business sense) components. If not, there's no need
to bother calculating the result.

Any ideas? Thanks


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list