Commit Graph

88 Commits

Author SHA1 Message Date
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
7f47029efe casetree WIP 2024-08-29 22:00:19 -07:00
3cba2993e2 casetree prep 2024-08-29 21:59:54 -07:00
4c205a0c28 update readme 2024-08-29 21:58:46 -07:00
b4af384936 add typescript exercise 2024-08-29 21:58:09 -07:00
2c20cadd09 Fix RHole, add test files, papers, piforall examples 2024-08-22 22:08:26 -07:00
9db5649446 primitive string and int, primitive functions, codegen fixes 2024-08-22 19:41:24 -07:00
dfa6b835b0 dce 2024-08-22 14:11:43 -07:00
f6e47c8d22 more work on case 2024-08-22 13:34:09 -07:00
1fef9dcfc6 fresh names, move case stuff along a little 2024-08-13 07:43:00 -07:00
023e9e61ad codegen improvements 2024-08-12 11:54:08 -07:00
d39c9aa9b2 Add CExp 2024-08-11 22:22:09 -07:00
f27c03ef20 cleanup 2024-08-11 12:18:07 -07:00
32536fc264 notes 2024-08-09 10:25:28 -07:00
c1c1cc0e0e compile data constructors (need to get arity in funcalls) 2024-08-09 10:03:22 -07:00
0058b6b724 Tighten up generated code 2024-08-09 07:12:42 -07:00
873b45587c remove redundant pdf dir 2024-08-08 23:02:08 -07:00
449b6762a6 codegen for functions.
- I think next is slightly messed up (wrong indent on first line)
- dcon need code
2024-08-08 22:59:07 -07:00
13dd77345c Process pattern in correct order 2024-08-08 10:53:45 -07:00
9c5bdf5983 switch to fc 2024-08-07 16:35:27 -07:00
f5b1998afb checkpoint before FC 2024-08-05 21:31:06 -07:00
09227e444a case checking partially working 2024-08-04 15:46:43 -07:00
067a83960d checkpoint before case 2024-08-02 21:39:39 -07:00
0bb2d48d72 Additional work
- Move processDecl to separate file
- Add missing files
- Move Syntax.idr to Lib
2024-07-21 21:16:47 -07:00
dc51e8af17 pre-binding 2024-07-20 11:04:00 -07:00
ac0cf8c3e8 mostly parsing tweaks 2024-07-20 10:53:44 -07:00