Scott Richmond scott
  • Joined on 2023-07-29
scott pushed to to_janet at twc/ludus 2024-05-30 23:38:06 +00:00
524e3627fb get pkg validation access working for root pkg access, e.g. Foo :bar and Foo :bar
scott commented on issue twc/ludus#30 2024-05-29 19:12:10 +00:00
Coroutines!

Not needed for Computer Class, it turns out: statelessness is a good thing.

scott commented on issue twc/ludus#24 2024-05-29 19:10:08 +00:00
Refs & state

Everything stays hardcoded for Computer Class; fix this for 0.1.0.

scott commented on issue twc/ludus#23 2024-05-29 19:08:27 +00:00
Graphics protocol

Moved to 0.1.0 because we'll just use the exact same graphics/p5 protocol for Computer Class web frontend.

scott commented on issue twc/ludus#31 2024-05-29 19:07:19 +00:00
Stdin, out, err

@matt and I talked about a special symbol for stdin in the web frontend: *input*.

  • Make sure to sanitize the input so there aren't illegal chars.
  • Strings in Ludus are valid UTF-8. Escaped…
scott opened issue twc/ludus#52 2024-05-24 15:13:54 +00:00
deref should (also?) be value_of
scott opened issue twc/ludus#51 2024-05-24 14:24:05 +00:00
Partially applied functions should be able to take arguments immediately
scott commented on issue twc/ludus#32 2024-05-23 23:34:44 +00:00
Mutual recursion

We need mutual recursion for Sierpinski triangles, which we want to do in Computer Class. Shifted milestone to recognize this.

scott pushed to to_janet at twc/ludus 2024-05-23 23:33:25 +00:00
1dce69e239 work on pkgs
scott closed issue twc/ludus#50 2024-05-23 23:32:30 +00:00
Add sqrt to prelude
scott commented on issue twc/ludus#50 2024-05-23 23:32:29 +00:00
Add sqrt to prelude

Was missing export in prelude. Fixed in 017655e8f8, although likely the whole scene will be different when we're fully…

scott pushed to to_janet at twc/ludus 2024-05-23 23:31:48 +00:00
017655e8f8 add sqrt to prelude exports
scott commented on issue twc/ludus#49 2024-05-23 23:30:19 +00:00
Unfuck mod in prelude

As expected: current clj/s base does not include a member mod.

Fix this in the janet base before building.

scott commented on issue twc/ludus#45 2024-05-23 23:25:42 +00:00
random must take a dict

Here's a better error:

random(#{:a 1, :b 2}) 

& => Ludus panicked!: Match Error: No match found for (#{:a 1, :b 2}, :a) in function get
On line 879 in prelude
		get (d, key)

I…

scott opened issue twc/ludus#50 2024-05-23 21:01:13 +00:00
Add sqrt to prelude
scott opened issue twc/ludus#49 2024-05-23 20:54:07 +00:00
Unfuck mod in prelude
scott opened issue twc/ludus#48 2024-05-23 20:43:09 +00:00
Fix coordinate system
scott opened issue twc/ludus#47 2024-05-23 20:23:43 +00:00
Add save/load turtle state functions to prelude
scott opened issue twc/ludus#46 2024-05-23 20:06:17 +00:00
Add set_heading to prelude
scott opened issue twc/ludus#45 2024-05-23 17:29:42 +00:00
random must take a dict