Migration path from ANTLR 3 to 4

1,546 views
Skip to first unread message

jfh...@gmail.com

unread,
Feb 13, 2013, 2:04:53 PM2/13/13
to antlr-di...@googlegroups.com
Hello,

I'd like to migrate the Redline Smalltalk grammar to the new ANTLR 4.
https://github.com/redline-smalltalk/redline-smalltalk/tree/master/src/main/antlr3/st/redline/compiler

Is there a migration path? The closest information I could find was this page but it was empty:
What is the difference between ANTLR v3 and v4?
http://www.antlr.org/wiki/pages/viewpage.action?pageId=36110379

I'm really sorry if the information is already available and I missed it.

Feel free to redirect me at the appropriate place.

Thank you kindly

Terence Parr

unread,
Feb 25, 2013, 12:41:19 PM2/25/13
to antlr-di...@googlegroups.com
 unfortunately, I haven't really documented much yet on the transition but you can more or less reuse the same grammars and see what v4 warns you about. just get rid of the syntactic predicates and it's a good start.
Ter



--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Dictation in use. Please excuse homophones, malapropism, and nonsense. 
Reply all
Reply to author
Forward
0 new messages