Commit graph

32 commits

Author SHA1 Message Date
7b93a913c7 rewrite pretty printer 2023-05-15 17:13:14 +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
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
ba2818a865 remove IsQty interface 2023-04-01 19:16:43 +02:00
ad942b2fd8 printing for most of FromParserError 2023-03-31 19:29:15 +02:00
36609713ac mtl ⇒ eff 2023-03-31 19:26:24 +02:00
f4af1a5a78 split up Quox.Typing 2023-03-13 21:41:57 +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
426c138c2b clean up some old unused stuff 2023-03-08 22:33:52 +01:00
b7acf39c39 remove universe type 2023-03-05 16:48:29 +01:00
0cae84c75b add module Parser.Syntax with PTerm and toPTerm 2023-03-05 14:55:04 +01:00
edeee68cb7 parser 2023-03-04 21:35:09 +01:00
fc3c2dc8ab sop → elab-util 2023-03-02 19:52:32 +01:00
dbe248be9a lexer 2023-02-28 20:51:54 +01:00
cacb3225a2 unicode stuff 2023-02-27 07:27:27 +01:00
c75f1514ba add BoolExtra 2023-02-22 05:42:56 +01:00
7895fa37e5 Q.S.T.Reduce ⇒ Q.Reduce and make it use Definition directly 2023-02-19 18:54:59 +01:00
ae43c324c0 remove commented modules from ipkg 2023-02-19 18:22:27 +01:00
92617a2e4a whnf actually reduces to whnf now (probably) 2023-01-23 03:02:55 +01:00
28055c0f39 add Decidable-related stuff 2023-01-09 23:43:23 +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
8443b2f6d8 remove lex/parse stuff for now 2023-01-08 14:58:18 +01:00
44778825c2 add Definitions module 2022-08-22 10:29:58 +02:00
3cf246b4dc merge Quox.{Syntax.Term.}Reduce 2022-05-25 16:00:49 +02:00
274ecfb58c normalizeNfc 2022-05-12 07:42:33 +02:00
c743a99356 char class stuff 2022-05-10 22:44:11 +02:00
804f1e3638 remove src directories 2022-05-06 22:01:44 +02:00
79211cff84 start of parser stuff 2022-05-06 21:58:32 +02:00
49c43ad296 heartbreaking: Quox.Error doesn't actually work 2022-05-06 21:24:01 +02:00
1931f954fb renamings 2022-05-04 20:13:56 +02:00
Renamed from lib/quox.ipkg (Browse further)