Documenting/designing interactions between web and rudus #48

Closed
opened 2025-06-29 17:50:58 +00:00 by scott · 3 comments
Owner

Script lifecycle:

* web->rudus: Run src
* rudus->web: Ready
* rudus->web: Console msg
* rudus->web: Commands (for arbitrarily many turtles; tbd)
* rudus->web: Fetch url
* web->rudus: Fetch url contents
x ~rudus->web: spit txt~
* rudus->web: Keys [array of keys pressed]
x ~web->rudus: requested keyboard events~
* web->rudus: Input text
* web->rudus: Kill
* rudus->web: Complete result
* rudus->web: Error message
Script lifecycle: ``` * web->rudus: Run src * rudus->web: Ready * rudus->web: Console msg * rudus->web: Commands (for arbitrarily many turtles; tbd) * rudus->web: Fetch url * web->rudus: Fetch url contents x ~rudus->web: spit txt~ * rudus->web: Keys [array of keys pressed] x ~web->rudus: requested keyboard events~ * web->rudus: Input text * web->rudus: Kill * rudus->web: Complete result * rudus->web: Error message ```
scott added the
design
label 2025-07-02 16:31:30 +00:00
Author
Owner

The comment above will be updated through the design process, and closed when we get to July 2025 feature completion.

The comment above will be updated through the design process, and closed when we get to July 2025 feature completion.
scott added this to the Core: CC2 milestone 2025-07-02 17:15:25 +00:00
matt self-assigned this 2025-07-03 16:32:00 +00:00
Author
Owner

@matt I am still tinkering with this. I introduced a new verb yesterday, Error, which, not surprisingly, is invoked when there's an error or a panic.

I believe this is a transparent change to the UI: you'll still be looking to print the returns of ludus.result() to the console when ludus.is_running() returns false.

@matt I am still tinkering with this. I introduced a new verb yesterday, `Error`, which, not surprisingly, is invoked when there's an error or a panic. I believe this is a transparent change to the UI: you'll still be looking to print the returns of `ludus.result()` to the console when `ludus.is_running()` returns `false`.
Author
Owner

This is now complete, at least for this iteration of Ludus. 0ecaaaa258

This is now complete, at least for this iteration of Ludus. https://alea.ludus.dev/twc/rudus/commit/0ecaaaa2587d2282bb6a2e5c30e6e2cfb686b66d
scott closed this issue 2025-07-06 05:44:46 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: twc/ludus#48
No description provided.