[Python-checkins] python/dist/src/Python compile.txt,1.1.2.3,1.1.2.4
bcannon@users.sourceforge.net
bcannon@users.sourceforge.net
Mon, 28 Apr 2003 17:44:43 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv9392/Python
Modified Files:
Tag: ast-branch
compile.txt
Log Message:
Added notes about which files are changed/new to the AST branch.
Index: compile.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/compile.txt,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** compile.txt 28 Mar 2003 16:19:59 -0000 1.1.2.3
--- compile.txt 29 Apr 2003 00:44:41 -0000 1.1.2.4
***************
*** 156,159 ****
--- 156,213 ----
XXX Describe Python code objects.
+ Files
+ -----
+
+ + Parser/
+
+ - Python.asdl
+ ASDL syntax file
+
+ - asdl.py
+ "An implementation of the Zephyr Abstract Syntax Definition
+ Language." Uses SPARK_ to parse the ASDL files.
+
+ - asdl_c.py
+ "Generate C code from an ASDL description."
+
+ - spark.py
+ SPARK_ parser generator
+
+ + Python/
+
+ - Python-ast.c
+ Creates C structs corresponding to the ASDL types.
+ "File automatically generated by ../Parser/asdl_c.py".
+
+ - asdl.c
+ Contains code to handle the ASDL sequence type. Also has code
+ to handle marshalling the core ASDL types, such as number and
+ identifier.
+
+ - ast.c
+ Converts Python's concrete syntax tree into abstract syntax.
+
+ - compile.txt
+ This file.
+
+ - newcompile.c
+ New version of compile.c that handles the emitting of bytecode.
+
+ + Include/
+
+ - Python-ast.h
+ Contains the actual definitions of the C structs as generated by
+ ../Python/Python-ast.c .
+ "Automatically generated by ../Parser/asdl_c.py".
+
+ - asdl.h
+ Header for the corresponding ../Python/ast.c .
+
+ - ast.h
+ Declares PyAST_FromNode() external (from ../Python/ast.c).
+
+ References
+ ----------
+
.. [Wang97] Daniel C. Wang, Andrew W. Appel, Jeff L. Korn, and Chris
S. Serra. `The Zephyr Abstract Syntax Description Language.`_
***************
*** 163,164 ****
--- 217,220 ----
.. _The Zephyr Abstract Syntax Description Language.:
http://www.cs.princeton.edu/~danwang/Papers/dsl97/dsl97-abstract.html.
+
+ .. _SPARK: http://pages.cpsc.ucalgary.ca/~aycock/spark/