Hi All :
i annoounce a python cli library to create naitive extensions for Defold using nim-lang :
Nimc
command line utilty in order to create Defold naitive extensions in Nim .
Install
pip install nimc
Getting started
open terminal in root path of defold project :
Create Extension named ext :
nimc init ext
Build project :
nimc build ext
Add the extension to game.project
file :
under section library → include dirs = /ext/ext
Usage of naitive extension :
in any script file :
local result = ext.add(10,12)
print(result)