Commit graph

18 commits

Author SHA1 Message Date
756fc60030 wip 2023-07-16 22:17:21 +02:00
7b93a913c7 rewrite pretty printer 2023-05-15 17:13:14 +02:00
d5f4a012c5 add source locations to inner syntax 2023-05-02 03:06:25 +02:00
3fb8580f85 re-add tightening and use it when messing with scopes
e.g. "coe [_ ⇒ A] @p @q s" should immediately reduce to "s",
but if the "_ ⇒ A" happened to use an SY it didn't.

this will still happen if a wrong SY sneaks in but the alternative is
re-traversing the term over and over every time whnf runs
2023-04-17 20:56:31 +02:00
5053e9b234 remove inject stuff
injecting from m to (n+m) is just id ::: id ::: ... ::: shift n.
specifically, injecting from 0 is just the shift. so.
2023-03-25 22:44:30 +01:00
54ba4e237f use snoclists in pretty printing
i think the names were in the wrong sometimes!!!
2023-03-15 15:53:39 +01:00
90232dd1f8 rename some things to get rid of warnings 2023-03-13 19:32:52 +01:00
d9bc68446f more fromparser stuff 2023-03-10 21:52:29 +01:00
757ea89b0f add definitions to parser 2023-03-06 12:04:29 +01:00
ab63edf572 print bound vars as e.g. x#1 instead of x:1 2023-02-26 11:21:47 +01:00
7fd7a31635 write variables as #𝑖
previously non-coloured output was too ambiguous
2023-02-11 18:14:31 +01:00
f097e1c091 start of equality type stuff 2023-01-21 02:34:28 +01:00
b25e5320d9 some more properties of var 2023-01-12 16:03:09 +01:00
ef8b8b0da3 index Var.Compare by compare
i may go back on this if it's too annoying
2023-01-10 00:17:24 +01:00
f405aeb7f9 simplify some matches 2023-01-09 23:45:21 +01:00
28055c0f39 add Decidable-related stuff 2023-01-09 23:43:23 +01:00
0c1b3a78c3 remove ope stuff too 2023-01-08 15:43:54 +01:00
804f1e3638 remove src directories 2022-05-06 22:01:44 +02:00
Renamed from lib/src/Quox/Syntax/Var.idr (Browse further)