that).
- Original Message -
From: Indhu Bharathi
To: 'Avid Trober' ; antlr-inter...@antlr.org
Sent: Wednesday, June 10, 2009 10:59 PM
Subject: RE: [antlr-interest] Excluding keywords
As stated in the link you provided, there is nothing you have to do to get
this functionality
I saw something close to my problem on the wiki,
http://www.antlr.org/pipermail/antlr-interest/2006-June/016563.html
But, I've got an extra rule, filter. Must I resort to an action, or is there
a way to do this purely in the grammar file?
filter : // identifier, but *not* a keyword
isn't MySql already written w/ ANTLR?
- Original Message -
From: Jim Idle j...@temporal-wave.com
Cc: ANTLR Interest Mailing List antlr-inter...@antlr.org
Sent: Sunday, May 10, 2009 5:16 PM
Subject: Re: [antlr-interest] MySQL grammar -- can I submit?
Maciej Gawinecki wrote:
Dear all,
I've been running antlr.3.1.jar without any problems for some time now.
I recently obtained antlr.3.1.3.jar, changed my CLASSPATH accordingly, and now
all my grammars have weird warnings and/or errors.
Is there more to an ANTLR upgrade than just downloading the new jar and making
sure it's in
Hi,
does anybody know how to determine the source of an error such as this?
the wiki says convert the grammar to v3; it is a v3 grammar.
Thanks.
ANTLR Parser Generator Version 3.1 (August 12, 2008) 1989-2008
error(10): internal error: JavaScript.g : java.util.NoSuchElementException: no
such
I'm parsing a 7-bit ASCII stream ... 2 questions
Question 1: can't I just fall-thru wrt to lexer rules, where lexer rules are
specific-to-general, and avoid indeterminisms at run-time?
For example:
NULL: '\u'
;
SOH: '\u0001'
;
... // (EACH CONTROL CHARCTER HAS ITS OWN LEXER
thanks.
org.antlr.Tool is happy with these two, regardless of which one is
above/below the other.
But, won't the DFA's care about the order???
DQUOTE : '' ;
DQUOTE_STRING : DQUOTE ( ~('') )* DQUOTE
- Original Message -
From: Gavin Lambert an...@mirality.co.nz
To: Avid Trober
What determines the value of the s argument to a DFA routine such as this?
protected internal int DFA21_SpecialStateTransition(DFA dfa, int s, IIntStream
_input)
The DFA is called via this in the parser:
alt21 = dfa21.Predict(input);
then, goes through some ANTLR call frames before emerging
Can grammar syntax alone accomplish this? Or, am I going to have to rely on
some additional code of my own such as actions? gated predicates? other?
1. A command, COMMAND, can be followed by three modifiers, M1, M2 and M3.
2. Each modifier has its own cardinality:
M1?
M2*
M3+