Log in

HCMC Journal

TypeScript and AIs 2025-11-17 to 2025-11-21

to : Martin Holmes
Minutes: 125

TypeScript is in our future, and I need to get a handle on it by doing something useful, so I set up Deno so I could use its built-in bundle command to compile TypeScript, and set about creating a TypeScript version of the sorttable.js code that gets included in virtually every project I have that has tables. With some help from AI, I got an object-oriented class-based TypeScript version of the lib working, with a test file, and I’m going to keep moving forward with TS. This lib will end up in the hcmc svn somewhere, both as TS and compiled (but not minimized) JS.

On Tuesday, I installed the tsc compiler since that seems to have more options (including keeping comments in the output), and then migrated the project into the hcmc repo, adding more comments and documentation.

On Wednesday, I continued some earlier work I’ve been doing on evaluating AIs for their possible utility in transcribing manuscripts and correcting bad OCR, running some sample material past the latest Gemini 3 model. The results were remarkably good; this is the first time I’ve seen anything close to this level of accuracy for OCR transcription of manuscripts, and the AI even annotated the text with useful additional information.