1. 28 Ara, 2001 1 kayıt (commit)
  2. 18 Eki, 2001 1 kayıt (commit)
  3. 17 Eyl, 2001 1 kayıt (commit)
  4. 14 Eyl, 2001 1 kayıt (commit)
  5. 29 Agu, 2001 1 kayıt (commit)
    • Jeremy Hylton's avatar
      Revise implementations of getChildren() and getChildNodes(). · 5477f529
      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.
      5477f529
  6. 18 Agu, 2001 2 kayıt (commit)
  7. 14 Agu, 2001 2 kayıt (commit)
  8. 25 Eki, 2000 1 kayıt (commit)
  9. 13 Eki, 2000 1 kayıt (commit)
    • Jeremy Hylton's avatar
      Now supports entire Python 2.0 language and still supports Python · 9c048f9f
      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
      9c048f9f
  10. 02 May, 2000 1 kayıt (commit)
    • Jeremy Hylton's avatar
      patches from Mark Hammond · be317e61
      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.
      be317e61
  11. 06 Mar, 2000 1 kayıt (commit)
  12. 17 Şub, 2000 1 kayıt (commit)
  13. 15 Şub, 2000 1 kayıt (commit)
  14. 14 Şub, 2000 2 kayıt (commit)
  15. 08 Şub, 2000 2 kayıt (commit)
  16. 04 Şub, 2000 1 kayıt (commit)