Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fa81f1b530215eb3a32519a38c340c0bd14b5fa3
Ticket: 451441ffffffffffffffffffffffffffffffffff
tcl::nop - No-op and minimal bytecode
User & Date: dgp on 2001-08-16 03:51:55
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    In the discussions about TIP 53
    
    http://purl.org/tcl/tip/53.html
    
    Miguel Sofer counter-proposed an approach
    where Tcl would add a single special
    built-in command [tcl::nop], and then the
    [assert] functionality (and more!) could
    be defined in terms of [tcl::nop] as a
    separate package.
    
    Here is a patch Miguel and I have produced
    that implements tcl::nop.  Try it!
    
    The result of [tcl::nop] is always an empty string.
    When bytcode compiled, [tcl::nop] does nothing and its
    arguments are not substituted.  When not byte-code
    compiled (very unusual), [tcl::nop] behaves exactly
    like
    
    proc tcl::nop args {}
    
    so its arguments are substituted, but it still does
    nothing.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "- New Builtin Commands"
  10. title changed to: "tcl::nop - No-op and minimal bytcode"
  11. type changed to: "RFE"