|
|
223b1563a9
|
pattern matching can dot with applied vars
|
2025-12-29 09:51:30 -08:00 |
|
|
|
70348f3e5d
|
Show Either
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
|
2025-12-26 19:52:18 -08:00 |
|
|
|
d19f39fa18
|
additional cast from AoC
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
|
2025-12-26 13:02:27 -08:00 |
|
|
|
9bbc7208d7
|
Surface erasure errors in editor, fix issue checking erasure after inlining
|
2025-12-26 13:01:30 -08:00 |
|
|
|
6590efa91c
|
top.errors doesn't need to be an IORef
|
2025-12-17 09:37:05 -08:00 |
|
|
|
e871ede85f
|
Library additions from AoC
|
2025-12-16 20:14:19 -08:00 |
|
|
|
fe3e25f009
|
AoC todos and tweaks
|
2025-12-13 14:51:26 -08:00 |
|
|
|
55e9476607
|
Change Show for List to include brackets
|
2025-12-08 08:25:01 -08:00 |
|
|
|
6c836a6ef4
|
Day 8
|
2025-12-08 08:22:54 -08:00 |
|
|
|
75716091af
|
Update Combinatory.newt, fix parse error
|
2025-11-15 14:18:12 -08:00 |
|
|
|
63687499dc
|
check impossible clauses
Also clean up some comments.
We now have types in constraints, but are still using values from
context.
|
2025-11-14 21:45:19 -08:00 |
|
|
|
79113fbce5
|
add impossible clauses (not checked yet)
|
2025-11-14 10:53:35 -08:00 |
|
|
|
d763be55d4
|
Update LiftLambda to erase Zero args
|
2025-10-26 09:42:12 -07:00 |
|
|
|
7055874dbb
|
Remove old aoc2023 directory
|
2025-10-25 13:32:58 -07:00 |
|
|
|
551e31d589
|
Fix issue when multiple constructors are defined on one line. Update aoc2024 tests to not use debugStr.
|
2025-10-24 14:50:26 -07:00 |
|
|
|
8aee58c23b
|
erase arts in lifted where functions
|
2025-10-24 11:09:57 -07:00 |
|
|
|
11ffd96a91
|
Remove erased function arguments
|
2025-10-23 22:34:14 -07:00 |
|
|
|
6a4da51e8a
|
use if/then/else for some constructor cases
|
2025-10-20 15:22:00 -07:00 |
|
|
|
15b892510e
|
Map Bool-shaped things to javascript bool, add if/then and tertiary to code gen
|
2025-10-20 11:08:12 -07:00 |
|
|
|
2794f8fe85
|
Cleanup some old comments, use record update a bit more
|
2025-10-11 21:47:38 -07:00 |
|
|
|
ddc73fb41a
|
Change Show FC format to match vscode's expectation
|
2025-10-11 21:47:34 -07:00 |
|
|
|
c39d1354c8
|
Primitive "Add missing cases" for vscode
|
2025-10-11 13:17:44 -07:00 |
|
|
|
2af6ef1c1b
|
File locations are now ranges.
|
2025-10-10 16:26:03 -07:00 |
|
|
|
b014e8d3e6
|
less noisy file errors
|
2025-10-10 10:36:22 -07:00 |
|
|
|
2a5e5ae4f5
|
add error for stray, incorrect constructors
|
2025-10-10 09:03:25 -07:00 |
|
|
|
be40c431fe
|
Add error when a constructor is used for a primitive argument.
Add testing for errors.
|
2025-10-06 15:21:54 -07:00 |
|
|
|
8cfe91343e
|
Lambda lifting (for non-javascript backends)
|
2025-10-06 15:08:36 -07:00 |
|
|
|
fc987a6f11
|
cleanup
|
2025-10-04 18:11:24 -07:00 |
|
|
|
8209d2d839
|
Use numbers for constructor tags.
|
2025-10-04 14:56:59 -07:00 |
|
|
|
f1e6f98c99
|
Combinatory checks now, probably from fixes to eval
|
2025-10-03 20:34:07 -07:00 |
|
|
|
495ed78c80
|
Use 1-based row/column in error messages
|
2025-09-29 12:42:13 -07:00 |
|
|
|
a53c5b4fba
|
cleanup
|
2025-09-29 10:50:22 -07:00 |
|
|
|
36d9f81f61
|
move inline/substMeta to compile step
|
2025-09-23 21:25:58 -07:00 |
|
|
|
3143fa7b0a
|
More inlining, fix issues in eval of case
|
2025-09-23 20:22:50 -07:00 |
|
|
|
cc7d8b4968
|
int add becomes +
|
2025-09-20 19:58:39 -07:00 |
|
|
|
49c90cce6d
|
inline "simple" functions and inline after app in inline
|
2025-09-20 17:21:19 -07:00 |
|
|
|
de71ea2f26
|
Initial implementation of inlining
|
2025-09-20 10:54:54 -07:00 |
|
|
|
97c50a254a
|
the "mode" argument to eval was unused and not fully propagated
|
2025-09-02 21:10:32 -07:00 |
|
|
|
a3801b8ba0
|
Remove some unnecessary assignments from codegen
|
2025-09-01 16:28:55 -07:00 |
|
|
|
1432316fac
|
SortedMap uses any comparator
|
2025-09-01 15:48:20 -07:00 |
|
|
|
27d9250d34
|
Fix build of newt3.js
|
2025-09-01 12:06:49 -07:00 |
|
|
|
f90d171598
|
improve QName comparison time
|
2025-08-29 11:08:34 -07:00 |
|
|
|
33a4cf6070
|
Fix issue building newt
|
2025-08-28 21:24:29 -07:00 |
|
|
|
fcee117260
|
[ libs ] move prelude file to src
|
2025-07-27 15:02:53 -07:00 |
|
|
|
bcf34c0941
|
[ auto ] try autos if a meta in their type is solved
Also cut tryEval if the result is a lambda
|
2025-07-27 14:52:24 -07:00 |
|
|
|
ff23deb825
|
[ fix ] error messages mangled by Idris to Newt translation
|
2025-07-27 14:29:14 -07:00 |
|
|
|
a79f92793b
|
[ fix ] solve autos in data declarations
|
2025-07-26 08:09:46 -07:00 |
|
|
|
0e110cd14f
|
[ unify ] unify literals correctly
|
2025-07-26 08:07:48 -07:00 |
|
|
|
2d53976602
|
[ cleanup ] dead code
|
2025-07-26 07:23:48 -07:00 |
|
|
|
1bdac27097
|
[ codegen ] PiType no longer hard-coded JS
|
2025-07-26 07:23:16 -07:00 |
|