Skip to content
Tcl Source Code Artifact [6a31430610]
Login

Artifact [6a31430610]

Artifact 6a314306107e06f93d9c21b502ce7f6eb5dfb81e:

Ticket change [6a31430610] - Ticket [44fd4b9a4eb9ff55|44fd4b9a4e] <i>More lreplace weirdness</i> status still Open with 3 other changes by ferrieux on 2015-06-22 17:03:22.
D 2015-06-22T17:03:22.196
J icomment My\searlier\sremark\son\sthe\scompiled\sversion\sbeing\s"buggy"\sis,\sof\scourse,\srelative\sto\sthe\sdocumented\sbehavior\s("first\smust\sexist").\r\n\r\nNow\ssince\syou're\ssuggesting\sto\smake\sslightly\sincompatible,\sbut\sextremely\sreasonable\supdates\sto\sthe\sdocumented\ssemantics:\syes,\sI\sagree\sthat\sone\ssingle\srule\sshould\sdefine\sallowed\spositions\sin\s[lreplace]:\smake\ssure\sthat\sthe\starget\srange\s"touches"\sthe\sinput\slist.\r\n\r\nThis\sallows\sfor\r\n\r\n\s\slreplace\sa\s1\send\r\n\s\slreplace\s{}\s0\send\r\n\r\nand\sprecludes\r\n\r\n\s\slreplace\sa\s2\send\r\n\s\slreplace\s{}\s1\send\r\n\r\nSo\sI'm\sokay\sif\syour\splan\sis\sto\supdate\sthe\snoncompiled\ssemantics\sas\sjust\sdescribed.\r\n\r\nAs\sto\sthe\scompiled\sversion,\sagain,\sI'd\ssuggest\sto\sdrastically\sreduce\sthe\sambition\sof\sthe\soptimizer\s(especially\sthe\shandling\sof\sthe\slrange-equivalent\scases\sknown\sat\scompile\stime,\ssince\sthere's\sno\sdemand).
J login ferrieux
J mimetype text/plain
K 44fd4b9a4eb9ff5551e8e68d4ffc592946a035e4
U ferrieux
Z e4d25dc13a76fc2900c1e50e5cf485df