<i>tailcall splicing spot vs. raw TclInvokeObjectCommand</i> status still Open with 4 other changes
by
.
D 2014-05-20T17:32:38.489
J icomment Since\swe\scan\sdetect\sthe\ssituation\swith\s<tt>tailcall</tt>,\swe\scan\s(informatively)\sprevent\sit\sfrom\scrashing.\sFailing\sthat,\swe\scan\sat\sleast\smake\sit\scleanly\s<tt>Tcl_Panic</tt>\swith\sa\sdescription\sthat\smakes\ssense\sto\sdownstream\susers,\srather\sthan\ssaying\ssomething\swhich\sonly\sMiguel\sunderstands,\sbut\sdoing\sthis\sin\sTcl\serrors\swould\sindeed\sbe\sbest.\sThese\sare\sthe\ssteps\sthat\sshould\sbe\staken\sprior\sto\sdoing\sanything\sto\sactually\smake\sthe\sOCaml\swork…\r\n<p>\r\nBut\sI\swant\sto\scontinue\sto\sexplore\sother\soptions\sto\schanging\sthose\sprocedures\sbecause\sforcing\sTk\sto\sDo\sThe\sWrong\sThing™\sbecause\sof\sthird\sparty\sAPI\sabuse\s<i>really</i>\sstrikes\sme\sas\sa\smassively\sretrograde\sstep.\r\n<p>\r\nOne\spossible\sfix\swould\sbe\sto\smake\sprocedures\sinstall\sa\sstring\scommand\simplementation\s(which\sTcl\swouldn't\snormally\suse)\sthat\sdoes\s“the\sright\sthing”,\sdelegating\sthrough\s<tt>Tcl_EvalObjv</tt>\sif\sthere's\sno\scontext.\sThat\swouldn't\sinterfere\swith\sanything,\ssince\swe\snever\spromised\sat\sall\sthat\sprocedures\swould\snot\sdo\ssuch\sa\sthing\s(nor\swould\sanyone\spoking\stheir\sfingers\sin\sreally\sbe\sthinking\sto\slook\sfor\ssuch\sa\strick).\r\n<p>\r\nWe\sstill\sneed\sto\sfix\sthings.\sIt's\sjust\sthat\sright\snow,\swe\scan't\ssay\sthat\sthe\sOCaml\scode\swon't\stry\sto\suse\sthe\strick\swith\scalling\sprocedures\sthey've\screated\sthemselves\sthat\scontain\s<tt>tailcall</tt>;\swe\scannot\spossibly\sprevent\sthem\sfrom\sdoing\sthat.
J login dkf
J mimetype text/html
J username dkf
K 4955f5d8a4dce006e063f924bc9709f7850ecb6a
U dkf
Z 72b7203e66a60465e12250450934d833