Working on update to handle DB's SCRIPT files
DB from Pacific and Asian has a batch of old SCRIPT files that need converting. Plain search-and-replace won't do for this, and I don't want to create yet another custom application just for this job. It occurred to me that I might be able to build a Pascal interpreter into Transformer, so that Transformer operations could also be actual script blocks. I've done some research and testing today, and discovered that there are two candidates: the JEDI TJVInterpreter, and RemObjects Pascal Script. The former is too simple and completely undocumented. The latter would be great except that it has no packages for Delphi 2005, so I'm stuck with no GUI components or property editors.
I spent the day getting a test application organized, and got a proof-of-concept code block to run. I'm able to execute basic functions that use basic types. However, I've not yet successfully imported classes such as TStringList; when I try to do so, I get no errors, but the function produces no result. I need to figure this out, because I'll also have to be able to use TTntStringList or TWideStringList, which will mean writing my own import units and calling them on the model of the built-in ones.
However, if we get this working, Tranformer will be twice the tool it is right now; so it's worth a couple of days of hacking and learning.