Commit Graph

108 Commits

Author SHA1 Message Date
Scott Richmond
6eb49fcdd5 keep working on panics: tracebacks sort of work? 2025-07-04 14:10:03 -04:00
Scott Richmond
7c360fe3d2 working on panics 2025-07-04 01:23:16 -04:00
Scott Richmond
8eae684b85 string keys on dicts now fully work 2025-07-03 15:30:51 -04:00
Scott Richmond
04dcd5bcc9 method syntax sugar achieved 2025-07-02 19:29:49 -04:00
Scott Richmond
0eb1a9826c integration work continues 2025-06-30 18:59:59 -04:00
Scott Richmond
4cfb47c34a save work 2025-06-29 11:38:45 -04:00
Scott Richmond
7b507ab313 actually get receive working???? 2025-06-28 16:40:31 -04:00
Scott Richmond
290b205e1b make progress, I guess 2025-06-27 20:41:29 -04:00
Scott Richmond
2c4e11abdd move Ast into its own module 2025-06-27 19:05:17 -04:00
Scott Richmond
597deb7c28 ugh. spin my wheels a lot. decide to start work on the receive special form 2025-06-27 18:48:27 -04:00
Scott Richmond
7edb6bfb23 add sleep, which was unexpectedly titchy! 2025-06-27 14:27:42 -04:00
Scott Richmond
8993b06302 make some new process functions 2025-06-27 12:27:54 -04:00
Scott Richmond
946fc6f9eb send messages, motherfucker! 2025-06-26 20:30:40 -04:00
Scott Richmond
92654706f9 refactor to have a world run a process 2025-06-26 16:11:35 -04:00
Scott Richmond
0b8f766639 start work on actor model 2025-06-26 01:28:33 -04:00
Scott Richmond
2f1400393f so many things: DRY out VM, fix repeat tail calls, etc. 2025-06-24 15:50:02 -04:00
Scott Richmond
64c4e9cb4a update (fix?) partial function application stack discipline 2025-06-23 21:22:28 -04:00
Scott Richmond
69d574abcc fix upvalue resolution for forward-declared functions 2025-06-23 20:26:26 -04:00
Scott Richmond
c836278dcc moar debugging: find issues with upvalues 2025-06-23 18:59:12 -04:00
Scott Richmond
8fd880f749 fix dict pattern stack discipline 2025-06-23 17:33:45 -04:00
Scott Richmond
2658939b0a fix tail position in collection forms 2025-06-23 00:27:50 -04:00
Scott Richmond
9cb36f5189 add turtle graphics, fix jump len error in tuple pattern 2025-06-22 23:57:11 -04:00
Scott Richmond
ad13f8b038 maybe actually fix the loop stuff; lots of QOL improvements 2025-06-22 19:42:25 -04:00
Scott Richmond
17ff00f570 keep grinding; quality of life improvements to aid in grinding 2025-06-22 17:03:50 -04:00
Scott Richmond
d762458bb3 keep grinding on loop/recur/jif stack mismatch; add ast->code printer 2025-06-22 14:04:43 -04:00
Scott Richmond
3ac08a1991 lots of bugs fixed--upvalues, bindings, stack manipulations, tail calls, etc. 2025-06-21 22:25:08 -04:00
Scott Richmond
16fed32000 fix one-up closure resolution 2025-06-21 18:33:14 -04:00
Scott Richmond
ac06504979 constants need 16 bits 2025-06-20 15:56:13 -04:00
Scott Richmond
f244b97c4a work on prelude; update tailcall to deal properly with base fns 2025-06-20 14:29:31 -04:00
Scott Richmond
fac7d71732 fix argument order in base fns 2025-06-20 12:49:31 -04:00
Scott Richmond
062e7d5126 recursion works, so does mutual recursion; function call bugfixes 2025-06-20 12:32:15 -04:00
Scott Richmond
50a3aa9a61 fix binding bug 2025-06-20 00:33:25 -04:00
Scott Richmond
838dc68d48 improve panic traces; tail calls work for simpel calls 2025-06-19 21:13:18 -04:00
Scott Richmond
1600311e47 tail calls work now? also print stack trace on panic 2025-06-19 20:52:19 -04:00
Scott Richmond
430e29a608 fix upvalue resolution, start work on TCO 2025-06-19 20:29:15 -04:00
Scott Richmond
fdb4713d98 rought draft of splatted fn args 2025-06-19 18:26:44 -04:00
Scott Richmond
66534a2429 dict splatterns first draft 2025-06-19 15:56:23 -04:00
Scott Richmond
2b92046c4a first draft of tuple splatterns 2025-06-19 12:37:29 -04:00
Scott Richmond
e44cf56860 first draft of list splatterns 2025-06-19 12:18:09 -04:00
Scott Richmond
3c8e7c10d5 first stab at splatted lists 2025-06-19 12:06:47 -04:00
Scott Richmond
7d900b5bc6 add match splatted list opcode 2025-06-19 11:54:26 -04:00
Scott Richmond
8e8c457ce6 panic on wrong number of args to functions 2025-06-18 16:47:53 -04:00
Scott Richmond
36033de22f VM instructions now take 3 bytes 2025-06-18 14:12:10 -04:00
Scott Richmond
73d94101d7 first draft of complex string matching, discover jump mistake 2025-06-05 23:26:42 -04:00
Scott Richmond
d330fc3046 first draft of partial application, is working in easy cases 2025-06-05 16:45:23 -04:00
Scott Richmond
d4bda075d8 start work on partial application, fix/abstract binding resolution 2025-06-05 16:10:40 -04:00
Scott Richmond
0b0e869d85 add dict splats 2025-06-05 13:24:32 -04:00
Scott Richmond
8d3e817b6e add list splats 2025-06-05 13:05:07 -04:00
Scott Richmond
8909f7350b closures work?! 2025-06-04 17:53:38 -04:00
Scott Richmond
911702f4bf add a print builtin/opcode 2025-06-03 19:26:01 -04:00