Scott Richmond scott
  • Joined on 2023-07-29
scott opened issue twc/ludus#98 2025-07-14 14:16:16 +00:00
Should Ludus distinguish between functions and procedures?
scott opened issue twc/ludus#97 2025-07-14 14:05:21 +00:00
JS worker thread code should have an event loop
scott commented on issue twc/ludus#96 2025-07-14 14:03:13 +00:00
functions defined in functions should properly close over upvalues the second time they are run

I think this may be behind #87. It certainly doesn't help.

scott commented on issue twc/ludus#95 2025-07-14 14:02:36 +00:00
savestate and loadstate should work

I fixed this and they work now.

scott closed issue twc/ludus#95 2025-07-14 14:02:36 +00:00
savestate and loadstate should work
scott commented on issue twc/ludus#96 2025-07-11 20:46:35 +00:00
functions defined in functions should properly close over upvalues the second time they are run

Most minimal example:

fn foo (n) -> {
    fn bar () -> n
}

foo (:foo) ()
foo (:bar) ()
scott commented on issue twc/ludus#96 2025-07-11 20:44:04 +00:00
functions defined in functions should properly close over upvalues the second time they are run

New datum:

map (even?, [1, 2, 3])
print! ("c") & console=> "false"

More minimal example:

map (inc, [1, 2, 3])
map (dec, [1,2 , 3]) &=> [2, 3, 4]

What's happening is…

scott commented on issue twc/ludus#91 2025-07-11 19:38:04 +00:00
My public transit textile sketch should work

Done: it was broken by a change in representing turtle state. Added a function, savestate that gets the current turtle_0 state. Meanwhile, turtle ::state () will return the state of the…

scott closed issue twc/ludus#91 2025-07-11 19:38:04 +00:00
My public transit textile sketch should work
scott commented on issue twc/ludus#89 2025-07-11 19:36:44 +00:00
clear should clear the screen of turtle paths

This is done as of yesterday I think?

scott closed issue twc/ludus#89 2025-07-11 19:36:44 +00:00
clear should clear the screen of turtle paths
scott commented on issue twc/ludus#50 2025-07-11 19:35:42 +00:00
The command stack should be optimized

In place of paths being more efficient, we've decided that it's easier/better to make commands more efficient: squash the commands when we ask for them, instead of doing it when we calculate the…

scott pushed to release at twc/ludus 2025-07-11 19:18:57 +00:00
f09000a25a Merge branch 'main' into release
994d4e4712 stop spamming console
Compare 2 commits »
scott pushed to main at twc/ludus 2025-07-11 19:18:44 +00:00
994d4e4712 stop spamming console
scott pushed to main at twc/ludus 2025-07-11 19:08:40 +00:00
5024f912a7 built for release
scott pushed to release at twc/ludus 2025-07-11 19:08:27 +00:00
c0b00356a7 Merge branch 'main' into release
5024f912a7 built for release
e3b90a78e7 allow squashing of lines
2122d1ef61 builded
Compare 4 commits »
scott pushed to main at twc/ludus 2025-07-11 19:07:48 +00:00
e3b90a78e7 allow squashing of lines
scott commented on issue twc/ludus#94 2025-07-11 18:41:32 +00:00
Keyboard interaction should work

Also, definitely related to #50: this will work much better once we're not drawing a bunch of teeny tiny sub-pixel lines to make paths.

scott pushed to main at twc/ludus 2025-07-11 14:37:32 +00:00
2122d1ef61 builded
d3f3e310f6 built for release
Compare 2 commits »
scott pushed to release at twc/ludus 2025-07-11 14:37:21 +00:00
2b93d2fe87 Merge branch 'main' into release
d3f3e310f6 built for release
dc1afb1b78 actually export savestate in prelude
524b4a59d9 builded
Compare 4 commits »