Commit Graph

70 Commits

Author SHA1 Message Date
Scott Richmond
1e022674d3 improve pattern representation; fix get callsites 2025-07-06 19:00:03 -04:00
Scott Richmond
9361b65c4a get doc! to where it needs to be; make show much longer 2025-07-06 17:18:37 -04:00
Scott Richmond
658215cc7c have rust make words 2025-07-06 16:39:29 -04:00
Scott Richmond
ffd1aa7127 wire up keyboard events 2025-07-06 01:40:03 -04:00
Scott Richmond
9c8159dde6 use NotNan as number representation 2025-07-06 00:27:50 -04:00
Scott Richmond
7c360fe3d2 working on panics 2025-07-04 01:23:16 -04:00
Scott Richmond
f1a4a31aa5 use serde to serialize the things 2025-07-03 20:22:11 -04:00
Scott Richmond
8eae684b85 string keys on dicts now fully work 2025-07-03 15:30:51 -04:00
Scott Richmond
cdeb732523 add string keys to dicts 2025-07-03 12:41:00 -04:00
Scott Richmond
917fcfe103 work on errors 2025-07-02 23:47:02 -04:00
Scott Richmond
0c155c3a96 get fetch up & running 2025-07-01 18:52:03 -04:00
Scott Richmond
0eb1a9826c integration work continues 2025-06-30 18:59:59 -04:00
Scott Richmond
30a68eedc7 stub out first pass of io system 2025-06-30 12:48:50 -04:00
Scott Richmond
aa1b4077ab add a process value 2025-06-26 17:17:41 -04:00
Scott Richmond
f19fd2b12d things and stuff 2025-06-25 17:43:30 -04:00
Scott Richmond
ab29109b41 run is now String -> String, outputting a json result 2025-06-25 15:41:30 -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
c836278dcc moar debugging: find issues with upvalues 2025-06-23 18:59:12 -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
5a0a6453ab start work on getting prelude working; discover closure bug 2025-06-21 17:43:47 -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
8e8c457ce6 panic on wrong number of args to functions 2025-06-18 16:47:53 -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
5660d62aff let as last expr in block now returns rhs; clean up some comment cruft 2025-06-04 18:27:17 -04:00
Scott Richmond
8909f7350b closures work?! 2025-06-04 17:53:38 -04:00
Scott Richmond
aaa9ab2e98 start pulling base fns into bytecode interpreter 2025-06-03 18:54:33 -04:00
Scott Richmond
1b462ce8ce keywords and interned strings use &'static str instead of indexes into vecs 2025-06-03 16:23:37 -04:00
Scott Richmond
663435e223 add string interpolation 2025-05-30 11:44:32 -04:00
Scott Richmond
e2617de4e9 or and and are now reserved words 2025-05-28 16:37:25 -04:00
Scott Richmond
efefa77b6e return register now an 8-member array 2025-05-26 09:16:47 -04:00
Scott Richmond
0719e4a276 fix block compilation; compile & run repeat 2024-12-26 23:33:57 -05:00
Scott Richmond
774df695d9 separate compiler & chunk 2024-12-26 19:03:09 -05:00
Scott Richmond
e37b562c93 notes and comments 2024-12-26 18:41:54 -05:00
Scott Richmond
05abe64e45 working & thinking 2024-12-24 12:35:44 -05:00
Scott Richmond
d3df1e8ed2 continue work on compiling functions 2024-12-23 10:55:28 -05:00
Scott Richmond
5618cf9ef8 get lifetime out of Chunk, thus out of Value 2024-12-22 19:51:02 -05:00
Scott Richmond
068a8aa724 do lots of work 2024-12-22 19:07:42 -05:00
Scott Richmond
27443444e3 get binding & pretty debugging working 2024-12-18 01:28:23 -05:00
Scott Richmond
d0afa3a547 make some progress: atoms and ifs 2024-12-15 23:28:57 -05:00
Scott Richmond
2aa9892d25 some simple bytecodes! 2024-12-15 17:54:40 -05:00
Scott Richmond
1e74ef8237 improve panic reports 2024-12-12 19:01:51 -05:00
Scott Richmond
78266114e7 a slow and brute-force approach to the problem of re-binding closed-over forward declarations 2024-12-12 01:19:39 -05:00
Scott Richmond
b85df7a83c process now uses spans, for to give panic locations 2024-12-11 18:58:59 -05:00
Scott Richmond
ca0c4062c3 get closing working? 2024-12-11 16:43:13 -05:00
Scott Richmond
c40f0f45d2 move patterns, clauses into AST 2024-12-10 22:26:52 -05:00