Scott Richmond scott
  • Joined on 2023-07-29
scott commented on issue twc/ludus#38 2024-05-19 20:20:32 +00:00
Good-enough validator

Passing in contexts: a06014270f

scott commented on issue twc/ludus#40 2024-05-19 20:19:22 +00:00
Janet functions

Done in 24bbef74aa

scott closed issue twc/ludus#40 2024-05-19 20:19:22 +00:00
Janet functions
scott pushed to to_janet at twc/ludus 2024-05-19 20:18:58 +00:00
24bbef74aa add janet functions
a06014270f validate with passed context; don't die on builtin functions
Compare 2 commits »
scott commented on issue twc/ludus#4 2024-05-19 19:54:42 +00:00
Improve namespaces

In fact, completely covered by #5. Closing in favour of #5.

scott closed issue twc/ludus#4 2024-05-19 19:54:42 +00:00
Improve namespaces
scott opened issue twc/ludus#40 2024-05-19 19:32:10 +00:00
Janet functions
scott opened issue twc/ludus#39 2024-05-19 19:30:26 +00:00
Base in Janet
scott opened issue twc/ludus#38 2024-05-19 19:24:16 +00:00
Finish validator
scott opened issue twc/ludus#37 2024-05-19 19:22:02 +00:00
Finish Janet interpreter
scott commented on issue twc/ludus#36 2024-05-19 19:15:04 +00:00
Nice error reporting

Consider producing issues for each of these things

scott opened issue twc/ludus#36 2024-05-19 19:14:49 +00:00
Nice error reporting
scott pushed to to_janet at twc/ludus 2024-05-19 18:54:57 +00:00
608ab4ab67 stringify fns and bugfixes
70bff13eea add ref to main switch
Compare 2 commits »
scott commented on issue twc/ludus#27 2024-05-19 18:45:01 +00:00
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…

scott commented on issue twc/ludus#28 2024-05-19 18:42:21 +00:00
String patterns

Closing for now. If testing uncovers bugs, will file bugfix issues.

scott closed issue twc/ludus#28 2024-05-19 18:42:21 +00:00
String patterns
scott commented on issue twc/ludus#29 2024-05-19 18:41:10 +00:00
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…

scott closed issue twc/ludus#29 2024-05-19 18:41:10 +00:00
Tail call optimization
scott pushed to to_janet at twc/ludus 2024-05-19 05:58:47 +00:00
8d3d9a2dc5 2big commit: stand up fns, definitions and calls, lots of bugfixes
scott commented on issue twc/ludus#24 2024-05-18 22:29:18 +00:00
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…