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
a6e68ac2a2
ability to run code and check output in tests
2024-12-28 13:19:15 -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
e6944bc842
Add example from youtube, allow unicode type names
2024-11-14 21:07:49 -08:00
60abe813dc
better names on solutions
2024-11-14 16:28:40 -08:00
a186c15477
suppress closure env in printing
2024-11-13 22:03:00 -08:00
0589a30d40
Address a few issues in Combinatory.newt
2024-11-13 20:25:02 -08:00
9e72ed67fc
refactoring
...
- move over to env for unify et al
- fix issue where constraint had short context
- drop parameters block - make it clear where context is being used
2024-11-12 21:34:43 -08:00
3daf6b4dc2
add list concat sample
2024-11-09 10:01:50 -08:00
182876d16b
Playground highlights and shows info/errors from build
2024-11-05 13:44:16 -08:00
f225d0ecbd
Print meta info for claims and data, update sample code
2024-11-02 22:11:58 -07:00
d09afd89e0
Fix issue in case eval
2024-11-02 19:43:04 -08:00
6baee23a73
addZero now works
...
distinguish two modes of unification
while pattern matching we return constraints on variables, and normally
we are more aggressive about evaluating when matching against a variable.
fixes to `let`
surface #check in vscode
2024-11-02 18:23:46 -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
a919799134
add list monad to tests
2024-10-30 21:56:02 -07:00
56e005d2dc
misc cleanup
2024-10-30 21:23:17 -07:00
30648c8e9c
do blocks seem to work now
2024-10-29 22:14:04 -07:00
b844d0b676
parsing and desugaring of do blocks. (Some inference issues remain.)
2024-10-29 21:05:47 -07:00
0fb5b08598
Typeclass works for Monad
2024-10-29 16:36:41 -07:00
d96e23d954
this can be inferred
2024-10-28 21:48:00 -07:00