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

If I try to pass in a function that takes in a constructor as a parameter, the closure I send in doesn't treat it that way. ``` lua.global.set("DOM",{ new: (T=>{...

I'm trying to mock Redis lua scripting behavior, and one of the challenges there is that Redis is "binary safe" meaning u can operate with binary data (e.g images), which...

will continue the missing requests, to eventually create the next PR for generating docs (jsdocs, tsdocs, doxygen...) closes #106 …1c87b3c745d6428fff48a5aa54

This PR removes the limitation of awaiting promises in Lua functions that are called from Javascript. **Effect** If a Lua function is called from Javascript, it will still return the...

This PR adds support for calling constructors! It triggers when calling a javascript class from lua. Classes are distinguished from generic functions by the `.constructor`-field. **Syntax:** ```lua local ws =...

in my turbowarp extension that lets you write lua code in your projects, i have the ability to see errors. the issue here is that despite the script working just...

Hi there! I might be being a little dumb, but I have a use case for some scripting related tasks within a Bun.sh framework I am working on, and I...

This PR addresses two issues 1. binary data can not properly be returned from lua, as it is "string" type in lua, which is assumed by wasmoon to be a...

Hi, It looks like the latest version of the [npm package](https://www.npmjs.com/package/wasmoon) 1.16.0 is not in sync with the main branch. I found this while running into an error when returning...

2.0

Fixes #21 #83 #127 Tried to fix #61, but emscripten have a very limited support for deno