9e702dd03d
switch syntax to codb
2023-06-23 18:32:17 +02:00
42aa07c9c8
crude but effective stratification
2023-05-21 20:34:05 +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
a5ccf0215a
coercions and compositions
2023-04-15 15:13:01 +02:00
a42e82c355
type-case
2023-04-03 17:46:23 +02:00
ba2818a865
remove IsQty interface
2023-04-01 19:16:43 +02:00
8a9b4c23dd
box type
2023-03-31 19:26:24 +02:00
5df2a4538c
more tests
2023-03-26 16:15:19 +02:00
5560cb6708
move 'enum' to Syntax.Base
2023-03-26 16:14:58 +02:00
9250789219
natural numbers
2023-03-26 14:40:54 +02:00
6dc7177be5
use NContext/SnocVect for scope name lists etc
2023-03-16 18:18:49 +01:00
86d21caf24
put names into contexts, and contexts into errors
2023-03-14 16:04:41 +01:00
b7acf39c39
remove universe type
2023-03-05 16:48:29 +01:00
edeee68cb7
parser
2023-03-04 21:35:09 +01:00
841564f69f
fix typo in comment
2023-03-02 19:56:22 +01:00
302de6266e
nicer constructors for ASTs
2023-02-25 15:26:11 +01:00
efca9a7138
add enums, which also need whnf to be fallible :(
2023-02-22 07:45:10 +01:00
0e481a8098
new representation for scopes
2023-02-22 07:40:19 +01:00
a6f43a772e
more equality & tests
2023-02-12 21:30:08 +01:00
4b36d8b7c8
pair stuff
2023-01-26 19:55:08 +01:00
f0f49d9abf
ScopeTerms that can bind multiple vars
2023-01-23 03:22:50 +01:00
92617a2e4a
whnf actually reduces to whnf now (probably)
2023-01-23 03:02:55 +01:00
f097e1c091
start of equality type stuff
2023-01-21 02:34:28 +01:00
c45a963ba0
parameterise over qty semiring
2023-01-08 20:44:25 +01:00
0c1b3a78c3
remove ope stuff too
2023-01-08 15:43:54 +01:00
2b756ae1bb
tiny tweak
2022-05-25 16:03:23 +02:00
804f1e3638
remove src directories
2022-05-06 22:01:44 +02:00