Frank Wierzbicki | 27 Aug 18:04

nowalker branch

Hi all,

The nowalker branch is nearing completion -- I have merged Python.g
and PythonWalker.g into just a Python.g.  The unit tests now pass as
well as they do in trunk -- the new Python.g is (at least in my
opinion) *much* simpler than the 2 grammar approach which was really
only necessary because of some limitations in Anltr 3.0 (which I
really where just limitations in my understanding of Antlr 3.0 -- I
think now that I've gone through this process I could have done it in
3.0).

The imaginary tokens that I was using are now gone, leaving only the
INDENT and DEDENT tokens that where there in the original example
Python.g from the Antlr project.  I now have much finer control over
the offsets, so I should be able to get almost all of these to match
CPython (there are one or two differences I've seen that look like
they *may* be odd implementation details).  My internet connectivity
is intermittent today and tomorrow -- so I'll wait until Friday or
Saturday to merge this branch back into trunk.  If anyone wants to
give it a test it is here:

 https://jython.svn.sourceforge.net/svnroot/jython/branches/nowalker

-Frank

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
(Continue reading)


Gmane