1. 28 Mar, 2001 2 commits
  2. 27 Mar, 2001 34 commits
  3. 26 Mar, 2001 4 commits
    • Guido van Rossum's avatar
      Update TO DO list. · 824e0e1f
      Guido van Rossum authored
      824e0e1f
    • Guido van Rossum's avatar
      Add opcode implementation for "mode". · 1dff9e98
      Guido van Rossum authored
      Properly implement tal:replace="structure ..." combined with
      tal:attributes="...", both in HTML and in XML mode.  This is pretty
      tricky, and requires instantiating a parser with a modified code
      generator which suppresses any TAL/METAL interpretation but does the
      attribute replacement on the first encountered start tag as required
      by the TAL 1.0 specs.
      1dff9e98
    • Guido van Rossum's avatar
      Update the test output, incorporating the ('mode', 'html') opcodes · 08e7613c
      Guido van Rossum authored
      that are now generated.
      08e7613c
    • Guido van Rossum's avatar
      Move compile() into the DummyEngine() class (deleting our · c7326263
      Guido van Rossum authored
      DummyCompiler class), and make sure to call it everywhere it is
      needed (in particular for attribute replacements).
      
      Emit a new opcode, "mode", with an argument "html" or "xml", depending
      on the value of the xml argument to the constructor.  (This requires a
      matching checkin of TALInterpreter.)  (This comment was mistakenly
      added to the previous checkin of DummyCompiler.py.)
      
      Don't append to self.program directly; always call self.emit().
      c7326263