But if the C++ source code is opensourced, it could easily be ported to Pascal and maybe even show horned into the FPC compiller an additional output option.

Not sure if it's possible, but it is food for thought.