Artifacts Associated With Ticket 451441ffffffffffffffffffffffffffffffffff
Ticket change [fa81f1b530] (rid 91889) by dgp on 2001-08-16 03:51:55:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "tcl::nop - No-op and minimal bytcode"
- type initialized to: "RFE"
Ticket change [05eb0a020e] (rid 89129) by dgp on 2001-08-16 10:51:55:
- icomment:
File Added - 9586: nop.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d361e46102] (rid 123280) by msofer on 2001-08-16 18:48:05:
- icomment:
Logged In: YES user_id=148712 Fixing a bug (maxStackDepth should be 1, not 0). Sorry ...
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [c4be57044b] (rid 111889) by msofer on 2001-08-16 18:48:06:
- icomment:
File Added - 9600: nop2.patch
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Add attachment "nop2.patch" [4f2540bfc1] (rid 125772) by msofer on 2001-08-16 18:48:06.
Ticket change [f751a49bf0] (rid 91357) by dgp on 2001-08-16 23:16:04:
- icomment:
File Deleted - 9586:
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "nop3.patch" [9360f72403] (rid 105804) by msofer on 2001-08-17 00:43:33.
Ticket change [dd5d689c3a] (rid 114654) by msofer on 2001-08-17 00:43:33:
- 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 - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [04843dc49b] (rid 120010) by msofer on 2001-08-17 06:20:34:
- icomment:
Logged In: YES user_id=148712 New nop4.patch: standard argument substitution, always byte-compiled, fastest execution.
- login: "msofer"
- mimetype: "text/plain"
- title changed to: "tcl::nop - No-op and minimal bytecode"
- username: "msofer"
- icomment:
Add attachment "nop4.patch" [7a7e176371] (rid 90329) by msofer on 2001-08-17 06:20:35.
Ticket change [2362390768] (rid 130917) by msofer on 2001-08-17 06:20:35:
- icomment:
File Added - 9618: nop4.patch
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Add attachment "noopProc.patch" [ec272b7608] (rid 103663) by msofer on 2001-08-18 06:23:32.
Ticket change [d1f38c105f] (rid 113443) by msofer on 2001-08-18 06:23:32:
- 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"? - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [f3ab5867ab] (rid 129752) by msofer on 2001-09-06 02:21:14:
- assignee changed to: "msofer"
Add attachment "noopProc.patch.final" [0c2ab320b4] (rid 114131) by msofer on 2001-09-11 00:21:21.
Ticket change [90f40eaed4] (rid 120545) by msofer on 2001-09-11 00:21:21:
- closedate changed to: "2001-09-10T17:21:21"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 noopProc.patch.final committed - diff to previous is just in comments and formatting.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "msofer"
Ticket change [0a13595585] (rid 113753) by msofer on 2001-09-11 00:21:22:
- icomment:
File Added - 10605: noopProc.patch.final
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment: