开发者

Parsing/executing C# code in C++ (on Linux)?

开发者 https://www.devze.com 2022-12-25 20:29 出处:网络
I want to be able to add scripting functionality to my application. One of the language bindings I am considering is C# (and possibly VB.Net).

I want to be able to add scripting functionality to my application. One of the language bindings I am considering is C# (and possibly VB.Net).

The challenge is this:

  1. My application is developed in C++
  2. My application runs on Linux

I am aware of Mono, but I dont know (as yet), what is required to allow my C++ appliaction (running on linux), to be scriptable with .Net languages.

  • Is this feasible?
  • Am I crazy for even thinking of doing this?
  • If I'm not crazy, can anyone provide some guidelines on how to go about implementing this?

Help, tips, ideas, suggestions anyone?开发者_开发知识库


The Mono framework has an option specifically designed to allow embedding in C / C++ application. My suggestion would be to spend some time reading the documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号