On 01/12/2011 08:54 PM, Bart Kiers wrote:
On Wed, Jan 12, 2011 at 8:44 AM, Dennis Sosnoski d...@sosnoski.com
mailto:d...@sosnoski.com wrote:
I'm wondering if there's an easy way to switch back and forth between
different lexers while processing a stream. I'm working with Java
Am 12.01.2011 17:02, schrieb Alex Lujan:
I am trying Antlr v3 for message recognition, which must comply to a custom
define protocol.
I find myself unable to express the following rule (written in a
non-standard notation):
data: count number{count.value}
just parse the lines as
data:
I think that you might be better not using a grammar construct if the
consume is always at the trailing end of the verb (but remember that not
all SQL requires termination with ';' which makes it a terrible language
to parser in general.)
You can insert an action, or a dummy rule that uses code
I have been using Antlr3 and have been very pleased with the power and
flexibility of it. However, I wanted to accomplish some things with it and
after searching through the book and online, I couldn't find any way to get
it to work. I then ran across some grammar options like classHeaderPrefix,
Hi, in AW i have some problem to get ambiguous path visualization and
cannot get ambiguous rules to become red even if compilations emits
several warnings.
My grammar is a pure parser that import another parser grammar.
I can e-mail grammars if necessary.
I have also noticed that AW doesn't