Scott Richmond scott
  • Joined on 2023-07-29
scott closed issue twc/ludus#100 2024-07-21 17:38:41 +00:00
Update Lezer and Tree-Sitter grammars: remove loop and recur
scott pushed to post_computer_class at twc/ludus 2024-07-20 20:54:42 +00:00
e068059362 update turtle graphics protocol doc
scott commented on issue twc/ludus#93 2024-07-20 20:48:16 +00:00
Turtle graphics protocol

Current set of things to do:

  • Rework Ludus's output to be only its I/O protocol
  • Rewrite all the logic from Prelude in apply_command, render_turtle, and state/call in JS.
  • […
scott pushed to post_computer_class at twc/ludus 2024-07-20 20:34:17 +00:00
dd3867968e add description of turtle graphics protocol
scott commented on issue twc/ludus#93 2024-07-20 19:55:24 +00:00
Turtle graphics protocol

@matt Any thoughts about this?

Two specific hesitations, which I'm happy to bracket for the time being (or quite a while):

  • We're repeating the "proto" section with every message. On the…
scott commented on issue twc/ludus#93 2024-07-20 19:41:40 +00:00
Turtle graphics protocol

A simple example:

{
  "stdout": {
    "proto": ["text-stream", "0.1.0"],
    "data": []
  },
  "stderr": {
    "proto": ["text-stream", "0.1.0"],
    "data": ["oops, I…
scott commented on issue twc/ludus#93 2024-07-20 18:55:13 +00:00
Turtle graphics protocol

A few thoughts, notes here:

  • This is really a version of a complete I/O protocol for Ludus.
  • This means that all of these are, in some sense, streams, not static objects.
  • Each output of…
scott opened issue twc/ludus#101 2024-07-20 17:59:03 +00:00
Add JSON encoder/decoder to Prelude
scott commented on issue twc/ludus#86 2024-07-20 17:51:50 +00:00
Disallow shadowing?

Done in 98421a9215

scott closed issue twc/ludus#86 2024-07-20 17:51:50 +00:00
Disallow shadowing?
scott pushed to post_computer_class at twc/ludus 2024-07-20 17:51:20 +00:00
98421a9215 allow shadowing of prelude
scott pushed to post_computer_class at twc/ludus 2024-07-19 20:48:15 +00:00
7467bc8867 disallow shadowing, remove all shadowing from Prelude.
scott commented on issue twc/ludus#86 2024-07-19 20:47:34 +00:00
Disallow shadowing?

Validator now disallows shadowing of any name in any context. Next up: develop logic in validator to only check names that are explicitly bound in a script, and not names that are in Prelude.

scott pushed to post_computer_class at twc/ludus 2024-07-19 20:25:24 +00:00
2ec95c8f33 add loop & recur back into the language: we do actually need it!--just not *pedagogically*
scott opened issue twc/ludus#100 2024-07-19 20:15:32 +00:00
Update Lezer and Tree-Sitter grammars: remove loop and recur
scott commented on issue twc/ludus#35 2024-07-19 20:14:18 +00:00
Improve parser errors on extra exprs/tokens on line

Finally figured this out. Complete in 4a069278b8

scott closed issue twc/ludus#35 2024-07-19 20:14:18 +00:00
Improve parser errors on extra exprs/tokens on line
scott commented on issue twc/ludus#99 2024-07-19 20:13:30 +00:00
Remove loop and recur from the language

Done in 7afc32d9d1

scott closed issue twc/ludus#99 2024-07-19 20:13:30 +00:00
Remove loop and recur from the language
scott opened issue twc/ludus#99 2024-07-19 20:13:17 +00:00
Remove loop and recur from the language