D 2025-08-16T13:06:20.604
J icomment Nice\sthing.\r\n\r\nAs\sfor\sobjections\sor\srather\stheoretical\sbreakage,\sI\sthink\sthe\sway\syou\sdid\sit\sis\sone\sof\sthe\sbest\sunder\sthese\scircumstances\s(without\shaving\snamespace-based\slazy-load\sfacility).\r\n\r\nFor\sinstance\sone\scan\srewrite\s`package\srequire\stcl::oo`\sto\sforce\sinitialisation,\sso\scould\shelp\sfor\ssome\stheoretical\scase\sit\sis\sreally\sneeded\s(for\sexample\slike\sbelow).\r\n\r\nAnd\sthe\spossible\sbreakage\smay\sbe\stheoretic\sendless\sloop\sin\sTclOOInitModuleObjCmd,\sif\ssome\scommand\sgets\sinjected,\smocked-up\setc,\se.\sg.\sby\ssomething\slike\sthis\s(red\sis\slazy\sbranch):\r\n
\r\n\r\nAs\sfor\simprovements,\sI'd\slater\sprovide\smy\sattempt.\r\n\r\n\r\n\s\s%\srename\s::oo::class\s::oo::_mocked_class;\r\n\s\s%\sproc\s::oo::class\sargs\s{\sputs\s"mockup\s$args";\stailcall\s::oo::_mocked_class\s{*}$args\s}\r\n\s\s%\s::oo::class\screate\sA\r\n\s\smockup\screate\sA\r\n-\stoo\smany\snested\sevaluations\s(infinite\sloop?)\r\n+\s::A\r\n
>\sLooking\sfor\san\sextension\sthat\suses\sit\s...\r\n\r\nI\sthink,\sItcl\swould\sbe\sgood\scandidate\s(v4.x\sis\sbased\son\stclOO). J login sebres J mimetype text/x-fossil-wiki K effa2e2346f8372ad4982d16bad189fab96ceb56 U sebres Z e72075fad0e2f679adc0a7c1aee7ea67