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
ad2f29d0af
improve already defined error messages
2024-12-22 14:58:45 -08:00
2c7c5eca55
monadic version of day21
2024-12-21 21:02:56 -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
08cc2637f5
Address stack issues in playground, unicode input in playground, fixes to error recovery
2024-12-17 20:44:39 -08:00
2f2a737f00
fix issue with dup names in output
2024-12-17 16:17:51 -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
6e487b011c
day15
2024-12-14 22:27:45 -08:00
d22f3844f6
At patterns on LHS
2024-12-14 20:10:43 -08:00
00a8678bd4
dead code
2024-12-14 13:29:02 -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
d326a4d99f
alternate day11 with no strings
2024-12-11 20:06:25 -08:00
f9f29cd932
Day10
2024-12-09 22:43:26 -08:00
2f518a953d
Day9
2024-12-09 16:53:32 -08:00
d6aaaaabf1
refactoring in playground, use zip file for web
2024-12-08 20:19:55 -08:00
9c0b20a6ce
improve error detection in case-tree building
2024-12-07 20:50:22 -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
52bbb5aa65
Day2, prelude additions/fixes, better fc on do block errors
2024-12-02 10:58:10 -08:00
5c56458b6b
Fill in more prelude, 2024d1
2024-11-30 21:46:36 -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
d5a4d6253f
port aoc2023 day4
...
more stuff in Prelude, typechecking fixes, solving autos
2024-11-30 10:27:06 -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
18e44cb7d3
Improvements to erasure checking, fix to codegen issue
2024-11-29 10:02:45 -08:00
370fc8e0aa
Add filenames to FC, relocate errors from other files in playground/vscode
2024-11-27 09:57:22 -08:00
e2db5a77df
tweaks to playground samples
2024-11-26 17:04:00 -08:00
d4bcbc5949
primitive erasure implementation, dead code elimination
2024-11-26 14:10:24 -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
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
affae1fecf
Allow where defs to refer to themselves
2024-11-20 19:51:25 -08:00
1a9d44434c
first pass at where clauses
2024-11-19 22:40:52 -08:00