Scott Richmond scott
  • Joined on 2023-07-29
scott opened issue twc/ludus#57 2024-05-31 17:02:18 +00:00
Validator should validate ns forms
scott opened issue twc/ludus#56 2024-05-31 17:02:05 +00:00
Validator should validate with forms
scott opened issue twc/ludus#55 2024-05-31 17:01:35 +00:00
Validator should validate imports
scott opened issue twc/ludus#54 2024-05-31 16:59:19 +00:00
Validator should validate nested pkg accesses
scott opened issue twc/ludus#53 2024-05-31 16:57:11 +00:00
Finish validator
scott commented on issue twc/ludus#38 2024-05-30 23:59:22 +00:00
Good-enough validator

Basic pkg checking; no ns checking. 524e3627fb

Left to implement: static nested pkg nesting; and any ns checking at…

scott pushed to to_janet at twc/ludus 2024-05-30 23:56:26 +00:00
8e03707f64 fix arity-checking bug; do not check arities in self-recursive function calls
scott commented on issue twc/ludus#5 2024-05-30 23:41:41 +00:00
pkgs and nses

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,…
scott pushed to to_janet at twc/ludus 2024-05-30 23:38:06 +00:00
524e3627fb get pkg validation access working for root pkg access, e.g. Foo :bar and Foo :bar
scott commented on issue twc/ludus#30 2024-05-29 19:12:10 +00:00
Coroutines!

Not needed for Computer Class, it turns out: statelessness is a good thing.

scott commented on issue twc/ludus#24 2024-05-29 19:10:08 +00:00
Refs & state

Everything stays hardcoded for Computer Class; fix this for 0.1.0.

scott commented on issue twc/ludus#23 2024-05-29 19:08:27 +00:00
Graphics protocol

Moved to 0.1.0 because we'll just use the exact same graphics/p5 protocol for Computer Class web frontend.

scott commented on issue twc/ludus#31 2024-05-29 19:07:19 +00:00
Stdin, out, err

@matt and I talked about a special symbol for stdin in the web frontend: *input*.

  • Make sure to sanitize the input so there aren't illegal chars.
  • Strings in Ludus are valid UTF-8. Escaped…
scott opened issue twc/ludus#52 2024-05-24 15:13:54 +00:00
deref should (also?) be value_of
scott opened issue twc/ludus#51 2024-05-24 14:24:05 +00:00
Partially applied functions should be able to take arguments immediately
scott commented on issue twc/ludus#32 2024-05-23 23:34:44 +00:00
Mutual recursion

We need mutual recursion for Sierpinski triangles, which we want to do in Computer Class. Shifted milestone to recognize this.

scott pushed to to_janet at twc/ludus 2024-05-23 23:33:25 +00:00
1dce69e239 work on pkgs
scott closed issue twc/ludus#50 2024-05-23 23:32:30 +00:00
Add sqrt to prelude
scott commented on issue twc/ludus#50 2024-05-23 23:32:29 +00:00
Add sqrt to prelude

Was missing export in prelude. Fixed in 017655e8f8, although likely the whole scene will be different when we're fully…

scott pushed to to_janet at twc/ludus 2024-05-23 23:31:48 +00:00
017655e8f8 add sqrt to prelude exports