[antlr-interest] parsing BSDL strings and "nested" parsers
John D. Mitchell
johnm-antlr at non.net
Tue Apr 16 13:03:24 PDT 2002
>>>>> "jkluebs" == jkluebs <jkluebs at yahoo.com> writes:
[...]
> The thing is that the contents of the strings have semantic meaning that
> can become part of the AST (the contents of the strings have EBNF and
> must be parsed in order to generate a complete BSDL tree).
[...]
> So basically my question is if this idea of having a main parser actions
> spawn new lexer/parser pairs to process its "parsed out" rules is a good
> pattern for my problem, or is there a nicer way.
Sounds like a good approach to me. The two translators will be cleaner,
clearer, etc.
Take care,
John
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list