Commit Graph

47 Commits

Author SHA1 Message Date
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
Scott Richmond
25a0c62dcf lots of bugs fixed--upvalues, bindings, stack manipulations, tail calls, etc. 2025-06-21 22:25:08 -04:00
Scott Richmond
ce11f1cd0f start work on getting prelude working; discover closure bug 2025-06-21 17:43:47 -04:00
Scott Richmond
23d9945c48 fix if alternative unconditional jump len 2025-06-20 17:09:41 -04:00
Scott Richmond
121861cc8e fix function scoping bug 2025-06-20 15:35:09 -04:00
Scott Richmond
a2ae53f8e4 wire up stub:w prelude from external file 2025-06-20 14:43:14 -04:00
Scott Richmond
8535225167 fix print! 2024-12-13 13:47:03 -05:00
Scott Richmond
73e60b8ced bring full prelude into Ludus. 2024-12-12 19:43:56 -05:00
Scott Richmond
49a0b0f8a7 fix loop validation bugs 2024-12-12 19:28:55 -05:00
Scott Richmond
ac4bd0fb55 improve panic reports 2024-12-12 19:01:51 -05:00
Scott Richmond
7431cbf380 start debugging full prelude 2024-12-11 17:32:31 -05:00
Scott Richmond
6a01089973 closing works, so does importing from Prelude! 2024-12-11 17:22:37 -05:00
Scott Richmond
d48a787447 all the work trying to write a validator 2024-12-10 16:44:52 -05:00
Scott Richmond
9a4f247a21 bring in prelude 2024-12-08 23:34:05 -05:00