[antlr-interest] Hide a lexer rules and call it explicitely from parser rule

Juancarlo Añez apalala at gmail.com
Thu Sep 27 22:24:19 PDT 2012


Jim,

On Thu, Sep 27, 2012 at 11:33 PM, Jim Idle <jimi at temporal-wave.com> wrote:

> Starting with Oracle SQL as your first grammar is not a good idea. You
> need to read the documentation and the getting started documents, as well
> as the examples. You cannot direct the lexer from the parser for instance.
> You need to step away and start with some small examples first. You cannot
> solve the '[' html ']' issue in the manner you are trying I am afraid.
>

Those are wise words. They should be framed somwhere on the ANTLR site or
docs.

Having access to the best available tool It is not enough. You have to know
what you're doing.

-- 
Juancarlo *Añez*


More information about the antlr-interest mailing list