GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — jython/ast at main · jython/jython

Expand file tree

/

ast

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

ast

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
test/org/python/antlr
test/org/python/antlr
 
 
Python.asdl
Python.asdl
 
 
README
README
 
 
asdl.py
asdl.py
 
 
asdl_antlr.py
asdl_antlr.py
 
 
asdl_java.py
asdl_java.py
 
 
asdl_py.py
asdl_py.py
 
 
astdump.py
astdump.py
 
 
astlib.py
astlib.py
 
 
astlib2.py
astlib2.py
 
 
astview.py
astview.py
 
 
build.xml
build.xml
 
 
explore
explore
 
 
globwalk.py
globwalk.py
 
 
jastlib.py
jastlib.py
 
 
jastlib2.py
jastlib2.py
 
 
spark.py
spark.py
 
 

README

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.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.