nene icon indicating copy to clipboard operation
nene copied to clipboard

nene bindings

Open Andre-LA opened this issue 3 years ago • 1 comments

It would be great if nene could be used as Lua module (similar to Lua-SDL2) and C as extra options (and other languages with C bindings).

This might be a separate project.

Andre-LA avatar Oct 23 '21 15:10 Andre-LA

I think it can be interesting to make bindings to other languages in a similar way that there is bindings for raylib and sdl for many languages out there.

Once I have the proper time, I'll experiment with this, and start trying with nene, if succeded, nene could be a cool library for others, less known languages.

For instance, I really would like to try binding Vala, since it also compiles to C (as nelua), but it's similar to C#, which is being adopted by many game developers (thanks to xna and unity influence).

Lua also would be nice, and curiosly, even nelua may get the benefits due to compile time improvements: https://github.com/edubart/nelua-lang/wiki/Speeding-up-Nelua-compilation#compiling-single-header-libraries

Of course, I personally never tried to make a C library using nelua, so this an experimental ideia.

Andre-LA avatar Jul 18 '22 21:07 Andre-LA

This will not be implemented.

Andre-LA avatar Dec 13 '22 01:12 Andre-LA

This is now in consideration again.

Andre-LA avatar Jan 12 '23 20:01 Andre-LA

Nene it's being rewritten in C, and it'll feature code generation utilities to provide bindings to other languages, which for now it'll be just Nelua.

Andre-LA avatar Feb 24 '23 00:02 Andre-LA