Commit Graph

253 Commits

Author SHA1 Message Date
Scott Richmond
9f4f55044a js & rust code for key inputs
Former-commit-id: a95f575260
2025-07-05 23:33:39 -04:00
Scott Richmond
795a50a69c improve panic message, slightly
Former-commit-id: e4e32bb308
2025-07-05 22:40:11 -04:00
Scott Richmond
33721cd712 debug multiturtles?
Former-commit-id: 8e75713cd7
2025-07-05 18:36:01 -04:00
Scott Richmond
2b9e5db59a oops: implement called keywords!
Former-commit-id: 84101711f2
2025-07-05 15:49:36 -04:00
Scott Richmond
4e2ce0bf1d 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
087cf68cff revert spawn! as a special form
Former-commit-id: a38a686a76
2025-07-05 14:39:17 -04:00
Scott Richmond
2724e71aa6 update validator
Former-commit-id: 10692b4b41
2025-07-04 17:44:44 -04:00
Scott Richmond
9606d9485e spawn is now a special form
Former-commit-id: bbdab93cf0
2025-07-04 17:24:54 -04:00
Scott Richmond
d9752a3e46 stringify -> show in explicit panics
Former-commit-id: 8ce6a33573
2025-07-04 16:17:55 -04:00
Scott Richmond
5b14e2ab02 consolidate js functions
Former-commit-id: 3b8d3ff5e3
2025-07-04 14:10:27 -04:00
Scott Richmond
15ed1ee718 keep working on panics: tracebacks sort of work?
Former-commit-id: 9228e060bb
2025-07-04 14:10:03 -04:00
Scott Richmond
e2461590b6 also put the new panic mod under version control
Former-commit-id: 050a0f987d
2025-07-04 01:23:31 -04:00
Scott Richmond
53e295ac37 working on panics
Former-commit-id: 0d8b42662b
2025-07-04 01:23:16 -04:00
Scott Richmond
ad3d67114e pretty good parsing errors
Former-commit-id: f97f6670bd
2025-07-03 23:23:14 -04:00
Scott Richmond
44de23c6a8 scanning errors are now nice
Former-commit-id: d6a004d9ac
2025-07-03 20:45:55 -04:00
Scott Richmond
49b2249e14 use serde to serialize the things
Former-commit-id: c6709bb2e8
2025-07-03 20:22:11 -04:00
Scott Richmond
9040d53e32 string keys on dicts now fully work
Former-commit-id: 9f9f59b33b
2025-07-03 15:30:51 -04:00
Scott Richmond
e741446ece add string keys to dicts
Former-commit-id: 659fdd3506
2025-07-03 12:41:00 -04:00
Scott Richmond
f6374b652a work on errors
Former-commit-id: d334e483a5
2025-07-02 23:47:02 -04:00
Scott Richmond
dd43d20e71 properly scan escape chars
Former-commit-id: 2ffff9edd9
2025-07-02 20:54:21 -04:00
Scott Richmond
ef0d2acce0 make an attempt at fixing string escaping
Former-commit-id: 28d6dc24f0
2025-07-02 19:44:12 -04:00
Scott Richmond
1b1b04f014 method syntax sugar achieved
Former-commit-id: 0cd682de21
2025-07-02 19:29:49 -04:00
Scott Richmond
2fadff05ff do and panic are now simple forms
Former-commit-id: 12389ae371
2025-07-02 17:29:09 -04:00
Scott Richmond
7c44f4325f don't discard initial messages
Former-commit-id: 6bdb9779d8
2025-07-02 16:56:30 -04:00
Scott Richmond
d9b9ddc654 ready handshake for better message passing
Former-commit-id: cfe8009861
2025-07-02 14:51:42 -04:00
Scott Richmond
a807ac0b58 prevent rust panic on kill signal
Former-commit-id: 116a5b2ed9
2025-07-02 13:44:26 -04:00
Scott Richmond
3a720e3163 actually (?!) fix drunk turtle problem
Former-commit-id: 9414dc64d9
2025-07-01 20:10:24 -04:00
Scott Richmond
4547d9fe51 another wasm release
Former-commit-id: f8983d24a4
2025-07-01 19:20:33 -04:00
Scott Richmond
d68f1bfa4e get reading input up and running
Former-commit-id: b7ff0eda80
2025-07-01 19:04:38 -04:00
Scott Richmond
ee41d99393 get fetch up & running
Former-commit-id: 5b2fd5e2d7
2025-07-01 18:52:03 -04:00
Scott Richmond
6111d3e2e8 get input working
Former-commit-id: b12d0e00aa
2025-07-01 16:59:42 -04:00
Scott Richmond
63ac8fe80c get commands wired up, probs
Former-commit-id: 1ec60b9362
2025-07-01 14:35:36 -04:00
Scott Richmond
8d011f1212 fix FF event loop bug
Former-commit-id: 400bd5864b
2025-07-01 12:54:11 -04:00
Scott Richmond
ac089eeb22 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
82a20f00c3 integration work continues
Former-commit-id: 4eceb62ce5
2025-06-30 18:59:59 -04:00
Scott Richmond
27e035c545 also add the new io file
Former-commit-id: 173fdb913c
2025-06-30 12:49:07 -04:00
Scott Richmond
0608caf90c stub out first pass of io system
Former-commit-id: bc49ece0cf
2025-06-30 12:48:50 -04:00
Scott Richmond
cc3020f22b use a hashset instead of vec for dead ids
Former-commit-id: 5478e5e40e
2025-06-29 18:14:06 -04:00
Scott Richmond
ac3c74ac8e 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
74a173a415 save work
Former-commit-id: 4dd47dd56c
2025-06-29 11:38:45 -04:00
Scott Richmond
542abc6d43 actually get receive working????
Former-commit-id: f710beff46
2025-06-28 16:40:31 -04:00
Scott Richmond
2361750f31 make progress, I guess
Former-commit-id: 48342ba4ea
2025-06-27 20:41:29 -04:00
Scott Richmond
70531c5922 parser housekeeping; add receive to lexer and parser
Former-commit-id: db52bc2687
2025-06-27 19:15:59 -04:00
Scott Richmond
f3d8e9caf1 move Ast into its own module
Former-commit-id: a175ee7a41
2025-06-27 19:05:17 -04:00
Scott Richmond
56771bf1df 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
948a874e4a add sleep, which was unexpectedly titchy!
Former-commit-id: 8923581eed
2025-06-27 14:27:42 -04:00
Scott Richmond
c382b2c1d3 make some new process functions
Former-commit-id: 90505f89fe
2025-06-27 12:27:54 -04:00
Scott Richmond
1136c6ca79 send messages, motherfucker!
Former-commit-id: 888f5b62da
2025-06-26 20:30:40 -04:00
Scott Richmond
1754a6fd12 add a process value
Former-commit-id: c144702b98
2025-06-26 17:17:41 -04:00
Scott Richmond
ef9dc7d6bd devise a way of communicating between ludus and processes
Former-commit-id: 801e5bcc01
2025-06-26 17:15:00 -04:00