Commit Graph

20 Commits

Author SHA1 Message Date
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
a2ae53f8e4 wire up stub:w prelude from external file 2025-06-20 14:43:14 -04: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
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