f225d0ecbd
Print meta info for claims and data, update sample code
2024-11-02 22:11:58 -07:00
d09afd89e0
Fix issue in case eval
2024-11-02 19:43:04 -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
d41558c219
thinking about IO
2024-10-31 22:17:22 -07:00
a919799134
add list monad to tests
2024-10-30 21:56:02 -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
e6502abeed
update docs and a test
2024-10-30 08:21:33 -07:00
30648c8e9c
do blocks seem to work now
2024-10-29 22:14:04 -07:00
b844d0b676
parsing and desugaring of do blocks. (Some inference issues remain.)
2024-10-29 21:05:47 -07:00
e8de2d4ccd
Combine parser of app and operator
2024-10-29 17:59:24 -07:00
0fb5b08598
Typeclass works for Monad
2024-10-29 16:36:41 -07:00
d96e23d954
this can be inferred
2024-10-28 21:48:00 -07:00
16e6325df3
check for implicit
2024-10-28 21:37:02 -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
3379e6ba3f
escape some javascript keywords
2024-10-26 08:02:57 -07:00
e1ef6b5ee5
Preliminary work on autos
2024-10-25 21:07:12 -07:00
ec1f58a071
tell github to highlight .newt files
2024-10-23 22:10:19 -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
8c8cdf4f7f
aoc2023 day2, codegen fixes, parsing fix
2024-10-23 20:36:39 -07:00
0843ae93e1
preliminary vim support
...
I don't really know vim configuration
2024-10-22 22:09:01 -07:00
fe323618e7
Visible infix info from imports
2024-10-22 22:08:34 -07:00
19b42d72e5
update todo
2024-10-22 21:06:21 -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
33ec03f2da
codegen fixes
2024-10-19 06:42:43 -07:00
e67585c2b3
[ fix ] performance issue in Prettier during codegen of Tree.newt
2024-10-19 05:47:58 -07:00
41a7563ad5
Variant on Tree, try not to expand too much
2024-10-17 21:55:50 -07:00
05afc10631
[ fix ] stack overflow in Prettier
2024-10-17 17:18:20 -07:00
50ee14fc09
Get Tree.newt working
2024-10-16 22:39:44 -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
3cbbd8abc2
Better file locations
2024-10-15 22:08:35 -07:00
7a8acd4c6f
something else to fix
2024-10-12 22:16:46 -07:00
ac09a9bb21
cleanup, expand vars in scrutinee type
2024-10-12 22:14:34 -07:00
a7d2e065e6
A couple of other spots we expand to Case
2024-10-08 22:03:31 -07:00
125a8c5ac5
Fix issue where top level is expanded, but stuck on Case
2024-10-08 21:18:17 -07:00
75015f094a
more test cases, problem in Tree.newt
2024-10-07 20:59:50 -07:00
38b09ac028
dotting issue
2024-10-03 21:37:50 -07:00
497ef7a9f0
Fix unification issues, add debug messages
2024-10-02 19:56:42 -07:00
151f678f75
Work on usable codegen
...
- escape js names
- executable output
- better FC in parsing
- experiment with IO
2024-09-29 22:17:51 -07:00
76e627825c
write output to file (if -o), cmd line parser, handle dup imports
2024-09-29 11:06:48 -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
beb7b1a623
1 + 1 = 2
2024-09-28 21:18:03 -07:00