Commit Graph

295 Commits

Author SHA1 Message Date
crumbtoo
414312cf98 parse type sigs; program type sigs 2023-12-20 14:13:17 -07:00
crumbtoo
6f522d34ff TyInt -> TyCon "Int#" 2023-12-20 14:12:45 -07:00
crumbtoo
52b7723ea0 LitE -> Lit 2023-12-18 15:38:26 -07:00
crumbtoo
ac6f826141 small 2023-12-18 15:37:32 -07:00
crumbtoo
e222dae6ac infer nonrec let binds
infer nonrec let binds
2023-12-18 15:37:32 -07:00
crumbtoo
e9e1c075db type IsString + test unification error 2023-12-18 15:37:32 -07:00
crumbtoo
0470912983 comments and better type errors 2023-12-18 15:37:32 -07:00
crumbtoo
f7e850c61a hindley milner inference :D 2023-12-18 15:37:27 -07:00
crumbtoo
78f88e085f infer 2023-12-18 15:36:32 -07:00
crumbtoo
136e3687b0 Literal -> Lit, LitE -> Lit 2023-12-18 15:36:17 -07:00
crumbtoo
1d5af748b3 idCase test 2023-12-14 14:04:51 -07:00
crumbtoo
f2b6e43d59 div zero 2023-12-14 13:22:50 -07:00
crumbtoo
5ea629a439 real tests! 2023-12-14 12:59:31 -07:00
crumbtoo
906bdc59b7 arith fixes (everything seems to work) 2023-12-14 11:59:27 -07:00
crumbtoo
0caeeccde1 awkwardly demos broken dev branch 2023-12-13 11:03:43 -07:00
crumbtoo
70e0746932 rm Rename 2023-12-12 18:06:17 -07:00
crumbtoo
a65ae0bd52 rlp syntax
gonna work on typechecking now lol.......
2023-12-12 13:50:07 -07:00
crumbtoo
b371e84d80 gm + gmPrep wiring 2023-12-11 18:05:17 -07:00
crumbtoo
7391148d62 gmPrep 2023-12-11 17:25:41 -07:00
crumbtoo
6c43f86397 cleanup 2023-12-11 14:37:53 -07:00
crumbtoo
238729cf1e core2core 2023-12-11 14:18:48 -07:00
crumbtoo
e477891bc3 cleanup 2023-12-08 14:55:30 -07:00
crumbtoo
f728b91a8a add annotation param to Expr
nightmare breaking changes. never listening to the "i'll do it later if i REALLY need it" part of my brain again.

add annotation param to Expr
2023-12-08 09:49:03 -07:00
crumbtoo
a00405ebd4 gc
gc
2023-12-07 15:14:52 -07:00
crumbtoo
c48a4ef4c0 hooray (factorial works on GM) 2023-12-07 13:14:48 -07:00
crumbtoo
c31d12bde8 womp (no deepeval) 2023-12-07 12:05:48 -07:00
crumbtoo
791c5f6478 fix evil bug
unwind unsaturated SC rule was not firing
2023-12-07 09:39:26 -07:00
crumbtoo
ed8075a65f fixup
fixup
2023-12-06 19:41:13 -07:00
crumbtoo
38e42752cf cleanup
cleanup
2023-12-06 19:41:12 -07:00
crumbtoo
dade0a13a2 cleanup 2023-12-06 17:15:03 -07:00
crumbtoo
f6d87cfb6b case exprs! 2023-12-06 16:41:38 -07:00
crumbtoo
07c3064a72 oh boy (pack) 2023-12-06 15:29:03 -07:00
crumbtoo
87d3aac1fb finally fix dispatch scope 2023-12-06 11:23:44 -07:00
crumbtoo
1b51ee0c64 use Key to index Env 2023-12-06 11:17:26 -07:00
crumbtoo
3a17eb473f temporary constructor syntax 2023-12-06 10:29:20 -07:00
crumbtoo
22a27dca3b case expr rules 2023-12-06 10:22:38 -07:00
crumbtoo
cb0de3b26b bhick 2023-12-04 19:52:35 -07:00
crumbtoo
43454fa2e0 tests 2023-12-04 18:43:06 -07:00
crumbtoo
799cc8e398 ugh 2023-12-04 16:57:43 -07:00
crumbtoo
cb6321fbf8 -Wall; no warnings 2023-12-04 14:50:50 -07:00
crumbtoo
5c3b7c2c30 strict arith 2023-12-04 13:50:48 -07:00
crumbtoo
a3a38cb256 Eval main rather than Unwinding it 2023-12-04 13:06:50 -07:00
crumbtoo
7ef3bf1082 prim arith hooray 2023-12-04 11:21:00 -07:00
crumbtoo
cd763db4c9 dump and docs 2023-12-01 17:54:55 -07:00
crumbtoo
73a1e4d259 letrec :D 2023-12-01 14:43:40 -07:00
crumbtoo
e0dc3f58f7 letnonrec 2023-12-01 13:38:16 -07:00
crumbtoo
9dbcb2c18b arg push 2023-11-30 15:33:46 -07:00
crumbtoo
089afa0ea1 TIM -> TI 2023-11-30 14:08:19 -07:00
crumbtoo
5484165ab5 gm m2 2023-11-30 13:45:54 -07:00
crumbtoo
5b0fdead90 fix NNum sharing not updating env
when will i learn to confirm results before pushing...
2023-11-30 11:14:52 -07:00