Re:Wisp: A light Lisp written in C++
by MaxBarraclough on Tuesday December 29, 2020 @07:15AM
(#25569023)
Very impressive for a high-schooler.
> He had the wonderful idea of not implementing any undefined behaviour that wasn't strictly necessary
What does this mean? It sounds like the way an ordinary C compiler works: it ignores the possibility of undefined behaviour occurring, as the C standard allows it to do this.
I just remember that it crashed if you tried to modify a string literal, which IIRC is undefined. And that it was very diligent about scope.
If you had signed integer over/underflow it wrote insulting error messages.
Re:Wisp: A light Lisp written in C++
by sillysaurusx on Monday December 28, 2020 @10:57AM
(#25560163)
C99, sure. C++?
It probably won't be very fast though. There are parts of C++ that doesn't map very well to common lisp, and which means some parts will have more overhead than necessary.