Commit Graph

45 Commits

Author SHA1 Message Date
f80fc9c0ff check for shadowed names at top level 2024-11-13 21:54: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
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
f0c9e3bf63 Add Tour.newt sample and make it the default.
Improvements to editor support.
2024-11-07 21:37:30 -08:00
375c16f4fd Search includes scope, tweak to code formatting 2024-11-06 20:53:44 -08:00
182876d16b Playground highlights and shows info/errors from build 2024-11-05 13:44:16 -08:00
f225d0ecbd Print meta info for claims and data, update sample code 2024-11-02 22:11:58 -07: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
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
30648c8e9c do blocks seem to work now 2024-10-29 22:14:04 -07:00
0fb5b08598 Typeclass works for Monad 2024-10-29 16:36:41 -07:00
e54aced733 Make eval less aggressive about substitution 2024-10-27 12:22:04 -07:00
95a4baf12d _+_ works with an Add typeclass now.
- add test case
- fix some issues with eval
- filter out non-candidates for auto search
2024-10-26 21:51:57 -07:00
44dd074a79 Finding simple autos after elab 2024-10-26 20:41:35 -07:00
9535675191 cleanup 2024-10-26 16:03:40 -07:00
e1ef6b5ee5 Preliminary work on autos 2024-10-25 21:07:12 -07:00
8fe9613c02 additional syntactic sugar
- allow multiple names in infix, typesig, and dcon defs
- align fixities with Idris
2024-10-23 21:41:36 -07:00
41a7563ad5 Variant on Tree, try not to expand too much 2024-10-17 21:55:50 -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
4f9c7fa8a9 rearrange deck chairs 2024-09-28 11:39:34 -07:00
eb281fa3b3 Drop incompatible constructors in case 2024-09-27 20:50:57 -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
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
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
391c9449ac Zonk metas in functions, optional type signature on ptype 2024-09-07 21:32:57 -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
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
9db5649446 primitive string and int, primitive functions, codegen fixes 2024-08-22 19:41:24 -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
f27c03ef20 cleanup 2024-08-11 12:18:07 -07:00
c1c1cc0e0e compile data constructors (need to get arity in funcalls) 2024-08-09 10:03:22 -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