Compare commits

...

162 Commits

Author SHA1 Message Date
3360e0d96b Merge branch 'main' of alea.ludus.dev:twc/ludus 2025-07-07 13:53:11 -04:00
c05941e109 moving wasm to lfs
Former-commit-id: 8c27f63cb0
2025-07-07 13:46:03 -04:00
Scott Richmond
0ad1de743e fix comment template string
Former-commit-id: ee54da0305
2025-07-07 13:03:00 -04:00
Scott Richmond
a074398963 release build
Former-commit-id: b9803c8357
2025-07-07 11:12:36 -04:00
Scott Richmond
93657ad352 remove printlns again
Former-commit-id: 6c4ea6d12e
2025-07-07 11:11:44 -04:00
Scott Richmond
68c0d47ae5 build
Former-commit-id: ddeb63d977
2025-07-07 10:40:10 -04:00
Scott Richmond
e6a0c9f275 release build
Former-commit-id: 9fc1a1ef7f
2025-07-07 09:06:39 -04:00
Scott Richmond
e9594ce22a fix receive stack regression/re introduce await regression
Former-commit-id: f2dbb2743e
2025-07-07 09:06:02 -04:00
Scott Richmond
e71acd3908 builded
Former-commit-id: fd7152a91b
2025-07-07 08:43:12 -04:00
Scott Richmond
9e5254984c release build
Former-commit-id: 3f6bafb1bd
2025-07-07 08:42:44 -04:00
Scott Richmond
ab7b2fc674 fix prelude bindings
Former-commit-id: c2329519d7
2025-07-07 08:42:09 -04:00
Scott Richmond
1094994006 update prelude location in docs
Former-commit-id: 28cc6ddf1d
2025-07-07 00:40:26 -04:00
Scott Richmond
32a3943f0a bring in old readme
Former-commit-id: f04522e62b
2025-07-07 00:27:20 -04:00
Scott Richmond
af4e9b9521 Merge branch 'main' into actors
Former-commit-id: 75c90c50a4
2025-07-07 00:22:56 -04:00
Scott Richmond
268912f34c commit some changes
Former-commit-id: 69b6b0cce6
2025-07-07 00:17:57 -04:00
Scott Richmond
bded6af848 build
Former-commit-id: 74ecea9ff6
2025-07-07 00:12:45 -04:00
Scott Richmond
0f2ff82375 release build
Former-commit-id: f5b34e3bc6
2025-07-07 00:12:36 -04:00
Scott Richmond
1880bf0fbe locate new prelude
Former-commit-id: 3946e5d6fa
2025-07-07 00:12:01 -04:00
Scott Richmond
df5eead01a actually add doc
Former-commit-id: 2c10c5bf07
2025-07-07 00:10:58 -04:00
Scott Richmond
176a9b90f2 build a doc file, bring in some other documentation
Former-commit-id: 49bb50ada1
2025-07-07 00:10:37 -04:00
Scott Richmond
b1b61ab70c moar cleanup
Former-commit-id: 79720ba833
2025-07-06 23:31:12 -04:00
Scott Richmond
15bd192157 clean up files
Former-commit-id: f9ff565db1
2025-07-06 23:30:14 -04:00
Scott Richmond
7f3cfaff25 bring in old janet interpreter for doc purposes
Former-commit-id: 2353b6eb9a
2025-07-06 23:14:32 -04:00
Scott Richmond
d138efa546 old->new prelude
Former-commit-id: d20c453180
2025-07-06 23:14:01 -04:00
Scott Richmond
27b2ecb397 add new actor functions
Former-commit-id: a444f789f3
2025-07-06 19:40:55 -04:00
Scott Richmond
8e3bd10f72 release build
Former-commit-id: 842f1e7634
2025-07-06 19:06:27 -04:00
Scott Richmond
550049c763 remove printlns, soften language
Former-commit-id: e768323a6c
2025-07-06 19:05:45 -04:00
Scott Richmond
2a6c3c0059 release build
Former-commit-id: 3527530e39
2025-07-06 19:00:45 -04:00
Scott Richmond
05891d8bc4 improve pattern representation; fix get callsites
Former-commit-id: a534e241f9
2025-07-06 19:00:03 -04:00
Scott Richmond
2dce956fa5 release build
Former-commit-id: a5e1aad83d
2025-07-06 18:54:45 -04:00
Scott Richmond
fc7b128b42 build + fix some turtle stuff
Former-commit-id: 45d999d32e
2025-07-06 18:54:10 -04:00
Scott Richmond
9a9dd93777 release build
Former-commit-id: cce3a2410f
2025-07-06 18:44:10 -04:00
Scott Richmond
34e6a213d0 fix key_up bug in ludus.js
Former-commit-id: 2b2875720f
2025-07-06 18:43:35 -04:00
Scott Richmond
0d998ace99 improve (but not fully fix?) reported line numbers in tracebacks
Former-commit-id: 6eb28888ca
2025-07-06 18:27:43 -04:00
Scott Richmond
06b425b26c builded again
Former-commit-id: 05792d631a
2025-07-06 17:57:01 -04:00
Scott Richmond
14c4aa1108 release build
Former-commit-id: 827008d426
2025-07-06 17:56:26 -04:00
Scott Richmond
5e20a0abc8 improve signature for last
Former-commit-id: 10236c5005
2025-07-06 17:55:48 -04:00
Scott Richmond
8b2fe59793 fix guard clause bug in function calls
Former-commit-id: 14d07e40de
2025-07-06 17:53:10 -04:00
Scott Richmond
f25a2ac6f3 release build
Former-commit-id: 151f56d9d6
2025-07-06 17:19:12 -04:00
Scott Richmond
ee834fe974 get doc! to where it needs to be; make show much longer
Former-commit-id: 64a02bec08
2025-07-06 17:18:37 -04:00
Scott Richmond
3bae0a318d release build
Former-commit-id: 3b535ed05c
2025-07-06 16:53:39 -04:00
Scott Richmond
57645a103d oxidize index_of and indices_of for dissociated press
Former-commit-id: fb797fcd87
2025-07-06 16:52:54 -04:00
Scott Richmond
a7398c41f0 builded
Former-commit-id: baf2dcb7c9
2025-07-06 16:40:21 -04:00
Scott Richmond
6f717350f8 release build
Former-commit-id: a513aaf3cd
2025-07-06 16:40:05 -04:00
Scott Richmond
605bfb2ac6 have rust make words
Former-commit-id: a75a5b8881
2025-07-06 16:39:29 -04:00
Scott Richmond
dd214f81c5 release build
Former-commit-id: 05dfd01326
2025-07-06 16:17:58 -04:00
Scott Richmond
9dd188e1bb do some things and stuff?
Former-commit-id: 1c7d5b4782
2025-07-06 16:17:21 -04:00
Scott Richmond
8f750b1633 build
Former-commit-id: d59b01462f
2025-07-06 12:09:52 -04:00
Scott Richmond
12f879244f release build
Former-commit-id: 83c4f02f6a
2025-07-06 12:09:41 -04:00
Scott Richmond
67fdf62c5d asdf
Former-commit-id: 1fcd5b0f98
2025-07-06 12:08:57 -04:00
Scott Richmond
cc2608987f wire up keyboard events
Former-commit-id: 0ecaaaa258
2025-07-06 01:40:03 -04:00
Scott Richmond
8e50021eca use NotNan as number representation
Former-commit-id: e41d6b802b
2025-07-06 00:27:50 -04:00
Scott Richmond
135848be4c add pow, work on sets
Former-commit-id: d8c999d5ab
2025-07-05 23:56:10 -04:00
Scott Richmond
cf19e11f64 js & rust code for key inputs
Former-commit-id: a95f575260
2025-07-05 23:33:39 -04:00
Scott Richmond
b5ce807015 factor svg/p5 into modules; fix svg rendering
Former-commit-id: f635e878c9
2025-07-05 23:20:41 -04:00
Scott Richmond
c5b67cac83 improve panic message, slightly
Former-commit-id: e4e32bb308
2025-07-05 22:40:11 -04:00
Scott Richmond
745af5a7ea build
Former-commit-id: 728614879c
2025-07-05 18:42:38 -04:00
Scott Richmond
1aa8bb0576 release build
Former-commit-id: ccbbfebbbe
2025-07-05 18:36:47 -04:00
Scott Richmond
9315878b7a debug multiturtles?
Former-commit-id: 8e75713cd7
2025-07-05 18:36:01 -04:00
Scott Richmond
f9bfec20ab fix p5 drawing command conversion
Former-commit-id: 50da642758
2025-07-05 17:38:40 -04:00
Scott Richmond
1a383a2eb5 release build
Former-commit-id: f9cdd43367
2025-07-05 17:30:58 -04:00
Scott Richmond
c30d17657b fix p5 state calculations
Former-commit-id: 45984e190a
2025-07-05 17:30:19 -04:00
Scott Richmond
421b2c6437 release build
Former-commit-id: 20e46b4d62
2025-07-05 17:09:38 -04:00
Scott Richmond
107d026fc8 first pass at multiturtles
Former-commit-id: bac3c29d1d
2025-07-05 17:09:01 -04:00
Scott Richmond
052ba7f8d6 massage prelude into multiturtles; wip
Former-commit-id: f1f954de46
2025-07-05 15:57:05 -04:00
Scott Richmond
1a1f53e6b6 add canadian spellings
Former-commit-id: 4988ea6626
2025-07-05 15:51:45 -04:00
Scott Richmond
12133b7401 oops: implement called keywords!
Former-commit-id: 84101711f2
2025-07-05 15:49:36 -04:00
Scott Richmond
ff5b18f07d middleware should now handle multiple turtles
Former-commit-id: ff6aaf5cdf
2025-07-05 15:26:48 -04:00
Scott Richmond
b33d812b2f do some work on linking, unravel it, spawn! is now a normal fn
Former-commit-id: 369f8a54f4
2025-07-05 14:45:50 -04:00
Scott Richmond
0583eecdae don't try to export state, which no longer exists
Former-commit-id: e76e9f5348
2025-07-05 14:45:04 -04:00
Scott Richmond
fda287814f revert spawn! as a special form
Former-commit-id: a38a686a76
2025-07-05 14:39:17 -04:00
Scott Richmond
60c6823817 actually export llist fns
Former-commit-id: 3a5415e1c7
2025-07-05 14:26:50 -04:00
Scott Richmond
80a553a7e5 add functions from June 2025 CC1
Former-commit-id: 1688aaccf7
2025-07-05 14:24:38 -04:00
Scott Richmond
5751001b89 update validator
Former-commit-id: 10692b4b41
2025-07-04 17:44:44 -04:00
Scott Richmond
dac33fef62 spawn is now a special form
Former-commit-id: bbdab93cf0
2025-07-04 17:24:54 -04:00
Scott Richmond
03e7cd0d89 stringify -> show in explicit panics
Former-commit-id: 8ce6a33573
2025-07-04 16:17:55 -04:00
Scott Richmond
9b528035be asdf
Former-commit-id: d52faeff41
2025-07-04 15:57:16 -04:00
Scott Richmond
5c58a726be asdf
Former-commit-id: ed6976fe35
2025-07-04 15:37:39 -04:00
Scott Richmond
31aa296198 release build
Former-commit-id: 22ac3cb0fe
2025-07-04 15:30:26 -04:00
Scott Richmond
99cd19ab46 add is_starting_up
Former-commit-id: 8851002a90
2025-07-04 15:29:44 -04:00
Scott Richmond
d8802f0388 release build
Former-commit-id: cd80e65528
2025-07-04 15:19:32 -04:00
Scott Richmond
03150b6100 fix slice_n
Former-commit-id: f853e02f00
2025-07-04 15:18:49 -04:00
Scott Richmond
95fdab46b6 release build
Former-commit-id: dc11d6cc58
2025-07-04 15:10:51 -04:00
Scott Richmond
d01f04ce51 globalize key_down and key_up
Former-commit-id: 7cffa43c3e
2025-07-04 15:09:02 -04:00
Scott Richmond
3b62cbb67d release build
Former-commit-id: 294d7d6be2
2025-07-04 14:44:50 -04:00
Scott Richmond
849feba49d add slice_n to prelude
Former-commit-id: 2808c0b709
2025-07-04 14:44:09 -04:00
Scott Richmond
d47371cae3 release build
Former-commit-id: 55483d54a2
2025-07-04 14:11:01 -04:00
Scott Richmond
282b35face consolidate js functions
Former-commit-id: 3b8d3ff5e3
2025-07-04 14:10:27 -04:00
Scott Richmond
022e503636 keep working on panics: tracebacks sort of work?
Former-commit-id: 9228e060bb
2025-07-04 14:10:03 -04:00
Scott Richmond
74e91c7e46 also put the new panic mod under version control
Former-commit-id: 050a0f987d
2025-07-04 01:23:31 -04:00
Scott Richmond
d96b897dba working on panics
Former-commit-id: 0d8b42662b
2025-07-04 01:23:16 -04:00
Scott Richmond
8fb6613929 pretty good parsing errors
Former-commit-id: f97f6670bd
2025-07-03 23:23:14 -04:00
Scott Richmond
dc52743d9f scanning errors are now nice
Former-commit-id: d6a004d9ac
2025-07-03 20:45:55 -04:00
Scott Richmond
eae1c95583 use serde to serialize the things
Former-commit-id: c6709bb2e8
2025-07-03 20:22:11 -04:00
Scott Richmond
d34aa0df54 string keys on dicts now fully work
Former-commit-id: 9f9f59b33b
2025-07-03 15:30:51 -04:00
Scott Richmond
03968e19aa add string keys to dicts
Former-commit-id: 659fdd3506
2025-07-03 12:41:00 -04:00
Scott Richmond
68edc22ce0 work on errors
Former-commit-id: d334e483a5
2025-07-02 23:47:02 -04:00
Scott Richmond
5e5e565ede properly scan escape chars
Former-commit-id: 2ffff9edd9
2025-07-02 20:54:21 -04:00
Scott Richmond
a5fea66d37 make an attempt at fixing string escaping
Former-commit-id: 28d6dc24f0
2025-07-02 19:44:12 -04:00
Scott Richmond
6fc06f7148 method syntax sugar achieved
Former-commit-id: 0cd682de21
2025-07-02 19:29:49 -04:00
Scott Richmond
1f72951e19 do and panic are now simple forms
Former-commit-id: 12389ae371
2025-07-02 17:29:09 -04:00
Scott Richmond
fd9be46153 release build
Former-commit-id: bf204696a5
2025-07-02 16:56:59 -04:00
Scott Richmond
c67aef0c11 don't discard initial messages
Former-commit-id: 6bdb9779d8
2025-07-02 16:56:30 -04:00
Scott Richmond
c67219baa6 add log to input
Former-commit-id: 2f4ab41a62
2025-07-02 16:20:22 -04:00
Scott Richmond
59333982a8 release build
Former-commit-id: 1316c8228f
2025-07-02 16:05:49 -04:00
Scott Richmond
cabc6c9223 wasm->build
Former-commit-id: dcf550ba2f
2025-07-02 16:05:38 -04:00
Scott Richmond
41f54d86af fix complete reset
Former-commit-id: df5c745ce9
2025-07-02 16:05:06 -04:00
Scott Richmond
7f651e529c move default to the top
Former-commit-id: 1435e753e8
2025-07-02 15:47:33 -04:00
Scott Richmond
616a2612ba clean up justfile
Former-commit-id: f6ad3b6966
2025-07-02 15:43:44 -04:00
Scott Richmond
6f31792099 try again w/ justfile
Former-commit-id: 5a778d9a55
2025-07-02 15:37:56 -04:00
Scott Richmond
3c98d2c4e8 finish release recipe?
Former-commit-id: 62ad321a88
2025-07-02 15:35:19 -04:00
Scott Richmond
8babb9008d justinging
Former-commit-id: 14a41dc1bd
2025-07-02 15:34:36 -04:00
Scott Richmond
42be6a3ba0 keep justing
Former-commit-id: d9b095c3f3
2025-07-02 15:26:19 -04:00
Scott Richmond
c891aecdf1 keep working on justfile
Former-commit-id: 44739adfe5
2025-07-02 15:19:54 -04:00
Scott Richmond
888ab1d734 start work on release recipe
Former-commit-id: 624c0bd2f8
2025-07-02 15:04:54 -04:00
Scott Richmond
063526c560 build
Former-commit-id: 1158821aff
2025-07-02 14:52:22 -04:00
Scott Richmond
3d39013515 ready handshake for better message passing
Former-commit-id: cfe8009861
2025-07-02 14:51:42 -04:00
Scott Richmond
63343c6360 build
Former-commit-id: 33b7f78038
2025-07-02 13:49:36 -04:00
Scott Richmond
bbd057353b prevent rust panic on kill signal
Former-commit-id: 116a5b2ed9
2025-07-02 13:44:26 -04:00
Scott Richmond
500f0dbe31 actually (?!) fix drunk turtle problem
Former-commit-id: 9414dc64d9
2025-07-01 20:10:24 -04:00
Scott Richmond
d25fac324c try again
Former-commit-id: 197cbfc795
2025-07-01 20:07:02 -04:00
Scott Richmond
4cf98ef9db maybe fix drunk turtle bug?
Former-commit-id: f3801b3c37
2025-07-01 19:55:49 -04:00
Scott Richmond
0528c1dab8 another wasm release
Former-commit-id: f8983d24a4
2025-07-01 19:20:33 -04:00
Scott Richmond
31a989a9d2 wasm release
Former-commit-id: e5467e9e7e
2025-07-01 19:08:13 -04:00
Scott Richmond
c286351286 thoughts
Former-commit-id: bba3e1e800
2025-07-01 19:07:16 -04:00
Scott Richmond
c760066885 get reading input up and running
Former-commit-id: b7ff0eda80
2025-07-01 19:04:38 -04:00
Scott Richmond
7fc6550bec get fetch up & running
Former-commit-id: 5b2fd5e2d7
2025-07-01 18:52:03 -04:00
Scott Richmond
8a057e6f77 get input working
Former-commit-id: b12d0e00aa
2025-07-01 16:59:42 -04:00
Scott Richmond
a502368e4f update worker url resolution
Former-commit-id: 808368d2b9
2025-07-01 16:30:17 -04:00
Scott Richmond
5ef5464fd6 fix worker path
Former-commit-id: 88ff5886bb
2025-07-01 16:07:01 -04:00
Scott Richmond
dd9a304944 get commands wired up, probs
Former-commit-id: 1ec60b9362
2025-07-01 14:35:36 -04:00
Scott Richmond
9c1b50cc36 fix FF event loop bug
Former-commit-id: 400bd5864b
2025-07-01 12:54:11 -04:00
Scott Richmond
1df6dad078 add thoughts
Former-commit-id: 991705e734
2025-07-01 11:10:50 -04:00
Scott Richmond
05cba9d037 stash changes
Former-commit-id: 989e217917
2025-07-01 10:42:34 -04:00
Scott Richmond
e1bd21c2c0 fix truly heinous memory bug
Former-commit-id: 4e7557cbcc
2025-07-01 01:30:10 -04:00
Scott Richmond
29e761691d hook the things up and discover a possible stop-the-world bug
Former-commit-id: 2f3f362f49
2025-07-01 00:43:01 -04:00
Scott Richmond
fcaf04d9c4 integration work continues
Former-commit-id: 4eceb62ce5
2025-06-30 18:59:59 -04:00
Scott Richmond
b4886e28f9 also add the new io file
Former-commit-id: 173fdb913c
2025-06-30 12:49:07 -04:00
Scott Richmond
d945b2eb7c stub out first pass of io system
Former-commit-id: bc49ece0cf
2025-06-30 12:48:50 -04:00
Scott Richmond
39f315cfd8 use a hashset instead of vec for dead ids
Former-commit-id: 5478e5e40e
2025-06-29 18:14:06 -04:00
Scott Richmond
9f246bdbac start working on packaging better
Former-commit-id: f6cbe3f800
2025-06-29 18:13:49 -04:00
Scott Richmond
8ab825518e update chumsky, lose ariadne, update parser to conform to new chumsky
Former-commit-id: c62b5c903d
2025-06-29 18:08:44 -04:00
Scott Richmond
24e9b04a53 add a justfile, some project management
Former-commit-id: de6cb5380d
2025-06-29 17:47:08 -04:00
Scott Richmond
3204b7341a save work
Former-commit-id: 4dd47dd56c
2025-06-29 11:38:45 -04:00
Scott Richmond
c4a04de0a8 actually get receive working????
Former-commit-id: f710beff46
2025-06-28 16:40:31 -04:00
Scott Richmond
1e5c174549 some notes
Former-commit-id: f873be7668
2025-06-27 20:54:48 -04:00
Scott Richmond
c1f5c2a512 make progress, I guess
Former-commit-id: 48342ba4ea
2025-06-27 20:41:29 -04:00
Scott Richmond
edf1998914 parser housekeeping; add receive to lexer and parser
Former-commit-id: db52bc2687
2025-06-27 19:15:59 -04:00
Scott Richmond
01c4333534 move Ast into its own module
Former-commit-id: a175ee7a41
2025-06-27 19:05:17 -04:00
Scott Richmond
b547b65916 ugh. spin my wheels a lot. decide to start work on the receive special form
Former-commit-id: 759fc63cae
2025-06-27 18:48:27 -04:00
Scott Richmond
85decc542e add sleep, which was unexpectedly titchy!
Former-commit-id: 8923581eed
2025-06-27 14:27:42 -04:00
Scott Richmond
a94701b95a make some new process functions
Former-commit-id: 90505f89fe
2025-06-27 12:27:54 -04:00
Scott Richmond
f2282ce9ea some notes for tomorrow's work
Former-commit-id: 00ebac17ce
2025-06-26 23:28:17 -04:00
Scott Richmond
d3ac693e1a send messages, motherfucker!
Former-commit-id: 888f5b62da
2025-06-26 20:30:40 -04:00
Scott Richmond
02c5a8a92b add a process value
Former-commit-id: c144702b98
2025-06-26 17:17:41 -04:00
Scott Richmond
c47abe0bda devise a way of communicating between ludus and processes
Former-commit-id: 801e5bcc01
2025-06-26 17:15:00 -04:00
Scott Richmond
8666dcc447 refactor to have a world run a process
Former-commit-id: b35657e698
2025-06-26 16:11:35 -04:00
Scott Richmond
666a58e79e start work on actor model
Former-commit-id: b5528ced8f
2025-06-26 01:28:33 -04:00
Scott Richmond
b0e083302f maybe get git right? ugh
Former-commit-id: 0c17b64fd7
2025-06-25 23:21:22 -04:00
Scott Richmond
36ce216a58 fix blasted merge conflicts
Former-commit-id: 97547b1f7f
2025-06-25 23:18:59 -04:00
Scott Richmond
2963fa2305 cleanup before next text publish
Former-commit-id: e86f077247
2025-06-25 22:58:29 -04:00
Scott Richmond
79592ee21f maybe figure out the wasm thing?
Former-commit-id: 44f7ce7b06
2025-06-25 22:56:39 -04:00

Diff Content Not Available