/Demo/parser/README

http://unladen-swallow.googlecode.com/ · #! · 31 lines · 20 code · 11 blank · 0 comment · 0 complexity · 979790a2c463d0c535ef2f56d15a0e01 MD5 · raw file

  1. These files are from the large example of using the `parser' module. Refer
  2. to the Python Library Reference for more information.
  3. It also contains examples for the AST parser.
  4. Files:
  5. ------
  6. FILES -- list of files associated with the parser module.
  7. README -- this file.
  8. example.py -- module that uses the `parser' module to extract
  9. information from the parse tree of Python source
  10. code.
  11. docstring.py -- sample source file containing only a module docstring.
  12. simple.py -- sample source containing a "short form" definition.
  13. source.py -- sample source code used to demonstrate ability to
  14. handle nested constructs easily using the functions
  15. and classes in example.py.
  16. test_parser.py program to put the parser module through its paces.
  17. unparse.py AST (2.5) based example to recreate source code
  18. from an AST. This is incomplete; contributions
  19. are welcome.
  20. Enjoy!