Tree [611166] pep352 / ast /
History



File Date Author Commit
test 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
Python.asdl 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
README 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
asdl.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
asdl_antlr.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
asdl_java.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
astdump.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
astlib.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
astlib2.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
astview.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
build.xml 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
explore 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
globwalk.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
jastlib.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
jastlib2.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...
spark.py 2008-06-23 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 zyasoft@79b11f02-f210-0410-99aa-fb189b3d1ac4 [14bd16] Fixed PyUnicode.unicode_center, unicode_left, u...

Read Me

Files in this project:
Python.asdl - zephyr file taken directly from CPython release25-maint
asdl.py - base asdl program copied from CPython release25-maint
asdl_java.py - copied from CPython sandbox for reference
asdl_anltr.py - adapted from asdl_java.py to produce antlr style ast classes
astlip.py - adapted from Jim Baker's ast -> s-expression utility
            it now runs itself and jastlib.py and diffs the results
            run with -h for more options
build.xml - ant file for building the project
crawl - runs only the grammar on a file (note add any second param to get a
        print of the tree) - empty output means a successful walk.
fails - a runner for release25 files that fail
globwalk.py - a recursive globber used by astlib.py
jastlib.py - adapted from astlib.py to produce a reasonable s-expression
             from jython parsing with antlr
regr - a runner for release25 files that should succeed
run - runs grammar and walker on a file (note add any second param to get a
      print of the trees) - empty output means a successful walk.
spark.py - copied from CPython -- used by asdl

known bugs:
* The following files in release25 completely blow up astlib.py:
      Lib/test/test_pep263.py
      Lib/test/bad_coding.py
      Lib/test/bad_coding2.py
      Lib/test/badsyntax_nocaret.py
so I generally delete these files before running astlib.py on the whole 
release25 Lib.