We cut the Gordian knot in Anvil (https://anvil.works) by replacing pretty much everything in that stack with one language (Python). You need to get rid of that complexity if you want to get anywhere close something like Delphi.
Anvil got pretty well reviewed on HN a few months back: https://news.ycombinator.com/item?id=15584124
--
[1] - You can quibble about the exact number of languages, but they all have syntax and they all have source code you need to edit and run to see a result. And a successful injection into any of them is usually game over.