Skip to content
Tcl Source Code History Of Ticket 451441ffffffffff
Login

History Of Ticket 451441ffffffffff

Artifacts Associated With Ticket 451441ffffffffff

  1. Ticket change [fa81f1b530] (rid 91889) by dgp on 2001-08-16 03:51:55:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "- New Builtin Commands"
    10. title initialized to: "tcl::nop - No-op and minimal bytcode"
    11. type initialized to: "RFE"
  2. Ticket change [05eb0a020e] (rid 89129) by dgp on 2001-08-16 10:51:55:

    1. icomment:
      
      
      File Added - 9586: nop.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [d361e46102] (rid 123280) by msofer on 2001-08-16 18:48:05:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Fixing a bug (maxStackDepth should be 1, not 0). Sorry ...
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [c4be57044b] (rid 111889) by msofer on 2001-08-16 18:48:06:

    1. icomment:
      
      
      File Added - 9600: nop2.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Add attachment "nop2.patch" [4f2540bfc1] (rid 125772) by msofer on 2001-08-16 18:48:06.

  6. Ticket change [f751a49bf0] (rid 91357) by dgp on 2001-08-16 23:16:04:

    1. icomment:
      
      
      File Deleted - 9586: 
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Add attachment "nop3.patch" [9360f72403] (rid 105804) by msofer on 2001-08-17 00:43:33.

  8. Ticket change [dd5d689c3a] (rid 114654) by msofer on 2001-08-17 00:43:33:

    1. icomment:
      
      
      File Added - 9609: nop3.patch
      
      Logged In: YES 
      user_id=148712
      
      nop3.patch is a new version that takes a different approach
      to argument substitutions:
      - if no argument to tcl::nop would require substitutions, it
      byte-compiles
      - otherwise, it calls the command
      
      This does not break the standard Tcl syntax; tcl::nop does
      not work as a comment any longer:
         tcl::nop [incr foo]
      does cause an increment in foo (and isn“t bcc'ed), whereas
         tcl::nop {[incr foo]}
      is bcc'ed and doesn't change foo
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  9. Ticket change [04843dc49b] (rid 120010) by msofer on 2001-08-17 06:20:34:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      New nop4.patch: standard argument substitution, always
      byte-compiled, fastest execution.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. title changed to: "tcl::nop - No-op and minimal bytecode"
    5. username: "msofer"
  10. Add attachment "nop4.patch" [7a7e176371] (rid 90329) by msofer on 2001-08-17 06:20:35.

  11. Ticket change [2362390768] (rid 130917) by msofer on 2001-08-17 06:20:35:

    1. icomment:
      
      
      File Added - 9618: nop4.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  12. Add attachment "noopProc.patch" [ec272b7608] (rid 103663) by msofer on 2001-08-18 06:23:32.

  13. Ticket change [d1f38c105f] (rid 113443) by msofer on 2001-08-18 06:23:32:

    1. icomment:
      
      
      File Added - 9657: noopProc.patch
      
      Logged In: YES 
      user_id=148712
      
      Following Brent Welch's excellent suggestion: giving [proc]
      the smarts to bytecompile a [noop], instead of defining a
      new command -->noopProc.patch
      
      Currently only will be bytecompiled to noop procs of the
      form
         proc a xxxx yyyy
      where the arglist xxxx's string rep contains just spaces and
      the word 'args', and the body yyyy's string rep contains
      just spaces, tabs or newlines.
      
      I.e,
         proc a { args } {  }
      will be bytecompiled, but
         proc b { args } #
      will not.
      
      Maybe this ticket should move from "Feature Request" to
      "Patch"? 
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  14. Ticket change [f3ab5867ab] (rid 129752) by msofer on 2001-09-06 02:21:14:

    1. assignee changed to: "msofer"
  15. Add attachment "noopProc.patch.final" [0c2ab320b4] (rid 114131) by msofer on 2001-09-11 00:21:21.

  16. Ticket change [90f40eaed4] (rid 120545) by msofer on 2001-09-11 00:21:21:

    1. closedate changed to: "2001-09-10T17:21:21"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      noopProc.patch.final committed - diff to previous is just in
      comments and formatting.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "msofer"
  17. Ticket change [0a13595585] (rid 113753) by msofer on 2001-09-11 00:21:22:

    1. icomment:
      
      
      File Added - 10605: noopProc.patch.final
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"