Richard Bucker

After All That Work

Posted at — Aug 13, 2020

I have been working on a 500-line tcl interpreter built on golang. At first things seemed smooth sailing…

and then I started to make some additional progress but I was not able to retrofit a general command shape tooling for all those functions. and then…

sadly not all of the lsort options map to golang’s sorting. At some point I’d have to create one wicked set of customer sorting functions.

And then it happened. There is a “format” command that works a lot like C’s printf, however, unlike C the challenge is knowing what the datatype is. So there we are. Formatting sucks.

I’m not sure that this is going to be a good platform for general purpose app development… more testing to come