12 Jan 2005 13:32
Re: A quick update on the grammar
Great stuff. Just so folks are completely in the loop - one of the main reasons for moving to 1.5 now rather than later is to minimise work further down the road - plus to have the parser understand Java 5 annotations - which are gonna be increasingly important in development going forward. (e.g. Python has gone annotation-crazy lately with 'decorators' as they call them). On 12 Jan 2005, at 10:14, Jeremy Rayner wrote: > Hi, > Just to let you know... > > I have started applying the groovy.diff to the Studman 1.5 java.g > grammar file, > I'm doing this in > groovy/jsr/ideas/parsers/antlr/misc/studmanPlusGroovy.g > > I'm doing a three way (manual) diff between the 1.3 original java.g, > the groovy.g > and patching the result into the above file. > > So far I can see I'm approx 40% into this task, but I'm checking my > progress into > CVS as I go, so people can comment as I do this. > > Here are the changes to the 1.5 grammar so far... > > http://tinyurl.com/6ao6r > > Once this is complete, I expect a bit of a wrestle with antlr to sort > out > any ambiguities introduced with 1.5. The resultant grammar file will > be effectively a (1.5 + jrose) grammar. > > Anyway, that's what is going on in my laptop this week, > > I hope that given a stable foundation we can then test/fix/test/fix > this > grammar into a groovy shape. > > Jez. > > -- > http://javanicus.com/blog2 > > James ------- http://radio.weblogs.com/0112098/
RSS Feed