Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2debf879d6dcf6601a729c874e42e380e733d75e
Ticket: 655176ffffffffffffffffffffffffffffffffff
Reference implementation for TIP 123
User & Date: dkf on 2003-09-13 07:06:29
Changes

  1. closedate changed to: "2003-09-13T00:06:29"
  2. closer changed to: "dkf"
  3. icomment:
    Logged In: YES 
    user_id=79902
    
    Applied, and thanks for developing this code.  However...
    
    There was a whole bunch of problems with the reference
    implementation, so I had to rework a lot of it when applying
    to the core.
    
    First off, the reference was full files not a patch.  That's
    really hard to work with given that the bytecode engine does
    tend to evolve fairly quickly internally (just by virtue of
    being a large piece of code!)Secondly, there were no tests.
     If there had been, the many technical problems with the
    patch would have shown up for you (it's behaviour was plain
    wrong in a number of aspects!)
    Thirdly, it inserted an instruction in the middle of the
    bytecode list.  Don't do that.  I know it means you have to
    do some hacking inside IllegalExprOperandType() but that's
    better than breaking backward compatability for tbcload...
    Fourthly, it had no documentation.  Writing docs isn't hard
    even in nroff; you can just copy the existing docs (that's
    what I do normally!)
    
    I attach the patch that I used. I don't know how easily it
    will apply to anything, but it does fix all the faults I
    know about so far.
    
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. status changed to: "Closed"
  7. username: "dkf"