Block a user
Ensure stack overflows don't kill Ludus
#29 helps but does not fix this. If recursive calls are in tail position, we won't get stack overflows. But beginners may overflow the stack by non-tail recursive calls, and we don't want that to…
Tail call optimization
The solution to this is to ensure that all relevant functions in the Janet interpreter are themselves written in a way that Janet's TCO takes care of it. (In theory.) Current practice in the…
Refs & state
One design issue that's not so easy-peasy: refs would now need globally unique names.
That's probably good enough for Computer Class, which probably won't use refs except under the hood.
Poss…
Improve parser errors on extra exprs/tokens on line
Comment on last line of file causes scanner to die
String patterns
Implemented in 5deab18356. Not closing yet for to do more testing. At current, the following works as expected:
match "You are the eggman" with {
"I {verb} the {noun}" -> (verb, noun)
…