1. 07 Sep, 2004 3 commits
    • Jeremy Hylton's avatar
      Remove debugging print (not triggered by test suite) and add XXX comment about... · 8f00a242
      Jeremy Hylton authored
      Remove debugging print (not triggered by test suite) and add XXX comment about how the code should raise a SyntaxError.
      8f00a242
    • Martin v. Löwis's avatar
      Add launcher program · 195578a7
      Martin v. Löwis authored
      195578a7
    • Jeremy Hylton's avatar
      compiler.transformer: correct lineno attribute when possible · 566d9347
      Jeremy Hylton authored
      SF patch #1015989
      
      The basic idea of this patch is to compute lineno attributes for all AST nodes.  The actual
      implementation lead to a lot of restructing and code cleanup.
      
      The generated AST nodes now have an optional lineno argument to constructor.  Remove the
      top-level asList(), since it didn't seem to serve any purpose.  Add an __iter__ to ast nodes.
      Use isinstance() instead of explicit type tests.
      
      Change transformer to use the new lineno attribute, which replaces three lines of code with one.
      Use universal newlines so that we can get rid of special-case code for line endings.  Use
      lookup_node() in a few more frequently called, but simple com_xxx methods().  Change string
      exception to class exception.
      566d9347
  2. 06 Sep, 2004 8 commits
  3. 05 Sep, 2004 2 commits
  4. 04 Sep, 2004 7 commits
  5. 03 Sep, 2004 6 commits
  6. 02 Sep, 2004 3 commits
  7. 01 Sep, 2004 6 commits
  8. 31 Aug, 2004 5 commits