Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 16153c39eb5fb32f467848266789ba7384a9795c
Ticket: 47ac84309bab4719c58a693f5d63d837887f3b17
more (compiled) lreplace madness
User & Date: aspect on 2015-06-29 12:31:43
Changes

  1. icomment:
    Finally had a chance to be confident enough with my results to commit and push:
    see branch "aspect-lreplace-cleanup" in
    http://chiselapp.com/user/aspect/repository/tcl/timeline
    
    It's not very tidy I'm afraid as donuts are interfering, but a quick précis:
    
    [0c4a83c31e] fixes the bug raised in this ticket (without introducing a test - oops)
    
    [b820489dec] is a new empty-list bug fixed with a test case introduced in 355706aa97
    
    [0f2c6bc9a8] modifies both compiled and interpreted lreplace to allow appending.
    This might still be controversial :-).
    
    [0586ceac09] introduces a "test battery" enumerating over a set of small list
    cases ensuring compiled and interpreted both agree with a reference
    implementation, for a total of about 1200 "mostly free" tests.  It's not at
    all integrated with tcltest, so failures aren't reported usefully for
    downstreams to submit, but was tremendously helpful in this exercise.
    
    
    I hope all but [0f2c6bc9a8] (lreplace can append) and the associated test change 
    should be easy to accept, or at least beat into shape.  I'm a little less sure
    this one is a good idea recalling now that {[string replace foo 3 3 bar] == "foo"}.
    
  2. login: "aspect"
  3. mimetype: "text/plain"