Commit Graph

17 Commits

Author SHA1 Message Date
crumbtoo
d0be08027a TIM export list and ifExample2 2023-11-22 15:41:36 -07:00
crumbtoo
26c135cccb MAJOR MIlESTONE: FACTORIAL PROGRAM FROM SRC TO EXECUTION 2023-11-22 01:41:22 -07:00
crumbtoo
ac55a1908c unproductive day i fear 2023-11-16 19:11:01 -07:00
crumbtoo
7c4d8f8306 remove completed 'TODO' 2023-11-15 10:01:00 -07:00
crumbtoo
fb04f2bde1 (forgot to re-add the prelude) 2023-11-14 22:09:49 -07:00
crumbtoo
9bc0512410 better stats
measurements are imperfect, and will be VERY off once a gc is implemented. using micro-lens.
2023-11-14 22:07:28 -07:00
crumbtoo
ad94413100 be less eager in conditional primitives
not quite sure what i was thinking earlier. in `if# c t f`, there is no reason for `t` or `f` to be strict under any circumstance.
2023-11-14 20:35:38 -07:00
crumbtoo
535c059afc indirection 2023-11-14 20:30:05 -07:00
crumbtoo
3ba7df2b04 shit actually works now 2023-11-14 20:00:42 -07:00
crumbtoo
703b18412c primArbitrary
this uses some awesome type magic. leave code commentary later.
2023-11-14 17:09:15 -07:00
crumbtoo
a42a911d73 primBinary 2023-11-14 15:46:43 -07:00
crumbtoo
77c76b03ce constructed data!
that was easier than expected. see you in a few hours when i realise the catastrophic mistake i must've missed here
2023-11-14 15:20:24 -07:00
crumbtoo
f578b16d06 constructed data things 2023-11-14 14:52:21 -07:00
crumbtoo
42c3ffb6ba move Prim to TIM.hs 2023-11-14 12:34:14 -07:00
crumbtoo
a259d5c42b remove Prim constructor from Expr 2023-11-14 12:33:06 -07:00
crumbtoo
2dd5ee1f2c rw scStep to use instantiateU
by **extremely** rough estimate, this performs 40% less allocations and 4% more reductions
2023-11-14 11:47:19 -07:00
crumbtoo
23c324fea2 TI -> TIM
formatting
2023-11-14 11:06:41 -07:00