Block a user
Comment on last line of file causes scanner to die
Mutual recursion
Added in bbd41a0f74
Format:
fn foo
fn bar () -> foo ()
fn foo () -> :foo
bar () & => :foo
fn baz
baz () & =>…
bbd41a0f74
interpret forward-declared functions, allowing mutual recursion
bc1eac46b8
validate forward declarations
d0a6cdbf54
parse fn forward declarations
Wire up WASM + good-enough Ludus for
ludus-web
testing
Test new scanner, parser, validator, interpreter against prelude
Ensure docstrings work and are available in the interpreter
Validator should validate nested pkg accesses
Good-enough validator
Basic pkg checking; no ns checking. 524e3627fb
Left to implement: static nested pkg nesting; and any ns checking at…
pkg
s and ns
es
Current status, good enough for Computer Class, I think:
pkg
works and is validated.ns
access does not pass validation, and is not yet implemented in the interpreter.- pkg access,…