fengari
fengari copied to clipboard
🌙 φεγγάρι - The Lua VM written in JS ES6 for Node and the browser
- v8 announcement: https://v8project.blogspot.com.au/2018/05/bigint.html - firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1366287 - tc39 slides: https://docs.google.com/presentation/d/1Bx13eCgM9Rujs4zNdfO95de_4wehhx8RxNx5aZl-3D4/edit#slide=id.p
When trying to use src/luaconf.js unmodified in a browser environment, you will get an error like "ReferenceError: process is not defined", since the global `process` is not defined in a...
What do you think about porting the source to ES6 module format? It would be pretty easy to still publish to npm or other places as CJS in a build...
I don't like having assets such as images in a the core's source code repository.
It's essentially exposing `realloc` to Javascript. First place to use would be inside of `luaL_prepbuffsize` Not available in any browsers yet https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer#Browser_compatibility
## Collection: - IE has `window.CollectGarbage` - If node is started with `--expose-gc` then you get a `global.gc` function. - Chrome can be started with a similar flag to get...
Hi, I'm sending you that message to know if the project is still maintained and if it's planned to update it. I would love to see it updated with Lua...
I'm trying to use Fengari on a personal project, but it sometimes just... stops updating my module return values? For instance, I'll add a new function to the table, and...
This PR attempts to address #135 by [generating `.d.ts` files from `.js` directly](https://www.typescriptlang.org/docs/handbook/declaration-files/dts-from-js.html). Some JSDoc is added to provide better type hints. Most of the changes are just JSDoc comments,...