Commit Graph

327 Commits

Author SHA1 Message Date
crumbtoo
cd478b466c glossary: 'layout' 2023-11-21 21:51:37 -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
crumbtoo
00a265fda1 more correct lexer 2023-11-21 14:52:17 -07:00
msydneyslaga
337b2f2c8f Merge pull request #1 from msydneyslaga/happy-parse-lex
Happy parse lex
2023-11-20 14:09:32 -07:00
crumbtoo
45952ef30e good enough. good enough. good enough. good enoguh.jjhbjhfsfbsjhdsfjbhsdbjhdfsbhjlbahjfdaojuai 2023-11-20 14:08:18 -07:00
crumbtoo
c15e67869e layout lexing is good enough 2023-11-20 12:51:04 -07:00
crumbtoo
717effc579 uh 2023-11-20 11:29:16 -07:00
crumbtoo
48aa05caad some writing on layouts 2023-11-20 11:17:27 -07:00
crumbtoo
8694ff2307 i hate programming i hate computers i am going to drop out i am going to abandon this project 2023-11-17 16:42:06 -07:00
crumbtoo
ac55a1908c unproductive day i fear 2023-11-16 19:11:01 -07:00
crumbtoo
c39a843660 core quasiquoter 2023-11-15 17:38:08 -07:00
crumbtoo
5559f66576 bad core parser just to make development easier
REPLACE WITH A REAL PARSER EVENTUALLY!!!!!!!!!!!!!!
2023-11-15 16:49:02 -07:00
crumbtoo
84e79a5b94 add plans to document parser combinators 2023-11-15 14:44:44 -07:00
crumbtoo
b28daefc3c lexer 2023-11-15 14:31:27 -07:00
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
7c4d8f8306 remove completed 'TODO' 2023-11-15 10:01:00 -07:00
msydneyslaga
2701119615 check off arithmetic 2023-11-15 08:10:53 -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
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
650e0a3cfe supercomb reduction doc 2023-11-14 12:18:53 -07:00
crumbtoo
a10c5cb84b doc formatting 2023-11-14 12:09:43 -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
8d431c9581 Control.Parser 2023-11-14 11:07:13 -07:00
crumbtoo
23c324fea2 TI -> TIM
formatting
2023-11-14 11:06:41 -07:00
crumbtoo
032bc0648f document a few strs 2023-11-14 11:05:46 -07:00
crumbtoo
70f3b5cde2 good starting point for docs 2023-11-14 09:20:25 -07:00
crumbtoo
5edbd733ac that never happened well do it tomorrow... 2023-11-13 23:19:37 -07:00
msydneyslaga
4d9d1b62e1 Update state-transition-rules.md 2023-11-13 22:37:06 -07:00
crumbtoo
6800997a8f begin docs 2023-11-13 22:26:08 -07:00
crumbtoo
bc1a62120c other arith 2023-11-13 21:55:18 -07:00
crumbtoo
6f19d112e3 dyadic arith primitives work for unevaluated args
sloppy code! rewrite this lol..
2023-11-13 21:51:41 -07:00
crumbtoo
c0021937c5 dyadic arith primitives! (only works on NF args) 2023-11-13 21:16:46 -07:00
crumbtoo
694eaacbbd add negExample3 2023-11-13 19:54:56 -07:00
crumbtoo
034f2cba9c we fucking did it gamers (negation) 2023-11-13 19:53:45 -07:00
crumbtoo
0f641c2c34 augh. (negation kinda? still no?) 2023-11-13 19:08:16 -07:00
crumbtoo
cfb2569c83 remove Control.DFA
no longer used :(
2023-11-13 19:08:16 -07:00
crumbtoo
371aa5343c auxiliary view functions for heap lookups 2023-11-13 19:08:16 -07:00