363f85710f
add comments, fix fc on an error, add constructor for U
2025-01-10 21:03:20 -08:00
b87999a64d
More porting. Parser is working now. Some improvements have been made to auto resolution
2025-01-03 21:57:15 -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
413f95940f
Replace monad stack with hard-coded monad
2024-12-29 14:58:05 -08:00
747ab08dd6
remove external dependency for Token/WithBounds
2024-12-29 14:04:22 -08:00
054a0675f4
fix importing with dots, prep work for porting
2024-12-29 12:55:09 -08:00
9a2eac0bd7
remove a Text.Parser dependency (about 10%), and alternate tokenizer
2024-12-28 21:51:55 -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
08cc2637f5
Address stack issues in playground, unicode input in playground, fixes to error recovery
2024-12-17 20:44:39 -08:00
f26beba5eb
day17
2024-12-17 10:57:10 -08:00
1a05043922
Generic instances for tuples, error recovery, show details when multiple solutions
2024-12-16 21:05:43 -08:00
d6aaaaabf1
refactoring in playground, use zip file for web
2024-12-08 20:19:55 -08:00
421f5ea208
add jump to def and type on hover for top level
2024-12-07 13:25:29 -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
370fc8e0aa
Add filenames to FC, relocate errors from other files in playground/vscode
2024-11-27 09:57:22 -08:00
acb37a2882
Only log metas for top file, remove metas from Context
2024-11-23 17:48:03 -08:00
5cbe594993
merge aoc lib and prelude
2024-11-23 15:08:49 -08:00
1a9d44434c
first pass at where clauses
2024-11-19 22:40:52 -08:00
6abd97ee85
Improvements to grammar
2024-11-09 21:43:38 -08:00
69693a4995
defer skolem issue from unsolved meta application
2024-11-09 14:50:50 -08:00
d82c224bc3
address overflow in Prettier,
...
move Pi constructor to before it is constructed
2024-11-06 06:59:23 -08:00
182876d16b
Playground highlights and shows info/errors from build
2024-11-05 13:44:16 -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
8c8cdf4f7f
aoc2023 day2, codegen fixes, parsing fix
2024-10-23 20:36:39 -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
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
4f9c7fa8a9
rearrange deck chairs
2024-09-28 11:39:34 -07:00
38f01065eb
mechanism for multiple errors printed at end of file
2024-09-18 22:21:10 -07:00
391c9449ac
Zonk metas in functions, optional type signature on ptype
2024-09-07 21:32:57 -07:00
7154f874bf
add smoke tests
2024-09-07 17:24:25 -07:00
987ab18b94
case builder starting to work
2024-08-30 22:07:47 -07:00
d39c9aa9b2
Add CExp
2024-08-11 22:22:09 -07:00
f27c03ef20
cleanup
2024-08-11 12:18:07 -07:00
32536fc264
notes
2024-08-09 10:25:28 -07:00
c1c1cc0e0e
compile data constructors (need to get arity in funcalls)
2024-08-09 10:03:22 -07:00
449b6762a6
codegen for functions.
...
- I think next is slightly messed up (wrong indent on first line)
- dcon need code
2024-08-08 22:59:07 -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
f0d0743ccb
improved printing
2024-07-17 22:13:11 -07:00
3d477be52b
Add more stuff to equality and more logging
...
Need to get names in there though.
2024-07-16 22:53:09 -07:00
c0f9262c9a
nf the types, block comments, more eq example now that we have implicits
2024-07-16 08:10:43 -07:00
76fae34bcf
unification seems to work for kovacs examples
2024-07-14 15:59:57 -07:00
b37fa56c70
fix issue in prettier
2024-07-11 22:17:42 -07:00
a4d851b563
implicits working, but _slow_
2024-07-09 22:53:21 -07:00