Commit Graph

17 Commits

Author SHA1 Message Date
crumbtoo
86b1538d3d reexport submodule 2023-11-15 10:12:35 -07:00
crumbtoo
ebda19458c Core submodule 2023-11-15 10:09:42 -07:00
crumbtoo
f578b16d06 constructed data things 2023-11-14 14:52:21 -07:00
crumbtoo
3c667d4c23 Core.hs export list 2023-11-14 12:37:44 -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
bc1a62120c other arith 2023-11-13 21:55:18 -07:00
crumbtoo
d7bd36ae49 STRs for negation primitive -- evaluator can negate ints
STR = state transition rule. did this unmedicated! next up will be other primitive arithmetic operations
2023-11-13 14:32:11 -07:00
crumbtoo
8ce258b9de ragh! 2023-11-10 17:38:17 -07:00
crumbtoo
0a9e4230ee letrec 2023-11-10 14:34:28 -07:00
crumbtoo
71a8297451 cool! (core language mostly works) 2023-11-10 13:36:17 -07:00
crumbtoo
83cffc0a57 pretty instances for core language 2023-11-10 10:37:33 -07:00
crumbtoo
d265a423b7 pretty printer 2023-11-09 18:59:00 -07:00
crumbtoo
708e611799 pretty printer
uses ISeq, as described in 'Implementing Functional Languages'. going to try using a style similar to ShowS instead.
2023-11-09 14:55:03 -07:00
crumbtoo
4c8eba0b41 template instantiation 2023-11-09 13:31:16 -07:00
crumbtoo
2e76a54585 can't do this! killing myself tonight ‼️ here's three lines of code i spent four hours on 2023-11-08 19:21:12 -07:00
crumbtoo
2504f91572 haskell my beloved 2023-11-08 12:41:46 -07:00