[il-antlr-interest: 22871] [antlr-interest] GUnit and Maven

2009-03-31 Thread Tilman Bender
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

[il-antlr-interest: 22929] [antlr-interest] TreeWalker to optimize AST under certain conditions

2009-04-01 Thread Tilman Bender
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

[il-antlr-interest: 22959] [antlr-interest] GUnit: NPE on JUnitCodeGeneration

2009-04-02 Thread Tilman Bender
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

[il-antlr-interest: 22972] Re: [antlr-interest] GUnit: NPE on JUnitCodeGeneration

2009-04-02 Thread Tilman Bender
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

[il-antlr-interest: 23003] Re: [antlr-interest] selective debug code generation for maven plugin

2009-04-04 Thread Tilman Bender
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

[il-antlr-interest: 23065] [antlr-interest] Implicit Typecasting with a tree grammar

2009-04-09 Thread Tilman Bender
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

[il-antlr-interest: 23274] Re: [antlr-interest] Retaining Comments after parsing the file

2009-04-19 Thread Tilman Bender
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

[il-antlr-interest: 23487] Re: [antlr-interest] New Maven artifacts, some fixes, buidlable source

2009-05-03 Thread Tilman Bender
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

[il-antlr-interest: 23516] Re: [antlr-interest] New Maven artifacts, some fixes, buidlable source

2009-05-05 Thread Tilman Bender
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

[il-antlr-interest: 23552] [antlr-interest] Semantic Analysis via TreeWalker

2009-05-06 Thread Tilman Bender
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

[il-antlr-interest: 23703] Re: [antlr-interest] Parse trace?

2009-05-14 Thread Tilman Bender
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

[il-antlr-interest: 23722] Re: [antlr-interest] How do I throw exception on ERROR no viable alternative at character

2009-05-15 Thread Tilman Bender
#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

[il-antlr-interest: 23733] Re: [antlr-interest] How do I throw exception on ERROR no viable alternative at character

2009-05-15 Thread Tilman Bender
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

[il-antlr-interest: 23824] Re: [antlr-interest] Building C# Libraries,

2009-05-20 Thread Tilman Bender
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

[il-antlr-interest: 23964] Re: [antlr-interest] antlr3-maven-plugin not generating sources

2009-06-02 Thread Tilman Bender
/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

[il-antlr-interest: 24035] Re: [antlr-interest] how to implement this string rule?

2009-06-04 Thread Tilman Bender
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

[il-antlr-interest: 24055] [antlr-interest] GUnit: Testing rules which have parameters

2009-06-05 Thread Tilman Bender
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

[il-antlr-interest: 24137] [antlr-interest] Custom TreeAdapter and GUnit - Mission Impossible?

2009-06-09 Thread Tilman Bender
/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