Scott Richmond scott
  • Joined on 2023-07-29
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
scott pushed to post_computer_class at twc/ludus 2024-07-19 20:11:36 +00:00
7afc32d9d1 remove loop & recur from the language
scott pushed to post_computer_class at twc/ludus 2024-07-19 20:09:35 +00:00
d4adc1d912 clean up
scott pushed to post_computer_class at twc/ludus 2024-07-19 20:00:22 +00:00
4a069278b8 finally fix script, block, tuple, list, dict, etc. off by one errors for last term
scott commented on issue twc/ludus#98 2024-07-19 14:59:13 +00:00
"Literate" Ludus

Next steps:

  1. Turtle graphics protocol v. 0.1.
  2. Specification of a "Literate Ludus" markdown format. (YAML/TOML front matter is probably the way to go here.)
  3. Development of various…
scott commented on issue twc/ludus#98 2024-07-19 14:43:32 +00:00
"Literate" Ludus

Conversation with @matt: Looks like the first version of "Ludus as a host in markdown" is the most promising approach here: it will already work with all the parsers.

Also, perhaps we have a…