Commit Graph

52 Commits

Author SHA1 Message Date
acb37a2882 Only log metas for top file, remove metas from Context 2024-11-23 17:48:03 -08:00
affae1fecf Allow where defs to refer to themselves 2024-11-20 19:51:25 -08:00
fac34e729c add sugar for typeclass 2024-11-16 21:08:01 -08:00
9767d92952 more tweaks to pretty printing. 2024-11-15 20:16:02 -08:00
9faee86886 tweaks to output, fix scope issue in pprint 2024-11-15 16:49:31 -08:00
a186c15477 suppress closure env in printing 2024-11-13 22:03:00 -08:00
9e72ed67fc refactoring
- move over to env for unify et al
- fix issue where constraint had short context
- drop parameters block - make it clear where context is being used
2024-11-12 21:34:43 -08:00
91bb79a998 Mixfix operators 2024-11-10 21:13:18 -08:00
69693a4995 defer skolem issue from unsolved meta application 2024-11-09 14:50:50 -08:00
bbd4832671 printing improvements, improve case eval 2024-11-09 09:34:37 -08:00
6baee23a73 addZero now works
distinguish two modes of unification
while pattern matching we return constraints on variables, and normally
we are more aggressive about evaluating when matching against a variable.
fixes to `let`
surface #check in vscode
2024-11-02 18:23:46 -08:00
6164893da5 Parsing updates for unicode
- Allow unicode characters in indents and operators
- Show lexing errors
2024-11-02 10:22:04 -07:00
91eec503d1 clean up some vscode noise from backtracking 2024-10-30 21:39:26 -07:00
56e005d2dc misc cleanup 2024-10-30 21:23:17 -07:00
0fb5b08598 Typeclass works for Monad 2024-10-29 16:36:41 -07:00
e1ef6b5ee5 Preliminary work on autos 2024-10-25 21:07:12 -07:00
fe323618e7 Visible infix info from imports 2024-10-22 22:08:34 -07:00
c7593e831e Get AOC day1 working
- Fixes to codegen for literal cases.
- Fix parsing of string literals
- Work around stack overflow in Prettier
2024-10-22 20:30:20 -07:00
9148852eb5 character lits, initial work on literal case trees 2024-10-21 22:53:05 -07:00
41a7563ad5 Variant on Tree, try not to expand too much 2024-10-17 21:55:50 -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
75015f094a more test cases, problem in Tree.newt 2024-10-07 20:59:50 -07:00
76e627825c write output to file (if -o), cmd line parser, handle dup imports 2024-09-29 11:06:48 -07:00
4f9c7fa8a9 rearrange deck chairs 2024-09-28 11:39:34 -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
e066a304cd Cleanup comments, codegen for primitive type constructors. 2024-09-14 11:39:03 -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
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
3cba2993e2 casetree prep 2024-08-29 21:59:54 -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
023e9e61ad codegen improvements 2024-08-12 11:54:08 -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
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
f0d0743ccb improved printing 2024-07-17 22:13:11 -07:00
a385d1225d wip compile, drop let 2024-07-14 16:50:39 -07:00
127a1e7f00 Remove unneeded implicities 2024-07-14 16:04:26 -07:00