43c06e7377
[ cleanup ] consistent arrows in prelude
2025-07-26 07:20:09 -07:00
cae4368cd9
misc cleanup
2025-04-22 20:30:29 -07:00
d6156ebc79
Fix aoc2024 build
...
- Holes are no longer allowed when building executables
- Stack overflow in mapMaybe (Day15)
2025-04-10 08:50:52 -04:00
0ce1a5e454
Magic Nat
2025-04-09 15:07:31 -04:00
9586ca96bb
erasure improvements
2025-02-02 16:33:37 -08:00
fad966b1ec
Refactor code generation to prepare for optimization passes
2025-02-01 12:56:30 -08:00
7d218a4b94
compiler output compatible with older version
2025-01-25 11:58:03 -08:00
bc71c006e9
Cleanup and a fix to Prelude and the playground
2025-01-23 21:10:42 -08:00
e3ae301c9c
performance and code size improvements
...
- Use default case for constructors with no explicit match.
- self-compile is 15s now
- code size is 60% smaller
code size and self compile time on par with the idris-built version
2025-01-18 21:33:49 -08:00
f9279bb255
Use null for erased values to aid serialization
2025-01-18 14:48:29 -08:00
265a81257a
cleanup a little bit
2025-01-06 16:28:40 -08:00
627ca5d91b
Aoc passes, and it successfully compiles itself.
2025-01-05 13:56:38 -08:00
0dbc5d5ee7
port compiles hello world
2025-01-04 21:07:25 -08:00
6b1eef86a7
Newt in Newt compiles (but does not run)
2025-01-04 20:25:41 -08:00
46434cc555
Port Eval.newt
2025-01-03 22:49:07 -08:00
e41e1d8f6a
porting WIP
2025-01-02 10:05:27 -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
f4e96d06ec
changes to support translation
2024-12-30 22:34:03 -08:00
6397cac18a
refactor Ord to be based on compare
2024-12-29 16:17:34 -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
567a357dee
Day20
2024-12-20 17:06:55 -08:00
edbf053f07
Day19
2024-12-19 08:00:12 -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
c5368edbbf
Day14, move stuff to libraries, aoc2024 -> samples, fix FC on an error
2024-12-14 08:48:12 -08:00
29abacfa6c
get delete, leftMost, rightMost, pop working for SortedMap
...
required fixing an issue in case building.
2024-12-13 20:58:04 -08:00
62b4bc15c4
day13
2024-12-13 08:02:43 -08:00
accbd23349
day12
2024-12-11 22:56:37 -08:00
d326a4d99f
alternate day11 with no strings
2024-12-11 20:06:25 -08:00
2f518a953d
Day9
2024-12-09 16:53:32 -08:00
0f5a909cce
day8
2024-12-07 22:12:38 -08:00
8d8078f968
improvements to erasure checking
2024-12-06 20:34:40 -08:00
3227bffaa6
Day6
2024-12-06 09:37:20 -08:00
ccbd617671
Day5, add SortedMap
2024-12-05 16:13:12 -08:00
21b03368d4
day4
2024-12-03 22:07:52 -08:00
dbc5670a52
link prelude copies to same file
2024-12-03 17:42:11 -08:00
71cf4f39f5
Make $ special
2024-11-30 15:51:06 -08:00
18e44cb7d3
Improvements to erasure checking, fix to codegen issue
2024-11-29 10:02:45 -08:00
e265248b11
change syntax for javascript code literals
2024-11-25 21:53:23 -08:00
b185065fb0
Port Prettier.idr to newt
2024-11-16 12:01:48 -08:00
3daf6b4dc2
add list concat sample
2024-11-09 10:01:50 -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
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