Skip to content

Native NeLua plugins #431

Description

@Sygmei

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThe issue is about a new incoming / requested feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions