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

Native NeLua plugins #431

Open
Sygmei opened this issue Jul 25, 2022 · 0 comments
Open

Native NeLua plugins #431

Sygmei opened this issue Jul 25, 2022 · 0 comments
Labels
feature The issue is about a new incoming / requested feature
Projects

Comments

@Sygmei
Copy link
Member

Sygmei commented Jul 25, 2022

In addition of having a CI pipeline that can compile native C++ plugins for all platforms, a package could contain .nelua files that would be compiled using :

  • embedded nelua to C transpiler
  • embedded tcc compiler

Check out XInput bindings for example : https://github.com/Rabios/nelua-fun/blob/main/xinput/xinput.nelua
This would allow users to create native plugins without having to use C++ at all

Another alternative would be https://github.com/vlang/v which is super promising. It also emits C code which can then be compiled using TCC.

A C++17 wrapper for TCC is available here : https://github.com/MetGang/TccWrapper

@Sygmei Sygmei added the feature The issue is about a new incoming / requested feature label Jul 25, 2022
@Sygmei Sygmei added this to To do in Version 0.6 via automation Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature The issue is about a new incoming / requested feature
Projects
Version 0.6
  
To do
Development

No branches or pull requests

1 participant