Commit graph

14 commits

Author SHA1 Message Date
3e23929b5f export infix 2024-05-27 21:29:37 +02:00
cf3ed604a4 move Quox.Syntax.Var to just Quox.Var 2023-09-20 21:56:59 +02:00
fa14ce1a02 add FreeVars, and split only on used dvars in Equal 2023-09-12 09:56:49 +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
30fa93ab4e refactor core syntax slightly to derive Eq/Show
add a new `WithSubst tm env to` record that packages a `tm from`
with a `Subst env from to`, and write instances for just that. the
rest of the AST can be derived
2023-04-27 21:37:20 +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
757ea89b0f add definitions to parser 2023-03-06 12:04:29 +01:00
0a2d05818e fix fixities 2023-03-02 19:56:16 +01:00
881b22eee6 %inline 2022-11-01 21:07:52 +01:00
68dd93c02e remove a believe_me 2022-11-01 21:05:04 +01:00
77e94a3033 oops Shift.drop1 and ssDown were the same 2022-08-18 20:39:19 +02:00
804f1e3638 remove src directories 2022-05-06 22:01:44 +02:00
Renamed from lib/src/Quox/Syntax/Shift.idr (Browse further)