blob: a576d33b0478428e6de73e5e0302e88439093a63 [file] [log] [blame]
Guido van Rossum16d27e31996-08-21 16:28:53 +00001These files are from the large example of using the `parser' module. Refer
2to the Python Library Reference for more information.
3
Martin v. Löwis5fec9042006-02-27 21:41:03 +00004It also contains examples for the AST parser.
5
Guido van Rossum16d27e31996-08-21 16:28:53 +00006Files:
7------
8
Guido van Rossum8206fb91996-08-26 00:33:29 +00009 FILES -- list of files associated with the parser module.
10
11 README -- this file.
12
Guido van Rossum16d27e31996-08-21 16:28:53 +000013 example.py -- module that uses the `parser' module to extract
14 information from the parse tree of Python source
15 code.
16
Guido van Rossum8206fb91996-08-26 00:33:29 +000017 docstring.py -- sample source file containing only a module docstring.
18
19 simple.py -- sample source containing a "short form" definition.
20
Guido van Rossum16d27e31996-08-21 16:28:53 +000021 source.py -- sample source code used to demonstrate ability to
22 handle nested constructs easily using the functions
23 and classes in example.py.
24
Georg Brandl3e987362005-08-25 20:41:38 +000025 test_parser.py program to put the parser module through its paces.
Guido van Rossum8206fb91996-08-26 00:33:29 +000026
Martin v. Löwis5fec9042006-02-27 21:41:03 +000027 unparse.py AST (2.5) based example to recreate source code
28 from an AST. This is incomplete; contributions
29 are welcome.
30
Guido van Rossum16d27e31996-08-21 16:28:53 +000031Enjoy!