Commit Graph

63 Commits

Author SHA1 Message Date
Scott Richmond
05891d8bc4 improve pattern representation; fix get callsites
Former-commit-id: a534e241f9
2025-07-06 19:00:03 -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
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
57645a103d oxidize index_of and indices_of for dissociated press
Former-commit-id: fb797fcd87
2025-07-06 16:52:54 -04:00
Scott Richmond
605bfb2ac6 have rust make words
Former-commit-id: a75a5b8881
2025-07-06 16:39:29 -04:00
Scott Richmond
9dd188e1bb do some things and stuff?
Former-commit-id: 1c7d5b4782
2025-07-06 16:17:21 -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
c5b67cac83 improve panic message, slightly
Former-commit-id: e4e32bb308
2025-07-05 22:40:11 -04:00
Scott Richmond
9315878b7a debug multiturtles?
Former-commit-id: 8e75713cd7
2025-07-05 18:36:01 -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
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
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
dac33fef62 spawn is now a special form
Former-commit-id: bbdab93cf0
2025-07-04 17:24:54 -04:00
Scott Richmond
03150b6100 fix slice_n
Former-commit-id: f853e02f00
2025-07-04 15:18:49 -04:00
Scott Richmond
849feba49d add slice_n to prelude
Former-commit-id: 2808c0b709
2025-07-04 14:44:09 -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
5e5e565ede properly scan escape chars
Former-commit-id: 2ffff9edd9
2025-07-02 20:54:21 -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
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
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
dd9a304944 get commands wired up, probs
Former-commit-id: 1ec60b9362
2025-07-01 14:35:36 -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
c1f5c2a512 make progress, I guess
Former-commit-id: 48342ba4ea
2025-06-27 20:41:29 -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
3e84aa3f14 run is now String -> String, outputting a json result 2025-06-25 15:41:30 -04:00
Scott Richmond
d9f0b44bed so many things: DRY out VM, fix repeat tail calls, etc. 2025-06-24 15:50:02 -04:00
Scott Richmond
772c56a6df fix upvalue resolution for forward-declared functions 2025-06-23 20:26:26 -04:00
Scott Richmond
42a5f599f7 fix upvalue resolution for forward-declared functions 2025-06-23 20:06:40 -04:00
Scott Richmond
987cc172c1 moar debugging: find issues with upvalues 2025-06-23 18:59:12 -04:00
Scott Richmond
bf97a34771 add turtle graphics, fix jump len error in tuple pattern 2025-06-22 23:57:11 -04:00
Scott Richmond
480e05f561 keep adding prelude; fix when stack discipline 2025-06-22 22:46:07 -04:00
Scott Richmond
9d798e5e58 fix interpolated string stack discipline 2025-06-22 21:15:17 -04:00
Scott Richmond
f0cf43b486 update block stack work 2025-06-22 20:44:07 -04:00
Scott Richmond
e2c9619fa6 update block stack work 2025-06-22 20:43:51 -04:00
Scott Richmond
c00e1275fd fix and & or 2025-06-22 20:26:08 -04:00
Scott Richmond
2f60de79a2 keep grinding on loop/recur/jif stack mismatch; add ast->code printer 2025-06-22 14:04:43 -04:00