> I know this will be something stupid and obvious and trivial
>
And (sigh) it was...
The problem was not in the grammar, nor in how ANTLR processed it, but
in the way I was using the re-written AST.
As Douglas Adams said: you live and learn; at any rate you live...
Michael
List
rewritten
token has been lost and there is just the original ID token type.
I know this will be something stupid and obvious and trivial but I
just can't spot it. Any tips would be much appreciated.
I'm using ANTLR 3.2, Java target.
cheers
Michael
List: http://www.antlr.org/m
Many thanks Jim ! Using ANTLR in my maven projects has been a breeze
thanks to your efforts.
Michael
2009/11/6 Jim Idle :
> I note that the new Maven Archetype for building a starting project for
> Maven and the Java target is now synced in the Maven central repository and
> shows
Hi Mark,
Just out of interest, are working with the units supported by Java
JSR-275 which I think are based on UCUM http://unitsofmeasure.org/ ?
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email
I was having issues with that timeout. The problem was in the fact that my
CLASSPATH environmental
variable wasn't specifying where the javac.exe was located, and the ANTLRworks
environment was
defaulting to that. So I pointed the environment to the right place, and it was
able to connect
su
address localhost
port49100
I've got my grammar all setup now, and I was even able to find a fix for a
compilation problem by
adding fragment above the LETTER entry.
That said, now I'd like to be able to feed my grammar various inputs and see
how it deals with them.
When I go to run th
Jim Idle wrote:
>> rules, I get "Cannot display rule "X" because start state is not found"
>>
>> comment
>> : !(DIGIT | LETTER | SPACE)*
>> ;
>
> Remove the ! from this rule. Looks like you are trying to type a v2 grammar
> into AntlrWorks, which is for v3 grammars, which is probably
Poked around at the language a bit and ran the debugger. Realizes that ! needed
to be encapsulated in 's
MPinnegar
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~---
Working on a game project that involves a scripting language that I want to
interpret into a virtual
machine code that can be executed directly. I've included the grammar below.
All the lexer rules are
displaying properly in the syntax diagram, but when I click on the bodies of
any of the par
Am Donnerstag, 8. Oktober 2009 16:54:01 schrieb michael:
> I have a tree parser which output a new ast (tree rewriting).
> The parser has attached some NodeData to some tree nodes, and one of my
> tree rewrite rules should just copy this node, like:
sorry for the noise, it was of cau
cated.
If have to do:
rule_x: NODE {
NodeData d = (NodeData)$NODE;
} -> NODE[d]
;
I thought the incoming data is copied in case of an empty rule (see
Tree construction during tree parsing in
http://www.antlr.org/wiki/display/ANTLR3/Tree+construction ) ??
cheers
Michael
Li
Hi Ivan,
Details and advanced draft are here:
http://www.pragprog.com/titles/tpdsl/language-implementation-patterns
Michael
2009/9/23 Ivan Yu Titov :
> Hello,
>
> I've recently heard about new ANTLR book. Is there any release date for it?
> Thanks in advance.
>
> W
Hi,
I can't get the system specific include built with configure on a
Solaris Unix system.
I downloaded the 3.1.3 source distribution. There wasn't a configure
script in the C runtime area but there was a configure.ac. So I ran
autoconf on it which generated a configure.
Running ./
Hi Bruce,
Just like this...
ANTLRNoCaseFileStream strm = new ANTLRNoCaseFileStream( myfilename );
MyLexer lexer = new MyLexer( strm );
That's all there is to it really. If only all things in life were so easy :)
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubs
OOPEND ))*;
this should match all other characters, then use this token in your parser
rules...
allthough Ihave not tried it...
cheers
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--
Thanks Tommy, this is a very good idea.
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this message because you are
Here's a fragment of the pom.xml that I use...
org.antlr
antlr3-maven-plugin
3.1.3-1
antlr
and MakeRuntime.g all
do bits of AST rewriting.
Hope this helps,
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this message
any problems or side effects with just ignoring the error as you
suggested in the book? Does anyone have a working definition of the
if-then-else statement that does not generate AntlrWorks warnings, compiles
cleanly (in Java), and works?
Michael T. Gardner
List: http://www.antlr.org/mailman
Hello Hugo,
Try this:
BufferedTreeNodeStream nodes = new BufferedTreeNodeStream(myTree);
LangWalker evaluator = new LangWalker(nodes);
for(int i = 0; i < 1; i++)
evaluator.rule();
evaluator.reset();
end
Hope this helps,
Michael
List: http://www.antlr.org/mail
might need EOF rather just empty alt.
I tried that too and it gives an error:
lexer grammar C;
MLB : '/*' ( options { greedy = false; } : .* )
( '*/' | EOF { print error message } )
{ skip(); }
;
error(201): C.g:3:44: The following alternatives can never be matched: 1
with
for every
> nextToken call might be slightly costly.
>
I thought that too, but after profiling my app with the java interactive
profiler (jip) I saw that the cost for nextToken was under 0.02% compared to
the total runtime.
cheers
Michael
List: http://www.antlr.org/mailman/listinfo
: .* ) '*/' { openComment = false;
skip(); };
don't know if this is nice, but it works :-)
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~-
; // or similar...
does it work to change it to:
NL: ('\r'? '\n')+ ( '\'' ~('\n'|'\r')* )? ; // to include a following
comment
or a semantic predicate which tests the column number
or maybe it's easier to use a file reader which jus
Am Monday 08 June 2009 14:33:28 schrieb Sylvain, Gregory [USA]:
>
> stmt :SUBJ_TOK COLON PHRASE+ NL+ ;
it works for me after adding EOF to the stmt rule:
stmt :SUBJ_TOK COLON PHRASE+ NL+ EOF;
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
ral has no associated lexer rule: 'a'
if I use instead:
grammar P; // missing parser keyword
// rest the same
it works but generates a lexer.
cheers,
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman
}
>
> a :'A' | 'A' 'B'^;
> --
I see.
Maybe one should find an example grammar which needs different lexers,
this is easy with an packrat grammar (since you have no lexer), but not so
with a normal lexer / parser combi.
cheer
here are some differences, the biggest is in a packrat parser you have
ordered choises:
if in a rule e1 | e2 the first (e1) succeeds. the second is ignored. So
unlike normal BNF definitions you cannot simply switch the order of the
alternatives.
And you don't use a separate lexer, it&
. I like this approach.
>
Yep, I'll add my voice in support of that too
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You receive
Hi,
Ok, dot is a simple text file. Replacing "arrowhead = none" with "arrowhead =
normal"
solves the Problem.
Regards
Michael
On Thursday 04 June 2009 12:17:29 Michael Pasdziernik wrote:
> Hi AntlrWorks Users,
> I have a problem exporting decision dfas for inclusion
is not too bad in general, but for cyclic
dfas it is.
Is this known? Are there workarounds available?
Thanks
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
I got the pragprog email late last night (local time) and had the beta
book about a minute later :-)
I've been looking forward to this for months !
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-
he needed runtime. I did only some first steps and did not the complete
a running example.
I'm not even sure whether using objects or just modules and functions is
better. But it's fun to experiement with it :-)
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Uns
Good evening!
I have IR, that was written in C++. But there is only C runtime.
1) How can I add "namespaces block" in *.c file?
2) Is it possible to create some (e.g. 2) objects of ParserClass (or
LexerClass)? Yacc, as I know, generates C code with global variables. So..
what about antlr?
--
while this may not be the problem, it's a good idea to add catching of EOF to
your top grammar rule:
main: STATIC_MAIN '{' stats '}' EOF;
can't you narrow down the error, stripping away as much as possible?
It would be easier to find then...
cheers
Michae
CHAR(CHAR|' ')*;
which later fails since a wrong token is returned.
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You re
'\r' | '\t' | ' ')*;
if you leave out the dot in the URL rule it works as it should.
If the dot is there the IDENT rule is not called but the URL rule is called
which raises an exception since the colon is missing.
No idea why .
c
build
comprehensive translators ?
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Very nice - thanks for the link Steve
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this message because you are
Good day.
I have some problems with C runtime.
1) At first, when I try to load C.sln, VS2008 says that "associated source
control plug-in is not installed on this computer. Source control will be
disabled for this project". What plug-in I need to install (I haven't seen
something about it in
Thanks!
Jim Idle писал(а) в своём письме Wed, 13 May 2009
01:45:11 +0400:
> Yurushkin Michael wrote:
>> Good day!
>> I use Antlr 3.
>> There are 2 grammar files (lexer and parser). Lexer contains tokens
>> definitions and parser imports tokens tabel.
>> Is i
: (expr '+' factor) | (expr '-' factor) | factor;"
but the "literal has no associated lexer rule: '+'" error appears.
Best regards,
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
TOKEN: (CHAR|DIGIT)+ ;
in: typeExpression EOF { print(...) };
typeExpression: '@' v=TOKEN ':' DELIM? param (',' DELIM? param)* { type =
$v.text; };
param: TOKEN DELIM? { list.add($TOKEN.text); } ;
Michael
List: http://www.antl
t(policies={p}) ;
>
> and policy looks like this:
>
> policy: conditionStat
> -> policyStat(cond={$conditionStat.st})
> ;
should the policy rule in the tree grammar match the generated tree?, like:
policy: ^(POLICY targetType conditionStat) ->
policyStat(cond={$conditi
_program EOF
I think you should include the EOF token into your grammar.
cheers,
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
E: ('\n' | '\r');
COMMENT: '-*' (~NEWLINE)* NEWLINE;
TEXTCHR: ( ~('-')
| ('-') ~'*') => '-'
);
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/
Am Thursday 07 May 2009 14:10:22 schrieb Thomas Dill:
>
>
> grammar FexParser;
>
> options {k=3; backtrack=true; memoize=true;}
>
> report:(comment | text | NEWLINE)+ ;
>
>
> comment :(COMMENT_START ~(NEWLINE))* ;
I think this does only read one "-*" and the next character (not till
ppear in a "text",
> too.
>
i have a working one-line comment version like this ( comments start with #
or // and go until end of the line):
NL: ('\r'? '\n')+ { skip();};
SINGLE_COMMENT: ('#' | '//') ~('\r' | '\n')* NL {
at subtree and do nothing with it, maybe
like:
bool_function_content[Boolean value]
: {value != null && value.booleanValue()}? => function_content*
|{value != null && !value.booleanValue()}? =>
overread_function_content*
;
cheer
Try to add "fragment" prefix before "DIGITO"
On Mon, May 4, 2009 at 10:49 PM, Marwan Ajraoui wrote:
> Hi There;
>
> I'm currently defining a grammar for a based tag language using ANTLR;
> The problem I'm facing is that a single digit doesn't match my defined
> rule INTEGER, here is the definiti
are referenced properly.
>
> Is there a version conflict here? The StringTemplate comes with antlr 2.7.7
> but I don't want to use that. I want to use antlr v3. Can anyone help me
> out here?
you are using it: antlr3 depends on it, so add it to the classpath
cheers
Michael
many thanks for all that Jim !
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
can in the parser
say something like:
if: IF c=cond THEN b=block (ELSEIF c+=cond THEN b+=block)* else? -> ^IF(cond+,
block*, else)
to generate a tree which allready has the conds and elseif nodes collected.
Your tree is then like:
^(IF cond+ block+ else?)
Michael
List: http://www.antlr.o
HEN thens+=expression)
(^(ELSEIF
^(conds+=CONDITION condExpression)
^(thens+=THEN expression)
))*
(^(ELSE else=expression))?
)
Michael
Li
o the lexer won't
throw it out as a CPP_COMMENT. Does anyone have any better ways to
solve this problem? Suggestions on how to match the 'foo' comment? Any
feedback is appreciated!
Thanks!
Michael
-
g
Hi,
I have a fairly simple grammar which give me an error I cannot resolve.
Could you please look at it? What does it mean and how to fix it?
Thanks a lot.
[14:20:29] warning(200): C:\tools\verilog\verilog_params\Test.g:4:43:
Decision can match input such as "IDENT..ESCAPED_IDENT" using mult
and
there don't appear to be any downloadable artifacts at
http://antlr.org/hudson/job/ANTLR_Tool/
Thanks for your response, it was very helpful!
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-em
with scope variables, and saw this
thread: http://www.antlr.org/pipermail/antlr-interest/2009-March/033769.html
but the link to http://antlr.org/downloads doesn't seem to work.
http://www.antlr.org/hudson/job/ANTLR_Tool/lastSuccessfulBuild/ seems
like a good place to get the latest dev
reason not to use
> BufferedTreeNodeStream instead of CommonTreeNodeStream?
Yep - BufferedTreeNodeStream does what I want. But as to the logic of
the changes, or when either class is preferable, I'm afraid I don't
know. More docs on this would be nice.
Michael
List: http://www.an
thing there anymore
!
I don't like this at all, but I believe in the thread that you cited
earlier someone says it is the intended behaviour.
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/yo
been highlighted in the release notes for
3.1.3. It seems like a fairly major change and it caused me a lot of
grief for a while !
Michael
2009/4/22 Steve Souza :
> This question in the antlr archives is the same one I have: "Is this now
> the correct practice where a tree walker
;
y returns [int value]
: DIGIT+ { $value = Integer.parseInt($text); }
;
DIGIT : '0'..'9'
;
WS : (' ' | '\t' | '\n' | '\r') { $channel=HIDDEN; }
;
Hope this helps
Michae
ype.
Hope this helps
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
Hi Indhu,
Thanks very much for posting this example - it explains something that
I want to do too.
Michael
2009/4/3 Indhu Bharathi :
> As expected, there were some bugs :-) Here is a implementation that works
> fine:
>
> grammar Test;
>
> @members{
>
>
day linking to your new
docs but it probably would be better just to replace the old with the
new.
cheers
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-addr
2 or 3.1.3 (someone please let me know if I'm missing the
obvious).
Give the tree walker a BufferedTreeNodeStream stream instead of
CommonTreeNodeStream seems to fix the problem. Is this now the
correct practice where a tree walker is to be invoked repeatedly ?
cheers
Michael
List: http://www.an
Sorry, that should have been
"migrating an app from ANTLR 3.1.1 to 3.1.3"
I've now also looked in the release notes for 3.1.2 but don't see my
answer there either (or perhaps I just don't understand it :). So,
still hoping for advice.
cheers
Michael
2009/4/1
em to happen.
I've looked at the release notes but they are silent on this issue.
Any tips much appreciated.
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-ema
2009/4/1 Jim Idle wrote:
> I'll check the examples, but:
>
The Libraries example has goals within configuration. The Netbeans
editor, following the pom schema I guess, doesn't suggest goals as an
element when you are within a configuration block, only outside.
Mic
cheers Jim - I missed that
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
apshot, which is 3.1.4 anyway :-)
>
I have 3.1.3 in my pom.xml but I notice that both
the 3.1.3 and 3.1.3-SNAPSHOT jars are being downloaded (see below).
I've looked thought my project's pom hierarchy but can't find anything
that might be inadvertently requesting this. Any ide
That's terrific, thanks Jim.
I notice that in the different examples is sometimes inside
and sometimes outside. Is this right ? I ask because
when I'm editing the pom.xml file in Netbeans, the editor doesn't
suggest the goals element when inside configuration.
cheers
Michae
For an ANTLR project (Java backend), a need a to parameterize the parser
class over a generic, e.g. I'd like the generated parser to start with a
declaration like this:
public class XXXParser extends Parser { ... }
Is this possible? Help would be much appreciated!
--
Regards,
Mike
List: ht
fixed eventually?
Best regards,
Michael
Dr. Michael Gerz
FGAN e.V. Phone: +49 228 9435-414
Department FKIE/ITF Fax:+49 228 9435-685
Neuenahrer Straße 20
runTreeParser behind the parser constructor call.
Now it works :)
Regards
Michael
On Thursday 19 March 2009 15:55:01 Michael Pasdziernik wrote:
> Hi,
> I have some problems using gUnit with a custom tree class. I have tried to
> patch gunit as described in the corresponding thread from march
Thanks for posting this Sam ! I want to do some editor-related ANTLR
work soon so it's nice to have your example.
cheers
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-ad
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"il-antlr-int
pr)
Here I replace an ASSIGN node with an IMAGE_WRITE node conditional on
the result of a lookup in the predicate.
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-em
is is practical, but if it is,
or if there are multiple tree walking stages (ie. step 4, step 5 etc
each of which generates a new AST) then it can get tricky.
There was a recent discussion of this here...
http://www.antlr.org/pipermail/antlr-interest/2009-February/032799.html
Hope this helps
Mi
he AST and the list to Bwalker...
CommonTreeNodeStream nodes = new CommonTreeNodeStream(primaryAST);
nodes.setTokenStream(tokens);
BWalker bwalker = new BWalker(nodes);
bwalker.setList( listFromA );
BWalker.start_return r = bwalker.start();
Hope this helps
Michael
List: http://www.antlr.org/mailman/
Hi Annie,
Sorry for the confusion on my part. I haven't used StringTemplate yet
and so went off in the wrong direction...
But luckily, I see that Johannes has proposed a solution for you on
the other thread about your question.
Michael
List: http://www.antlr.org/mailman/listinfo/
the members section of this grammar (just to keep the
grammar a little more readable).
I hope I'm answering the right question !
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-
> * ? - Match element one or more times.
>
> Does that what you mean?
I just hadn't seen an asterisk in front of a rule or token name before...
*propertyReferenceSuffix* argumentSuffix*)
^
This one.
It's probably just an email text thing - sorry to go off an a tangent
Hi Annie,
One way to pass data between sub-trees is to use global scope. See
section 4.5 in the ANTLR book.
Hope this helps
Michael
2009/3/17 YINGAnnie :
>
> Hi everyone,
>
>
> What I want to do is to replace var t:Number=Math.ceil(1.5); to var
> t:int=int(1.5); The tree
t;Math.abs")}?
mathabs(x={$argumentSuffix.text})
;
what are the asterisks for ?
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received
;9'
;
fragment
Dot : '.'
;
fragment
NonZeroDigit: '1'..'9'
;
fragment
FloatExp: ('e'|'E' (PLUS|MINUS)? '0'..'9'+)
;
Hope this helps
int to double for it's first
parameter (or force you to write a coercion)...
if "/" gets a boolean and a char it can throw a type error...
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailma
memberExpression indexSuffix *
propertyReferenceSuffix* argumentSuffix*)
{$memberExpression.text.equals("Math.abs")}?
->mathabs(x={$argumentSuffix.text})
-> [ alternative re-write (or blank to just drop the node from
the tree) ]
;
Hope this helps
Mic
would have thought it was
straightforward to check if there is a need for List etc. and only add
the imports when required.
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest
rustle, rustle...
that's the sound of me rubbing my hands together in anticipation :)
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-ad
..
http://antlr.org/hudson/job/Maven_Plugin/39/changes
...and then perhaps get back to us on the ANTLR list to discuss the
plugin with Jim Idle, the author of the current code.
All the best
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/op
Have a look at this page...
http://www.antlr.org/wiki/pages/viewpage.action?pageId=557063
Michael
2009/3/9 Sam Barnett-Cormack :
> The whole point of the hidden channel (rather than just discarding) is
> that the parser *can* tune to it, or use it for context checking in
> predicate
but it works.
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
R site
very helpful, even though my language is not pythonesque...
Hope this helps
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You rece
general discussion but
I'd also be really grateful for further specific feedback on Jiffle.
cheers
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~--
also this wiki page...
http://www.antlr.org/wiki/display/ANTLR3/Using+ANTLR+3+with+Maven+2
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
xclusive ? I'm
guessing they are not otherwise you would not be asking your question.
But perhaps if you provide a specific example of something that
wasn't working for you during your sleepless weekend you will get
better suggestions.
Michael
List: http://www.antlr.org/mailman
2009/2/23 Vlastimil Adamovsky :
>
> I want to parse digits, that are from 0 to 9 except those that are from 4
> to 7.
> In reality, I want to parse only digits 0,1,2,3,8,9
>
A: '0'..'3' | '8' | '9' ;
Is this what you want ?
Mic
that version will build using ANTLR 3.1.2
>>
Jeepers that's service !
Many thanks Jim and Ter
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~
ANTLR neophyte there is bound
to be a lot of inefficient / inappropriate / just plain wrong stuff in
the grammars and associated code. Any feedback on how to do things
better will be gratefully received. Be brutal !
cheers
Michael
List: http://www.antlr.org/mailman/listinfo/antlr-interes
1 - 100 of 121 matches
Mail list logo