<i>direct compile of pure list scripts</i> status still Open with 4 other changes
by
.
D 2008-06-03T03:13:31
J icomment Logged\sIn:\sYES\s\nuser_id=61031\nOriginator:\sNO\n\nThe\sonly\sthing\swe\sshould\sworry\sabout\sis\swhen\sa\slist\selement\scontains\na\s';',\sand\sit\sis\snot\sconstructed\susing\s'list'.\sE.g.:\n>set\sx\s{puts\sstdout\sa;puts\sstdout\sb};#\sstring\scontaining\stwo\scommands\nputs\sstdout\sa;puts\sstdout\sb\n>lindex\s$x\s2;#\snow\s$x\swill\sbecome\sa\slist,\sbut\sthe\sstring\srep\sis\snot\sadapted\na;puts\n>\seval\s$x\na\nb\n\nWill\sthis\sstill\sfunction\sthe\ssame\safter\sapplying\sthis\spatch?\n\nA\sway\sout\sof\sthis\sproblem\sis\ssimply\sdisallowing\sthat\sstring\nelements\scontain\s';'.\sThen\sthe\s'lindex\s$x\s2'\sshould\ssimply\ngive\san\serror\sthat\sthe\sstring\scannot\sbe\sconverted\sto\sa\svalid\nlist.\sThen,\sstill,\sit\sis\sa\sslight\sincompatibility,\sbut\sat\nleast\sthe\suser\sis\spointed\sto\sthe\splace\swhere\sthe\sreal\sproblem\nis:\sTrying\sto\sconvert\ssuch\skind\sof\sstring\sto\sa\slist,\swhich\nchanges\sthe\ssemantics.\n\nThis\scan\sbe\sshown\sas\swell\sby:\n>lappend\sx\sc\nputs\sstdout\s{a;puts}\sstdout\sb\n\nNow\smagically,\scurly\sbraces\sappear\saround\sthe\s"a;puts"\nFor\sthe\srecord:\sI\sagree\swith\sthis\spatch,\sbut\sthe\nconsequence\sfor\sthe\slist\sbehavior\sshould\sbe\swell\sconsidered.\n\nRegards,\n\s\s\s\s\s\sJan\sNijtmans\n\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 1661637fffffffffffffffffffffffffffffffff
U nijtmans
Z 2dc3719d5dff4c78099b8aca23cf33e3