Commit graph

10 commits

Author SHA1 Message Date
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
7e079a9668 add file locations to Parser.Syntax
they're immediately thrown away currently. but one step at a time
2023-04-26 06:12:03 +02:00
b666bc20cf do scope checking in FromParser where it belongs 2023-04-18 22:55:23 +02:00
a17752f31c fix up tests 2023-03-31 23:43:25 +02:00
6dc7177be5 use NContext/SnocVect for scope name lists etc 2023-03-16 18:18:49 +01:00
765c62866a more FromParser 2023-03-13 19:33:09 +01:00
c81aabcc14 more parser/FromParser stuff
- top level semicolons optional
- type optional [the def will need to be an elim]
- `load` statement
- namespaces
2023-03-12 18:28:37 +01:00
d9bc68446f more fromparser stuff 2023-03-10 21:52:29 +01:00