- DelphiTools - https://www.delphitools.info -

Tweaking DWScript for AI consumption

Recent changes to the DWScript  repository [1] have been oriented towards making it more AI-friendly, because let’s face it, humans writing code is going the way of the Dodo [2]. Last post announced the DWScript Compendium [3], which lists all the new language changes below (and a few more).

dwsRunner utility which has been in limbo for quite a while got a small revival with new command line parameters which match AI’s best guesses (and there is a short help in case they miss), key changes are:

As for DWSScript language and RTL, these target patterns AI would try first:

The DWScript Compendium was also moved to serverless deployment, and is now hosted on Cloudflare Pages [5]. The compendium backend creates a fully static site (but that still supports dynamic search) which is pushed to a repo.

Other work in progress revolve around strengthening test cases and supporting more intrinsics for the JiT, a new experiemental Kernel Compiler Library (KCL) which aims for JiT compilation of TFLite neural networks, a rewrite/replacement for the MPIR DLL (BigIntegers).