Commit Graph

110 Commits

Author SHA1 Message Date
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
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
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
c48a4ef4c0 hooray (factorial works on GM) 2023-12-07 13:14:48 -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
07c3064a72 oh boy (pack) 2023-12-06 15:29:03 -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
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
2d62038d07 g-machine mark 1 hooray 2023-11-30 09:16:51 -07:00
crumbtoo
0c06550189 why did i think s was succ 2023-11-30 08:38:43 -07:00
crumbtoo
f642faed71 extractProgram 2023-11-29 11:11:16 -07:00
crumbtoo
32200a67af haddock module headers 2023-11-27 17:50:34 -07:00
crumbtoo
7f6813beb5 tidy things up 2023-11-27 17:29:00 -07:00
crumbtoo
d91043fd63 operations on lists 2023-11-24 16:03:17 -07:00
crumbtoo
ec87ed49f8 implement corePrelude in core language 2023-11-24 14:59:21 -07:00
crumbtoo
0b72bc8f11 temporarily remove layout support
the core language doesn't need it. let's just keep the core simple for now while i focus on more important things
2023-11-24 14:13:20 -07:00
crumbtoo
8724df05fe corrections 2023-11-24 00:42:48 -07:00
crumbtoo
f1f711c9ca lists! 2023-11-24 00:29:37 -07:00
crumbtoo
f4d88e9478 cleaning duties 2023-11-23 01:34:31 -07:00
crumbtoo
d84fe56fbb pairs :3 2023-11-23 00:56:47 -07:00
crumbtoo
ac6c0b7457 shitty temp frontend 2023-11-22 21:53:36 -07:00
crumbtoo
29f193c8e0 use overloadedstrings in coreprelude 2023-11-22 16:10:56 -07:00
crumbtoo
3f2dfe0c96 pair examples 2023-11-22 16:09:28 -07:00
crumbtoo
06ad439e62 prelude move 2023-11-22 15:59:05 -07:00
crumbtoo
d0be08027a TIM export list and ifExample2 2023-11-22 15:41:36 -07:00
crumbtoo
ae39579c97 location (row,col) -> span (row,col,len) 2023-11-22 15:38:15 -07:00
crumbtoo
26c135cccb MAJOR MIlESTONE: FACTORIAL PROGRAM FROM SRC TO EXECUTION 2023-11-22 01:41:22 -07:00
crumbtoo
0d32ecd20e say it with me girls, "good enough!"
this is so dogshit
2023-11-22 01:16:11 -07:00
crumbtoo
8d7020d5f4 docs :3 2023-11-21 21:48:26 -07:00
crumbtoo
d65ac970b1 quasiquoters 2023-11-21 18:15:05 -07:00
crumbtoo
878e92395a more correct lexer 2023-11-21 17:59:11 -07:00