E&S CVS Commit: BytecodeAssembler - Refactor the high-level API: it's now .return_() instead of .Return(),

pje at eby-sarna.com pje at eby-sarna.com
Thu Jun 15 02:05:28 EDT 2006

Author: pje
Date: Thu Jun 15 02:05:27 2006
New Revision: 2187

URL: http://svn.eby-sarna.com?rev=2187&view=rev
Refactor the high-level API: it's now .return_() instead of .Return(),
Local() has to be used to load local variables, and virtually any 
immutable type (including strings and None) can now be used for direct 
value generation.  The high-level APIs now curry themselves so that ASTs 
can be used as dictionary keys (useful for identifying common 
subexpressions, as PEAK-Rules will need to do).

Also, added lots of documentation (although there's still quite a lot 
left to write), and fixed a couple of bugs.


More information about the source-changes mailing list