Commit Graph

281 Commits

Author SHA1 Message Date
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
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
ac119a848c ariadne hooked up to panic messages 2024-12-12 00:31:57 -05:00
Scott Richmond
d28a7adbfa fiddle 2024-12-11 19:13:06 -05:00
Scott Richmond
c1a594a939 refactor process to use visit method everywhere 2024-12-11 19:11:40 -05:00
Scott Richmond
b85df7a83c process now uses spans, for to give panic locations 2024-12-11 18:58:59 -05:00
Scott Richmond
a248a56f6e stash changes before ripping up a bunch of stuff 2024-12-11 17:37:42 -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
ca0c4062c3 get closing working? 2024-12-11 16:43:13 -05:00
Scott Richmond
6f4b269bdb follow clippy 2024-12-11 15:48:24 -05:00
Scott Richmond
9410997886 add args to processes 2024-12-11 15:45:34 -05:00
Scott Richmond
3eb9178854 context -> process 2024-12-11 15:42:50 -05:00
Scott Richmond
4b783bc5ef validator validates recursive functions 2024-12-11 15:36:23 -05:00
Scott Richmond
acaf726675 arity checking--of local functions 2024-12-11 00:20:34 -05:00
Scott Richmond
2f8f3f687c complete first draft of validator 2024-12-10 23:42:05 -05:00
Scott Richmond
dd57f49f80 cover all Ast branches 2024-12-10 22:40:57 -05:00
Scott Richmond
c40f0f45d2 move patterns, clauses into AST 2024-12-10 22:26:52 -05:00
Scott Richmond
07096abc7d start moving Patterns into Ast 2024-12-10 18:40:43 -05:00
Scott Richmond
26f3b66b33 loop arity checking 2024-12-10 18:07:31 -05:00
Scott Richmond
1e88d803a3 improve do & recur errs 2024-12-10 17:39:02 -05:00
Scott Richmond
8016f9f0bd first draft of synthetic validation 2024-12-10 17:23:15 -05:00
Scott Richmond
c5ec437452 start testing, fixing 2024-12-10 17:14:26 -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
Scott Richmond
1e48de112c actually commit the big new file 2024-12-08 23:33:46 -05:00
Scott Richmond
fc8896908d many refactorings; unfucked lifetimes? 2024-12-08 23:33:02 -05:00
Scott Richmond
df4fc68326 type alias for Context 2024-12-08 00:02:01 -05:00
Scott Richmond
1a620c3682 finish fighting with lifetimes: string pattern matching works! 2024-12-07 23:56:19 -05:00
Scott Richmond
fec57635e3 fighting with lifetimes 2024-12-07 22:29:10 -05:00
Scott Richmond
cb66806cae parse string patterns, perhaps correctly, perhaps not 2024-12-07 18:26:25 -05:00
Scott Richmond
74db9a7f53 finish base, I think 2024-12-06 14:08:34 -05:00
Scott Richmond
a739dfd794 keep adding to base, pull type function from value to base 2024-12-06 13:21:25 -05:00
Scott Richmond
fb572e4acc tick some boxes 2024-12-05 14:02:41 -05:00
Scott Richmond
531e79d482 add concat 2024-12-05 11:51:42 -05:00
Scott Richmond
04a09c5ccc add some functions, base fns return values, not results 2024-12-04 20:19:41 -05:00
Scott Richmond
1e18da7bd1 ensure inlined and allocated strings are equal 2024-12-04 19:13:25 -05:00
Scott Richmond
d3e026733a complete string interpolation 2024-12-04 19:07:03 -05:00
Scott Richmond
4b3da3d8ba parse interpolated strings 2024-12-04 18:31:13 -05:00
Scott Richmond
045f8cd579 parse interpolated strings 2024-12-04 18:30:03 -05:00
Scott Richmond
da60fed78d add ref-counted string type 2024-12-04 15:03:09 -05:00
Scott Richmond
eaab358d5d moar thoughts 2024-11-22 00:07:52 -05:00
Scott Richmond
3fa7133e21 write a few thoughts 2024-11-21 23:52:27 -05:00
Scott Richmond
69583e29d3 parse docstrings 2024-11-21 22:36:57 -05:00
Scott Richmond
03864d5878 update todos 2024-11-21 20:09:37 -05:00
Scott Richmond
b645c7daa6 get right with clippy 2024-11-21 20:00:49 -05:00
Scott Richmond
2801916473 follow clippy 2024-11-21 19:54:50 -05:00