or something. If you have please
let me know.
Sorry, if this is not the proper list for such discussion, but I could
not find more project information on GUnit or the antlr3-maven-plugin
apart from the wiki-pages.
kind regards
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben
for an addition saying:
^(ADD 0 expr ) or ^(ADD expr 0) the subtree should be replaced by just
expr
The same applies to multiplications with one or zero: remove the
subtree and replace it by one of the operands or zero.
How could I achieve this with a tree-grammar?
kind regards
Tilman Bender
Student
Hi folks,Tried to setup a testsuite for my tree grammar. The testsuite can be run (allthough all tests fail) via the normal org.antlr.gunit.Interp command butwhen I try to generate JUnit-Code for it I get an NPE:java -cp ../../../target/classes/:$CLASSPATH org.antlr.gunit.Interp -o
Hi Leon,
Augh! How could I be that blind. I also misinterpreted the walks
keyword as I thought adding it to the heading of the testsuite would
suffice.
Thank you very much for you help and keep on the good work with GUnit!
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
gives me a syntax error on this.
Or did you mean to do this with maven profiles?
What do you mean by normal Maven semantics?
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de
Am 03.04.2009 um 18:52 schrieb Jim Idle:
Please read the plugin docs. You
a TreeWalker?
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
il-antlr-interest group.
To post to this group, send email to il
Hi,
The problem is, that you use skip() where you should actually use
something like:
: // (~('\r'|'\n'))* {$channel=HIDDEN;}
This way the comment will still be acessible in the parser:
http://www.antlr.org/wiki/pages/viewpage.action?pageId=557063
HTH
Tilman Bender
Student des Software
enabledfalse/enabled
/releases
/pluginRepository
/pluginRepositories
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de
Am 02.05.2009 um 00:31 schrieb Jim Idle:
1) Add
recognizer lacks proper unit tests.
I can get along very well with the plugin as it is, but this feature
would really be the cherry on top of the cake ;-)
kind regards
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de
Am 02.05.2009 um 00:31 schrieb
the tree manipulation but
my main problem is, that I do not know how to reattach the modfied
subtree to my result.
$a.tree=castIntToFloat($a.tree) won't work because $a.tree is
readonly :-(
kind regards thanks in advance
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
this as a config option in the antlr3-maven-
plugin and I am sure there is a corresponding
ANTLR-Tool option for this.
Another (maybe weird) idea: Isn't this a typical use case for AOP?
Would it be feasible to weave the logging
into the whole thing? Just an idea ;-)
Tilman Bender
Student des Software
#6c32f5b03a9049357f3ddfbccee9a5e0
Allthough I am not sure this is a good idea.
HTH
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de
Am 15.05.2009 um 06:51 schrieb Bharath R:
Hi All ,
Currentl when I parse my String , I am getting some errors printed
in the console
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de
Am 15.05.2009 um 16:07 schrieb Bharath R:
I have overridden the below method in the parser and lexer code
generated.
--~--~-~--~~~---~--~~
You received
HI,
I guess you will find it on the ANTLR2-Project Site:
http://www.antlr2.org/download.html
HTH
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de
Am 20.05.2009 um 17:16 schrieb Craig Main:
Hi,
Antlr depends on stringtemplate which in turn
/goals
/execution
/executions
/plugin
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de
Am 02.06.2009 um 10:43 schrieb T Stotts:
I have
Hi Xiaohua,
Try this one:
STRING :
'' (~(''|'\n'|'\r'))* '';
It says the string starts with and ends with while an between
those there can be any character but ,\n or \r
This was taken from the templates used in the ANTLRIDE editor.
HTH
Tilman Bender
Student des Software Engineering
anyone have a good suggestion how to get
around this?
It would be really cool, if this would be built into a future version
of GUnit. Some kind of test-fixture would also be really neat ;-)
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de
/k6nzsuphzusezy5v
Unfortunately this does not seem to be fixed yet. Does anyone know a
good workaround for this so I can use my custom TreeNodes without
losing my tests?
Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de
18 matches
Mail list logo