Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Language Scripting API #11

Open
erherhh4herh opened this issue Nov 5, 2018 · 3 comments
Open

Multi-Language Scripting API #11

erherhh4herh opened this issue Nov 5, 2018 · 3 comments

Comments

@erherhh4herh
Copy link

erherhh4herh commented Nov 5, 2018

I know this engine is set to support C# scripting soon, but I have an idea that could potentially enable the engine to support a multitude of programming languages while only maintaining one. You may have heard of a programming language called "Haxe". Well, not many seem to know that it's compiler has an interesting feature that allows it to trans-pile to multiple different languages, including C#, C++, lua, java, etc! It might not be perfect, but Haxe, including it's compiler, is open-source... It's just an idea to consider!

If you wish to read up on the language and it's compiler, they have a manual:
https://haxe.org/manual/compiler-usage.html

Thanks for your time,
erherhh4herh.

@PanosK92
Copy link
Owner

PanosK92 commented Nov 8, 2018

I haven't heard of it actually. At first glance, the fact that it's open source and that it can generate source code for a multitude of languages are two big pluses. If Haxe hides the trans-pilation complexity well enough (e.g. it trully comes down to those compiler arguments) then I can't think of anything negative.

Of course, I'm just thinking out loud here, I will have a look at it during the weekend to get a more in-depth understanding. I'll leave this issue open as a reminder that scripting has to be taken care of at some point and/or further discussion etc.

Thanks for your time as well erherhh4herh :-)

@bayganik
Copy link

bayganik commented Aug 2, 2021

is C# scripting still continuing?

@PanosK92
Copy link
Owner

PanosK92 commented Aug 2, 2021

Yes. Although I'll probably switch to .Net Core instead of moving forward with Mono.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants