30cc85ca0e
move auto solver to elab
2025-01-02 20:54:25 -08:00
9ed2b2077d
fixes and changes for porting
...
- forward declaration of records
- fixes to projections
- drop record accessors (use projections instead)
- changes to names to disambiguate
2025-01-01 20:21:07 -08:00
669670d68c
Add projections for records
2025-01-01 11:27:41 -08:00
8c7f0616d2
fix type constructor quantities for short data decls
2024-12-29 22:24:32 -08:00
57a8fe9609
prep for self-hosting
2024-12-29 21:17:06 -08:00
413f95940f
Replace monad stack with hard-coded monad
2024-12-29 14:58:05 -08:00
3ec2f90770
sugar for data and other improvements
...
- parse types in let (everything but parser was there)
- add sugar for `data`
- move `joinBy` to prelude
- fix highlighting for char in vscode
- better errors for missing imports
2024-12-28 09:45:21 -08:00
9655434b2a
add namespaces to names
2024-12-26 18:51:46 -08:00
ad2f29d0af
improve already defined error messages
2024-12-22 14:58:45 -08:00
f2c6b409fe
desugaring record implementation (TODO - dependency)
2024-12-19 20:43:10 -08:00
1a05043922
Generic instances for tuples, error recovery, show details when multiple solutions
2024-12-16 21:05:43 -08:00
c5368edbbf
Day14, move stuff to libraries, aoc2024 -> samples, fix FC on an error
2024-12-14 08:48:12 -08:00
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