antlr 2.7.2/2.7.1 compatibility problem on existing antlr source
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, March 5, 2003 01:53 AM

hi , I am on my way of migrating an antlr 2.7.1 parser to the 2.7.2 new version available , my parser is divided into two pass : 1) Lexical + Syntaxic => emitting AST tree 2) AST tree parsing => emiting Internal intermediate representation. My problem occurs on AST tree parsing on following kind of rules : on above rules I got the following antlr parser error which was I do not have when using antlr 2.7.1 : #(LIBNAME! t2=techprintExpression) techprint.tree.g:1579:17: Suffixing a root node with '!' is not implemented Is it a regression or current version limitation ? if yes will it be fi   More>>

hi ,



I am on my way of migrating an antlr 2.7.1 parser to
the 2.7.2 new version available , my parser is divided into two pass :


1) Lexical + Syntaxic => emitting AST tree


2) AST tree parsing => emiting Internal intermediate representation.



My problem occurs on AST tree parsing on following kind of rules :



on above rules I got the following antlr parser error which was I do not have when using antlr 2.7.1 :



#(LIBNAME! t2=techprintExpression)



techprint.tree.g:1579:17: Suffixing a root node with '!' is not implemented


Is it a regression or current version limitation ? if yes will it be fixed , otherwise any workaround is welcome.



Thanks in advance for any input on above topic



Jean-Yves

   <<Less

Re: antlr 2.7.2/2.7.1 compatibility problem on existing antlr source

Posted By:   Anonymous  
Posted On:   Wednesday, March 5, 2003 05:11 AM

Ooops !!!

I was neither the only one nor the first one to jump into this migration problem , this problem was already posted to the group a couple a days ago



It sounds that this functionality has not been yet implemented int 2.7.2 , which forces me to rely still on 2.7.1 ... I think that they should be some grammar around waiting for this topic to be implemented before beeing able to upgrade to 2.7.2 :=)



Sorry again for posting topic twice



Jean-Yves

About | Sitemap | Contact