wasmoon icon indicating copy to clipboard operation
wasmoon copied to clipboard

A real lua 5.4 VM with JS bindings made with webassembly

Results 44 wasmoon issues
Sort by recently updated
recently updated
newest added

I wrote a small script to benchmark wasmoon's runtime overhead with multiple calls. However calling `doString()` more than a few dozen times causes a memory error ```javascript const { LuaFactory...

The PR #101 handles null values only when `injectObjects` is set to true. When `injectObjects` is undefined or false, null values are not handled at all, somehow triggering a `TypeError`...

It kinda with breaking changes (in filesystem tests) but i tryed my best to bring multret support as softly as i can.

I have an electronjs app (v11.4.9) that is forced to used node v12.18.3, trying the following code in a html script tag throws a node version mismatch error: ```html const...

For example: export default class MyClass{ public static data:string = "hello"; } Then how can I use "MyClass" type in Lua? Can Just like js,: print(MyClass.data)--log hello?

The package does not handle null values properly when sending data structures between javascript and the lua vm. First of all, the enableProxy setting needs to be set to false...

Pretty much described in the title, adds some documentation, mainly for public facing functions and classes, i would have typed the options of `factory.ts` - createEngine function, but i don't...

This module doesn’t have any runtime dependencies, and would be a nice addition to the Deno ecosystem :)

I'm using the workaround from the readme to allow using await in callback functions. It works well when there is only one asynchronous call inside the callback function. But if...

Should be an easy fix, running `lua.global.loadLibrary(wasmoon.LuaLibraries.UTF8)` puts the String library into the global table utf8 instead of the UTF8 library https://github.com/ceifa/wasmoon/blob/main/src/global.ts#L112