News for hackers. Stuff that matters.
Re:Show HN: Run Python, Ruby, Node.js, C++, Lua in the Brows... by kzrdude on Monday November 22, 2021 @11:52AM (#29308521)
Works fine in firefox. The backspace key doesn't work correctly, which is a fun throwback.
Re:Show HN: Run Python, Ruby, Node.js, C++, Lua in the Brows... by sere_lt on Monday November 22, 2021 @01:43PM (#29310089)
Hey, luajit is fun! It should be the only demo affected by the backspace issue (if it's not, please let us know). While all the other REPLs expect raw terminal input (with all the control characters, for example newline and backspace), luajit expects cooked - or line-edited - terminal input.

This means that we had to support keystroke echo and we had to remap ENTER to get the basic functionality, and that full line-editing support is needed to get complete functionality.

Re:Show HN: Run Python, Ruby, Node.js, C++, Lua in the Brows... by kzrdude on Monday November 22, 2021 @02:39PM (#29310735)
Oh, that's fun. You're right, I went straight for luajit and typed in some praise for Mike Pall. Everyone is weird..