mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-09-01 02:11:58 -04:00
[Modding] start add wasm integration (#84)
* start add wasm integration * some test * some improvement * try more language * expend try with python * update * half working python * improve and extend test * get py2wasm work but not so well * convert to use in cpp * start prepare multimodule * improve a little by using cpp (but still not great) * Update wasm.cpp * try ocaml * add a working example of python with a not complete function * remove type to be even more curse * start add a proper mod loader * allow mod to communicate between * example of hook --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
function fib(n)
|
||||
if n <= 1 then
|
||||
return n
|
||||
end
|
||||
return fib(n - 1) + fib(n - 2)
|
||||
end
|
||||
Reference in New Issue
Block a user