b6ce6cfb13
rename top/put/modify on M to avoid collisions
2025-02-01 16:47:10 -08:00
fad966b1ec
Refactor code generation to prepare for optimization passes
2025-02-01 12:56:30 -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
5cce1a465e
Modules live in separate contexts, only imported modules are in scope
2025-01-12 08:57:01 -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
0dbc5d5ee7
port compiles hello world
2025-01-04 21:07:25 -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
f4e96d06ec
changes to support translation
2024-12-30 22:34:03 -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
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
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
93399af9b5
day24
2024-12-24 11:48:37 -08:00
e0c75ff487
improvements to editor support
2024-12-22 14:52:26 -08:00
2c7c5eca55
monadic version of day21
2024-12-21 21:02:56 -08:00
e396514899
day21
2024-12-21 15:10:40 -08:00
567a357dee
Day20
2024-12-20 17:06:55 -08:00
f2c6b409fe
desugaring record implementation (TODO - dependency)
2024-12-19 20:43:10 -08:00
4289c5c6e8
negative integers
2024-12-19 16:36:59 -08:00
6e8727c784
try to fix missing Aoc.newt in playground
2024-12-18 14:00:59 -08:00
1a05043922
Generic instances for tuples, error recovery, show details when multiple solutions
2024-12-16 21:05:43 -08:00
4932103279
day16
2024-12-16 14:17:09 -08:00
d22f3844f6
At patterns on LHS
2024-12-14 20:10:43 -08:00
d326a4d99f
alternate day11 with no strings
2024-12-11 20:06:25 -08:00
f9f29cd932
Day10
2024-12-09 22:43:26 -08:00
9c0b20a6ce
improve error detection in case-tree building
2024-12-07 20:50:22 -08:00
ba70845c09
modularize playground (prep for persistent/modular file handling)
2024-12-07 16:58:10 -08:00
421f5ea208
add jump to def and type on hover for top level
2024-12-07 13:25:29 -08:00
0c0b1668d7
fix erasure issues inside where clauses (add type to LetRec)
2024-12-06 20:55:16 -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
3aa127c42b
turn three crashes into proper errors
2024-12-05 17:10:05 -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
ee50677d4b
add missing function, todo items
2024-12-03 17:16:02 -08:00
47657090c1
tweak to day3
2024-12-03 16:36:52 -08:00
52bbb5aa65
Day2, prelude additions/fixes, better fc on do block errors
2024-12-02 10:58:10 -08:00
53a0f96207
Day6 and let identifiers contain ?
2024-11-30 17:07:49 -08:00
71cf4f39f5
Make $ special
2024-11-30 15:51:06 -08:00
d2bbf681ea
destructuring lets and arrows
2024-11-30 15:20:51 -08:00