Scott Richmond scott
  • Joined on 2023-07-29
scott commented on issue twc/ludus#99 2025-07-17 03:48:33 +00:00
Ludus should have a notebook or literate format

Oh, and pandoc and dmos use sublime text highlighting, so that's another highlighter to have to maintain: https://www.sublimetext.com/docs/syntax.html.

That means: treesitter, lezer, sublime,…

scott commented on issue twc/ludus#99 2025-07-17 03:44:11 +00:00
Ludus should have a notebook or literate format

It occurs to me that the thing is to develop a .ldj format, which is ludus-djot, which can then be more or less moved into anything: pandoc makes that doable. So we have a ldj -> djot -> typst…

scott opened issue twc/ludus#99 2025-07-16 22:07:58 +00:00
Ludus should have a notebook or literate format
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 »