-
-
Notifications
You must be signed in to change notification settings - Fork 101
Problem with alert "input:" in io.read() call #58
Comments
heh. I didn't even know stdin was hooked up to Looks like this is an emscripten bug. I guess you'll have to file it over there? ping @kripken |
Hi daurnimator, I do not think is an emscripten bug. In his page it works. Your ping calls him on this issue? Tks |
By default emscripten hooks up |
@kripken Wouldn't it be bisecting emscripten that's helpful here? As far as I can tell, it's something weird happening inside of fread/libc/syscall emulation, rather than in lua.vm.js. |
Yes, but if you upgraded lua here, might need to bisect that too (might use different syscalls). |
Hi daurnimator,
I'm not a programmer. I know js on a basic level and I'm learning Lua.
I love your work and it helps me to develop scripts locally.
Local and online (http://daurnimator.github.io/lua.vm.js/repl.html link from GitHub) when I call io.read() lua.vm.js returns me an allert window ("input: ") and then another one and then another one ...
mee=io.read() print(mee)
In google I found http://kripken.github.io/mloc_emscripten_talk/lua/repl.html#
This works well. In io.read () call it give me back only one alert. It works!
It's a bug? It's my browser??
Html from second link (http://kripken.github.io/mloc_emscripten_talk/lua/repl.html#) page not work in local with lua.vm.js from your GitHub.
What can I do?
Can you give me vm from http://kripken.github.io/mloc_emscripten_talk/lua/repl.html# ?
or can you fix vm in GitHub?
Tks
Kata
The text was updated successfully, but these errors were encountered: