3e23929b5f
export infix
2024-05-27 21:29:37 +02:00
95a0b38d74
update pretty-printing tests
2024-04-12 22:00:08 +02:00
fca75377a0
MakeName ⇒ MkName for consistency
2024-04-12 21:53:50 +02:00
efddb1aea1
skip broken pretty-printing tests till i fix them
2024-03-27 18:21:45 +01:00
fa7f82ae5a
rename Nat to NAT in AST
2023-11-03 18:05:54 +01:00
42aa07c9c8
crude but effective stratification
2023-05-21 20:34:05 +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
a5ccf0215a
coercions and compositions
2023-04-15 15:13:01 +02:00
a42e82c355
type-case
2023-04-03 17:46:23 +02:00
308834a1c0
3 more tests
2023-04-01 22:07:01 +02:00
ba2818a865
remove IsQty interface
2023-04-01 19:16:43 +02:00
5560cb6708
move 'enum' to Syntax.Base
2023-03-26 16:14:58 +02:00
5945265867
some DimEq tests
2023-03-25 20:55:38 +01:00
443da20c4b
print non-dependent function types as "π.A → B"
2023-03-18 23:33:18 +01:00
8f0f0c1891
"1.(x: A) → B" instead of "(1.x: A) → B"
...
also "1.A → B"
2023-03-18 23:27:27 +01:00
51468f54fc
misc parse/print tests
2023-03-18 02:47:15 +01:00
ea24d00544
print non-dependent products (easy mode)
...
only if the AST uses SN, like with Eq
2023-03-18 02:46:41 +01:00
958bc2f8b8
quote tags in printing if they're not identifiers
2023-03-18 02:45:43 +01:00
f2272da4b4
replace '≔' and '·' with '=' and (only) '.'
2023-03-18 02:43:58 +01:00
f814b01c5c
quote tags in printer when needed
2023-03-16 18:39:24 +01:00
f5fa63a6df
some pretty printing tests
2023-03-16 18:19:17 +01:00