Commit Graph

28 Commits

Author SHA1 Message Date
Scott Richmond
c382b2c1d3 make some new process functions
Former-commit-id: 90505f89fe
2025-06-27 12:27:54 -04:00
Scott Richmond
f20f9ee64b some notes for tomorrow's work
Former-commit-id: 00ebac17ce
2025-06-26 23:28:17 -04:00
Scott Richmond
1136c6ca79 send messages, motherfucker!
Former-commit-id: 888f5b62da
2025-06-26 20:30:40 -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
69d574abcc fix upvalue resolution for forward-declared functions 2025-06-23 20:26:26 -04:00
Scott Richmond
ee80d971f5 fix upvalue resolution for forward-declared functions 2025-06-23 20:06:40 -04:00
Scott Richmond
c836278dcc moar debugging: find issues with upvalues 2025-06-23 18:59:12 -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
1d2ea4ae38 keep adding prelude; fix when stack discipline 2025-06-22 22:46:07 -04:00
Scott Richmond
2a31381d34 fix interpolated string stack discipline 2025-06-22 21:15:17 -04:00
Scott Richmond
6a5fa5db2a update block stack work 2025-06-22 20:44:07 -04:00
Scott Richmond
d421622df2 update block stack work 2025-06-22 20:43:51 -04:00
Scott Richmond
86df1834e3 fix and & or 2025-06-22 20:26:08 -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
cd79c94938 fix if alternative unconditional jump len 2025-06-20 17:09:41 -04:00
Scott Richmond
df0a8e5b91 fix function scoping bug 2025-06-20 15:35:09 -04:00
Scott Richmond
a275757eac wire up stub:w prelude from external file 2025-06-20 14:43:14 -04:00
Scott Richmond
70ecebcbe9 fix print! 2024-12-13 13:47:03 -05:00
Scott Richmond
0d741ee6fa bring full prelude into Ludus. 2024-12-12 19:43:56 -05:00
Scott Richmond
90493f4346 fix loop validation bugs 2024-12-12 19:28:55 -05:00
Scott Richmond
1e74ef8237 improve panic reports 2024-12-12 19:01:51 -05:00
Scott Richmond
ddff9b6884 start debugging full prelude 2024-12-11 17:32:31 -05:00
Scott Richmond
7dab0e0637 closing works, so does importing from Prelude! 2024-12-11 17:22:37 -05:00
Scott Richmond
7a800c7905 all the work trying to write a validator 2024-12-10 16:44:52 -05:00
Scott Richmond
4896987dab bring in prelude 2024-12-08 23:34:05 -05:00