Nice share, Paul. Bookmarked.

But I don't think there's a need for anyone (of course unless for educational purposes) to write a scripting engine, because you can use Python or Lua, which both have their conversions to Pascal (or headers). Also, if you want to use Pascal as your scripting engine, you can use Pascal Script, which is designed for Delphi as well as for FPC.

Nevertheless, it may be an interesting challenge to take. This tutorial is worth considering, too, if you want to dig into this.