[antlr-interest] Please advice about float
Martin Probst
mail at martin-probst.com
Mon Sep 19 11:55:01 PDT 2005
Hi,
> Yes, and that works too; because I write in C++, I avoid "=>"
> predicates because they incur a thrown exception - very expensive in
> C++ - and in this case you don't really need it.
Well, not _that_ expensive, but still very expensive. Especially as
( .. ) => also requires that the tokens/characters in the brackets are
being parsed two times. So you get two times the parsing plus an
exception for no good reason.
Martin
More information about the antlr-interest
mailing list