需要一个工具将C#源代码转换为C ++ [英] Need a Tool to transform C# source code to C++

查看:669
本文介绍了需要一个工具将C#源代码转换为C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如上所述,我需要一个免费且轻便的工具来将简单的C#代码转换为C ++代码.有什么建议吗?
谢谢!

As the title above,I Need a free and lightweight tool to transform simple C# code to C++ code. Any suggestion?
Thanks!

推荐答案

我怀疑您会找到这样的产品.
首先,我怀疑该工具是否真的有效(但是它们 [
I doubt you are going to find such a product.
First of all I doubt the tool would really work (however they[^] claim it works, you may try the demo).
Then, I suppose, it won''t be not lightweight nor free.


我认为不存在这样的工具,但是如果我需要这样做,我可以将其发布为 vWorker.com 上的工作.拥有大学学位的第三世界国家的人为每小时一两美元而感到兴奋.
I don''t think such a tool exists, but if I needed to do this I would post it as a job on vWorker.com. Someone in a third-world country with a university degree would be thrilled to do it for one or two dollars an hour.


^ ]

该项目将使用ANTLR v3.2生成C#4.0解析器.然后,您可以添加自己的逻辑来执行您想要的操作.

最好的问候
Espen Harlinn
ANTLR C# grammar[^]

This project will generate a C# 4.0 parser using ANTLR v3.2. Then you can add your own logic to do what you want.

Best regards
Espen Harlinn


这篇关于需要一个工具将C#源代码转换为C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆