Commit Graph

18 Commits

Author SHA1 Message Date
rhiannon morris 7b93a913c7 rewrite pretty printer 2023-05-15 17:13:14 +02:00
rhiannon morris d5f4a012c5 add source locations to inner syntax 2023-05-02 03:06:25 +02:00
rhiannon morris a5ccf0215a coercions and compositions 2023-04-15 15:13:01 +02:00
rhiannon morris 773f6372ea quantities in case don't need to be *exactly* the same
...as long as they are all compatible with the target.
for example, given ω.n : ℕ:
```
  case double_it? return ℕ of {
    'true  ⇒ plus n n;
    'false ⇒ n
  }
```
2023-03-27 00:01:32 +02:00
rhiannon morris 46e13c8ca2 don't print empty contexts in errors 2023-03-26 16:11:11 +02:00
rhiannon morris 6dc7177be5 use NContext/SnocVect for scope name lists etc 2023-03-16 18:18:49 +01:00
rhiannon morris 32f38238ef pretty printing errors 2023-03-15 15:54:51 +01:00
rhiannon morris 86d21caf24 put names into contexts, and contexts into errors 2023-03-14 16:04:41 +01:00
rhiannon morris 8e9b0abb34 Show Telescope 2023-03-13 18:25:07 +01:00
rhiannon morris 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
rhiannon morris 426c138c2b clean up some old unused stuff 2023-03-08 22:33:52 +01:00
rhiannon morris ab2508e0ce add fromPTerm, etc 2023-03-05 16:50:05 +01:00
rhiannon morris 0a2d05818e fix fixities 2023-03-02 19:56:16 +01:00
rhiannon morris 8de5803cba add Context.unzip 2023-02-11 18:13:44 +01:00
rhiannon morris 4b36d8b7c8 pair stuff 2023-01-26 19:55:08 +01:00
rhiannon morris 44778825c2 add Definitions module 2022-08-22 10:29:58 +02:00
rhiannon morris 77e94a3033 oops Shift.drop1 and ssDown were the same 2022-08-18 20:39:19 +02:00
rhiannon morris 804f1e3638 remove src directories 2022-05-06 22:01:44 +02:00
Renamed from lib/src/Quox/Context.idr (Browse further)