News for hackers. Stuff that matters.
Re:Valtan: Common Lisp to JavaScript Compiler by rini17 on Friday April 03, 2020 @01:57PM (#22772199)
It could be done using WebAssembly. But AFAIK all existing Common Lisp implementations want to manipulate the stack in ways that WASM disallows.
Re:Valtan: Common Lisp to JavaScript Compiler by pjmlp on Friday April 03, 2020 @04:20PM (#22773565)
There is schism if you are into Schemes, but it does rely on experimental support for tail calls and reference types.

https://github.com/google/schism

https://www.youtube.com/watch?v=V7IxiMjKWZM

Re:Valtan: Common Lisp to JavaScript Compiler by register on Friday April 03, 2020 @04:04PM (#22773434)
Can you be more specific about the peculiar way in which CL manipulates the stack? Where to find more details about CL internals?
Re:Valtan: Common Lisp to JavaScript Compiler by rwallace on Friday April 03, 2020 @06:34PM (#22774586)
In CL, if you catch an exception, you have the option of trying to fix the problem and then letting the code continue from where it left off. This is only moderately difficult to implement in machine code, but somewhere between problematic and impossible on a high level platform that has already implemented exceptions by stack unwinding.
Re:Valtan: Common Lisp to JavaScript Compiler by tachyonbeam on Friday April 03, 2020 @04:43PM (#22773770)
You mean call/cc type of manipulations?