-
Build script can't find `win64luajit\lua51.dll`
> win64 need fix
That's on the readme so I guess this is related but I would like to use `node-luajit` and I can't...
Is this something easily …
-
I need to convert Lua code into bytecode. I've seen that you should use `lua_dump` but I have no idea how to do that in JavaScript. Any help?
-
I'm having some mental fengari -> js // js -> fengari corroboration issues:
in my browser console:
`fengari.load('js=require("js"); local jq=js.global.jQuery; print(jq:find(\'body\'):html())')();`
…
-
There is difference between fengari and Lua 5.3:
```lua
local t = {1, nil, 3, 4}
print(#t) -- 1 (4 in Lua 5.3)
```
```lua
local t = {nil, nil, 3, 4, 5, 6, 7, 8}
print(#t) -- 6 Why?
```
Acco…
-
Hey,
I'm new to Fengari (and Lua VMs in general) and was wondering about some general performance tips. Here is my code (it is running in a child process):
```JavaScript
function start() {
/…
-
I'm trying to run js.global.document.createElement
When I do
```lua
js.global.document.createElement(lua_tojsstring ('b'))
```
It errors and says lua_tojsstring doesnt exist
-
Hi,
I'm loading Pure Lua Crypto into my client. It seems to be working but I get a warning so I thought I'd bring it to your attention:
```
XML Parsing Error: no root element found
Location: http…
-
Hi!
I'm currently working on a website that will allow people to execute scripts. I have sandboxed everything, but I want to know the best way of preventing things like `while true do` with no wait…
-
I am trying to port this example of three.js to Fengari:
https://threejs.org/examples/?q=shader#webgl_shader
However I am getting these errors and the example does not work:
```
THREE.ShaderMate…
-
string.rep should "Returns the empty string if n is not positive." (from the Lua documentation). The Fengari implementation errors with "resulting string too large" if you pass -1 to string.rep.
T…