C# 到 Oxygene 代码转换器
我知道 CodeGear 制作了 BabelCode,它使用 Code DOM 将 C# 转换为 Delphi for .NET。 我很好奇是否还有其他类似的工具可以将 C# 转换为 Delphi Prism? 如果没有,那么使用 Code DOM 创建一个涉及什么(是的,这是开放式的!)
更新:这现在已内置到 Delphi Prism 中。 只需粘贴或导入您的 C#,您就拥有了 Oxygene 又名 Delphi Prism 代码。
I know CodeGear made BabelCode that uses the Code DOM to convert C# to Delphi for .NET. I am curious if there are any other similar tools to convert C# to Delphi Prism? If not, what is involved in using the Code DOM to create one (yeah, that is open ended!)
Update: This is now built into Delphi Prism. Just paste or import your C# and you have Oxygene aka Delphi Prism Code.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
目前还处于早期阶段,但 Carlo 刚刚发布了他的开源“C# to Oxygene”工具的第一个修订版:
http://code.remobjects.com/p/csharptoxy/
It's in its early stages but Carlo just published a first revision of his open source "C# to Oxygene" tool:
http://code.remobjects.com/p/csharptoxy/
我看到的一种选择是在 C# 编译的程序集上使用 .NET Reflector。 它有一个 Oxygene 语法。 这是一种很长的路要走,而且并不完全是最佳的。
One option I saw was to use .NET Reflector on the C# compiled assembly. It has an Oxygene syntax. That is kind of the long way around and not exactly optimal.
使用 BabelCode 将 C# 转换为 Delphi,然后使用 Oxidizer 将 Delphi 转换为 Prism。 我意识到这不是一个出色的想法,但它至少可能比通过 Reflector 更自动化一点。 祝你好运。
Use BabelCode to convert your C# to Delphi, and then use Oxidizer to convert Delphi to Prism. Not a stellar idea, I realize, but it might at least be a little more automatable than going through Reflector. Good luck.