NLua 的模拟,有助于 运行 来自 C# 的 pascal 脚本

Analog of NLua that helps to run pascal scripts from C#

您知道哪些库可以帮助 运行 从 C# 编写 pascal 脚本吗?是的,我知道这是个糟糕的主意,但是...我别无选择...

P.S。抱歉我的英语不好!

使用 Free Pascal, and interface it using C# interop.

之类的编译器将 pascal 代码编译为 DLL

请注意,COM 兼容 SEH 是 64 位 DLL 的默认设置,但需要为 32 位 DLL 重新编译 FPC (-dtest_win32_seh)