Commit graph

397 commits

Author SHA1 Message Date
1e7a6cf01f parser stuff 2022-05-08 05:41:55 +02:00
f5a98e6584 add impls of Eq/Show to Term/Elim in tests 2022-05-08 05:41:32 +02:00
fcbc92e54c more tokens 2022-05-07 22:02:13 +02:00
12753eb894 adjust precedence of (:-)
so `skip $ "grp" :- [...]` works
2022-05-07 21:30:41 +02:00
809a0fc859 simplify lexical grammar
this is a core language after all
2022-05-07 21:26:16 +02:00
1c8b2b205b temp fix for nix flake show etc 2022-05-07 17:37:47 +02:00
3b13ec47f5 more parser tests 2022-05-07 00:58:03 +02:00
715a9fe8f9 Show for Name and Dim 2022-05-07 00:57:23 +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
d43a2429e1 makefile fixes 2022-05-06 21:37:00 +02:00
1dd4ff0e22 lex . and ω (and #) 2022-05-06 21:37:00 +02:00
49c43ad296 heartbreaking: Quox.Error doesn't actually work 2022-05-06 21:24:01 +02:00
944749d868 nix fixes (nixes) 2022-05-06 20:27:45 +02:00
1931f954fb renamings 2022-05-04 20:13:56 +02:00
8093e4108a make quox-exe the default package 2022-05-04 19:26:30 +02:00
5ee637cf4d update makefile 2022-05-04 18:49:00 +02:00
d61101f786 nix cleanup 2022-05-04 18:35:43 +02:00
f5f2c4399e move lib to subdir 2022-05-04 17:44:38 +02:00
7f415328a2 wip nix 2022-05-04 17:09:49 +02:00
4973ce15bd add some keywords 2022-05-04 15:30:52 +02:00
96e81584b6 isCons → NonEmpty 2022-05-04 15:30:37 +02:00
2d7110b9c6 tokens in separate file 2022-05-04 15:30:08 +02:00
38ecabdda8 numbers with bases 2022-05-04 04:35:46 +02:00
e13cd50175 pokes in TAP 2022-05-04 00:49:18 +02:00
fa5beb4e2b decimal numbers 2022-05-04 00:49:09 +02:00
699c6a5ca1 token stuff 2022-05-03 02:03:22 +02:00
a510737462 .gitignore 2022-05-03 02:02:25 +02:00
ce3342f330 deriving 2022-05-02 22:40:28 +02:00
ba3612d836 %default total 2022-05-02 22:38:37 +02:00
9ae0e36a65 time for sirdi 2022-05-02 20:51:19 +02:00
f503cf5734 start some lexer stuff 2022-05-02 17:13:13 +02:00
df3505a04c use vars in makefiles i guess 2022-05-02 02:41:00 +02:00
434f0e08d1 make skip functions make more sense 2022-05-02 02:27:03 +02:00
e3384d4e6e support TAP 13 for /usr/bin/prove's benefit
13 doesn't support test trees so we gotta flatten it >:(
2022-05-02 00:21:35 +02:00
cf119694c1 move executable to subdir 2022-05-01 17:11:13 +02:00
874187f252 some bibs 2022-04-30 14:35:00 +02:00
9e76bcc765 check quantites of subject and global
- subj qty must be 0 or 1 (atkey)
- global must not be 0 if used at non-0
2022-04-27 22:57:56 +02:00
468c3a4c6a grtt -> qtt 2022-04-27 21:58:09 +02:00
45825ebc17 makefiles. again 2022-04-27 20:10:47 +02:00
1eace0039e a few tests 2022-04-27 20:06:39 +02:00
6bffd6a11c add converse υ rule for elim
i think this just means type preservation is modulo subtyping. which is
probably fine....?
2022-04-27 20:04:29 +02:00
81e1f331e0 move main to ./Main.idr 2022-04-27 20:04:03 +02:00
66c96cb3c4 %inline, etc 2022-04-27 15:07:32 +02:00
a690ca1277 return an exit code from TAP.run
the value 70 is EX_SOFTWARE from bsd's sysexits.h. i was looking for an
excuse to use 69 but alas it was not to be
2022-04-27 15:07:13 +02:00
d062f79176 fix yaml doc indent 2022-04-27 15:03:29 +02:00
d74b056e11 put single line yaml info on one line 2022-04-27 14:57:41 +02:00
bcd4544692 Show Quox.Equal.Mode 2022-04-27 14:56:39 +02:00
7629404097 reexport Data.List.Elem from Quox.Error
the constructors need to be in scope for auto to use them
2022-04-27 14:55:19 +02:00
64fe3a5a0f list all modules in quox.ipkg
since building succeeded i thought unlisted ones would just be private.
but no they don't get installed
2022-04-27 14:54:22 +02:00