421f5ea208
add jump to def and type on hover for top level
2024-12-07 13:25:29 -08:00
ccbd617671
Day5, add SortedMap
2024-12-05 16:13:12 -08:00
baeaf4295d
Day3 working
...
- Fix string and character encoding in output
- Fix autos not solving if another extends context
2024-11-29 22:10:43 -08:00
18e44cb7d3
Improvements to erasure checking, fix to codegen issue
2024-11-29 10:02:45 -08:00
370fc8e0aa
Add filenames to FC, relocate errors from other files in playground/vscode
2024-11-27 09:57:22 -08:00
d4bcbc5949
primitive erasure implementation, dead code elimination
2024-11-26 14:10:24 -08:00
07cbeec6cc
add quantity to parser
2024-11-25 21:17:56 -08:00
acb37a2882
Only log metas for top file, remove metas from Context
2024-11-23 17:48:03 -08:00
1a9d44434c
first pass at where clauses
2024-11-19 22:40:52 -08:00
c665310653
Address issues with unify's case tree in idris
...
Clean up some stuff in prelude
Add parser for where
2024-11-19 21:35:50 -08:00
6b36dd1cd1
First pass at sugar for instances.
2024-11-17 19:33:19 -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
60abe813dc
better names on solutions
2024-11-14 16:28:40 -08:00
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