Commit Graph

263 Commits

Author SHA1 Message Date
50ee14fc09 Get Tree.newt working 2024-10-16 22:39:44 -07:00
1695815fe3 comment out issue in Zoo4eg 2024-10-16 22:03:09 -07:00
a0ceac3167 most of Tree.newt working 2024-10-16 21:27:05 -07:00
558e7722b8 [ unify ] Don't add constraints for vvar with spine. Constrain vvar instead of η expanding. 2024-10-16 21:26:53 -07:00
3cbbd8abc2 Better file locations 2024-10-15 22:08:35 -07:00
7a8acd4c6f something else to fix 2024-10-12 22:16:46 -07:00
ac09a9bb21 cleanup, expand vars in scrutinee type 2024-10-12 22:14:34 -07:00
a7d2e065e6 A couple of other spots we expand to Case 2024-10-08 22:03:31 -07:00
125a8c5ac5 Fix issue where top level is expanded, but stuck on Case 2024-10-08 21:18:17 -07:00
75015f094a more test cases, problem in Tree.newt 2024-10-07 20:59:50 -07:00
38b09ac028 dotting issue 2024-10-03 21:37:50 -07:00
497ef7a9f0 Fix unification issues, add debug messages 2024-10-02 19:56:42 -07:00
151f678f75 Work on usable codegen
- escape js names
- executable output
- better FC in parsing
- experiment with IO
2024-09-29 22:17:51 -07:00
76e627825c write output to file (if -o), cmd line parser, handle dup imports 2024-09-29 11:06:48 -07:00
fa7d803ebb restructure Raw to separate import directives 2024-09-29 09:33:09 -07:00
9087ee6490 imports 2024-09-29 07:17:55 -07:00
beb7b1a623 1 + 1 = 2 2024-09-28 21:18:03 -07:00
4f9c7fa8a9 rearrange deck chairs 2024-09-28 11:39:34 -07:00
94ffbdb3a2 fixes to casetree 2024-09-28 11:14:44 -07:00
eb281fa3b3 Drop incompatible constructors in case 2024-09-27 20:50:57 -07:00
0e3a9fe605 notes on typeclass 2024-09-23 22:00:29 -07:00
38f01065eb mechanism for multiple errors printed at end of file 2024-09-18 22:21:10 -07:00
4f7b78f056 add types to metas, find example that needs postpone 2024-09-17 22:11:23 -07:00
699a4bd575 elaborate let 2024-09-17 06:27:55 -07:00
b65a76ccd3 show newt failure in vscode 2024-09-15 21:16:37 -07:00
ac7a61e1fd operators in case patterns 2024-09-14 21:44:41 -07:00
086f3d6541 matching on mixfix 2024-09-14 19:46:15 -07:00
331d966ef3 drop commit/mustWork for parsec approach. allow mixfix constructors 2024-09-14 14:46:04 -07:00
647d8d8728 Add license 2024-09-14 11:44:52 -07:00
e066a304cd Cleanup comments, codegen for primitive type constructors. 2024-09-14 11:39:03 -07:00
4e8f15c3fb add operators 2024-09-14 09:54:20 -07:00
33015dd060 fixes to pattern matching and codegen, J example works now 2024-09-13 21:22:03 -07:00
49c1f0ce5d better FC 2024-09-12 22:02:56 -07:00
ce023ca24b case checking fixes 2024-09-12 20:45:51 -07:00
7a681e5239 implicit patterns 2024-09-11 21:19:40 -07:00
90f3229af5 Don't run switch for single cases 2024-09-11 16:23:14 -07:00
db7d2ce73d Updates to text files / comments 2024-09-11 16:00:56 -07:00
391c9449ac Zonk metas in functions, optional type signature on ptype 2024-09-07 21:32:57 -07:00
f4cbde2c98 typeclass experiments 2024-09-07 17:26:49 -07:00
7154f874bf add smoke tests 2024-09-07 17:24:25 -07:00
88d8c73e36 cleanup 2024-09-07 13:39:29 -07:00
06f7ba0984 remove zero-argument functions / applications in generated code 2024-09-07 11:41:16 -07:00
796d93d7d9 tighten up generated code 2024-09-07 11:26:11 -07:00
26ed1355f5 case statement fixes 2024-09-07 10:55:51 -07:00
1d1dd678c3 I think I have case expressions compiling 2024-09-05 22:05:21 -07:00
24ce520680 Wire casetree into checking for embedded case statements 2024-09-04 22:14:40 -07:00
31a30ff7dc fromMaybe is working, but stuff feels a little messy/fragile 2024-09-02 14:14:35 -07:00
27432840a8 investigating issue 2024-08-31 20:45:46 -07:00
f3c02ed987 more work on casetree 2024-08-31 14:47:49 -07:00
987ab18b94 case builder starting to work 2024-08-30 22:07:47 -07:00