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
cecb1d73c1
update readme file
2025-01-17 21:19:51 -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
9262fa8b27
Fix parsing and rendering issues, all but 3 of aoc2024 work.
2025-01-05 11:14:06 -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
b87999a64d
More porting. Parser is working now. Some improvements have been made to auto resolution
2025-01-03 21:57:15 -08:00
5a6dcdb92b
try solving autos when a related constraint is added
2025-01-02 22:44:17 -08:00
591608eece
update aoc2024 for record changes
2025-01-02 22:38:15 -08:00
30cc85ca0e
move auto solver to elab
2025-01-02 20:54:25 -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
39be411c37
Add newt highlighting for markdown files
2025-01-01 11:28:00 -08:00
669670d68c
Add projections for records
2025-01-01 11:27:41 -08:00
4dec53daa1
additional changes for porting, fix to lexing
2025-01-01 08:46:25 -08:00
b993425803
fix string escapes
2024-12-31 23:55:07 -08:00
06893fe735
string interpolation
2024-12-31 12:36:29 -08:00
f4e96d06ec
changes to support translation
2024-12-30 22:34:03 -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
6397cac18a
refactor Ord to be based on compare
2024-12-29 16:17:34 -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
b92a45a7cf
fix alternate tokenizer
2024-12-28 22:28:40 -08:00
9a2eac0bd7
remove a Text.Parser dependency (about 10%), and alternate tokenizer
2024-12-28 21:51:55 -08:00
23a95f70f5
add \case sugar and editor support. fix symlink
2024-12-28 16:02:31 -08:00
a6e68ac2a2
ability to run code and check output in tests
2024-12-28 13:19:15 -08:00
95f90c8698
highlighting improvements
2024-12-28 11:04:42 -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
0992dc1367
split up unify to simplify casetree,
...
- cuts newt.js size in half
- shaves a second off check time for Elab.idr (23%)
- shaves a third off of final link time (33%)
2024-12-27 16:38:50 -08:00
d224099e4a
more js keywords
2024-12-27 16:00:35 -08:00
9655434b2a
add namespaces to names
2024-12-26 18:51:46 -08:00
9d90dd828e
day25
2024-12-24 22:28:46 -08:00
93399af9b5
day24
2024-12-24 11:48:37 -08:00
4af72e57b8
day23
2024-12-23 08:59:16 -08:00
87c3554253
faster version of Day22
2024-12-22 20:01:50 -08:00
ad2f29d0af
improve already defined error messages
2024-12-22 14:58:45 -08:00
e0c75ff487
improvements to editor support
2024-12-22 14:52:26 -08:00