I also had further fun with wrapping "proc" by implementing a "pyproc" which called out to Python while looking like a normal Tcl proc.
For sure there is a lack of proper "code as data" constructs in Tcl, like you would find in Lisp.
I think it would be very useful to turn ad_proc into a built-in command and incorporate it into TCL.
https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tclli...
andrewshadura•1h ago
BoingBoomTschak•1h ago