- 28 Ara, 2001 1 kayıt (commit)
-
-
cvs2svn yazdı
'release22-maint'.
-
- 18 Eki, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 17 Eyl, 2001 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 14 Eyl, 2001 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 29 Agu, 2001 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
Add support for floor division (// and //=) The implementation of getChildren() and getChildNodes() is intended to be faster, because it avoids calling flatten() on every return value. But it's not clear that it is a lot faster, because constructing a tuple with just the right values ends up being slow. (Too many attribute lookups probably.) The ast.txt file is much more complicated, with funny characters at the ends of names (*, &, !) to indicate the types of each child node. The astgen script is also much more complex, making me wonder if it's still useful.
-
- 18 Agu, 2001 2 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
- 14 Agu, 2001 2 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
-
- 25 Eki, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 13 Eki, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
1.5.2. The compiler generates code for the version of the interpreter it is run under. ast.py: Print and Printnl add dest attr for extended print new node AugAssign for augmented assignments new nodes ListComp, ListCompFor, and ListCompIf for list comprehensions pyassem.py: add work around for string-Unicode comparison raising UnicodeError on comparison of two objects in code object's const table pycodegen.py: define VERSION, the Python major version number get magic number using imp.get_magic() instead of hard coding implement list comprehensions, extended print, and augmented assignment; augmented assignment uses Delegator classes (see doc string) fix import and tuple unpacking for 1.5.2 transformer.py: various changes to support new 2.0 grammar and old 1.5 grammar add debug_tree helper than converts and symbol and token numbers to their names
-
- 02 May, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
Attached is a set of diffs for the .py compiler that adds support for the new extended call syntax. compiler/ast.py: CallFunc node gets 2 new children to support extended call syntax - "star_args" (for "*args") and "dstar_args" (for "**args") compiler/pyassem.py It appear that self.lnotab is supposed to be responsible for tracking line numbers, but self.firstlineno was still hanging around. Removed self.firstlineno completely. NOTE - I didnt actually test that the generated code has the correct line numbers!! Stack depth tracking appeared a little broken - the checks never made it beyond the "self.patterns" check - thus, the custom methods were never called! Fixed this. (XXX Jeremy notes: I think this code is still broken because it doesn't track stack effects across block bounaries.) Added support for the new extended call syntax opcodes for depth calculations. compiler/pycodegen.py Added support for the new extended call syntax opcodes. compiler/transformer.py Added support for the new extended call syntax.
-
- 06 Mar, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
add doc string to transformer module add two helper functions: parse(buf) -> AST parseFile(path) -> AST
-
- 17 Şub, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 15 Şub, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 14 Şub, 2000 2 kayıt (commit)
-
-
Jeremy Hylton yazdı
(so they are common with other binary ops)
-
Jeremy Hylton yazdı
Exec: expr, locals, globals Dict: items Assert: test, fail
-
- 08 Şub, 2000 2 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
add varargs and kwargs attributes to Function nodes
-
- 04 Şub, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
revision number the p2c cvs tree. COPYRIGHT: 1.1 ast.py: 1.3 transformer.py: 1.11
-