Commit Graph

31 Commits

Author SHA1 Message Date
fad966b1ec Refactor code generation to prepare for optimization passes 2025-02-01 12:56:30 -08:00
1490fc601b add log levels, make output less noisy 2025-01-25 22:11:46 -08:00
afc6146050 Don't curry (via eta expansion) a one-argument function 2025-01-25 21:38:59 -08:00
bc71c006e9 Cleanup and a fix to Prelude and the playground 2025-01-23 21:10:42 -08:00
20e6571986 better location for "not enough patterns" 2025-01-20 19:58:41 -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
f991ca0d52 Remove unused argument that was blowing up serialization. 2025-01-18 15:21:15 -08:00
f9279bb255 Use null for erased values to aid serialization 2025-01-18 14:48:29 -08:00
8e8e6bce7e fix codegen 2025-01-12 10:38:58 -08:00
5cce1a465e Modules live in separate contexts, only imported modules are in scope 2025-01-12 08:57:01 -08:00
793c3a9999 qn for metas 2025-01-11 20:07:50 -08:00
1a9a8d3312 better fc in missing case 2025-01-11 17:40:24 -08:00
363f85710f add comments, fix fc on an error, add constructor for U 2025-01-10 21:03:20 -08:00
2cdeb2721c Improve auto solving - 30% faster and hopefully proper errors if a type mismatch is blocking it. 2025-01-07 21:01:22 -08:00
7110c94ac6 determine base path 2025-01-06 17:02:21 -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
9172d88be7 put the port in the port directory 2025-01-05 11:15:29 -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
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
dbc5670a52 link prelude copies to same file 2024-12-03 17:42:11 -08:00
53a0f96207 Day6 and let identifiers contain ? 2024-11-30 17:07:49 -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
07cbeec6cc add quantity to parser 2024-11-25 21:17:56 -08:00
a809ad1975 remove node dependencies from Prelude.newt 2024-11-23 16:24:08 -08:00
5cbe594993 merge aoc lib and prelude 2024-11-23 15:08:49 -08:00
affae1fecf Allow where defs to refer to themselves 2024-11-20 19:51:25 -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
9b19c569c9 sugar in samples 2024-11-19 05:35:29 -08:00
b185065fb0 Port Prettier.idr to newt 2024-11-16 12:01:48 -08:00