Commit graph

15 commits

Author SHA1 Message Date
4a2f72fabf Remove unnecessary label messages 2022-01-15 01:13:31 +01:00
f82b368fe1 Use new format syntax in most places 2022-01-15 01:10:33 +01:00
5e47dddd4c Make error formatting more generic
Now, some errors are generic over the FileId type, meaning I can now
pretty-print command line argument errors as well as normal errors with
the same machinery. This is accomplished via the Eprint trait, whose
generics are a tad complex but probably still fine.
2022-01-05 02:59:03 +01:00
8ae691bc3c Adapt eval code to changes
These changes include the new file representation and Files API as well
as the codespan error reporting.
2022-01-02 15:06:40 +01:00
73a44a697a Error when moving untimed entry to new time 2021-12-21 19:34:55 +01:00
66da16f4e3 Evaluate REMINDs 2021-12-21 00:14:44 +01:00
ff627b98df Prepare eval error handling for cli arg errors 2021-12-18 23:31:27 +01:00
d67bf0aeea Improve error handling 2021-12-18 18:56:18 +01:00
5d191d0edd Remember what files error spans come from 2021-12-12 20:18:58 +00:00
3e70b2e2c9 Print dates in a nicer format 2021-12-06 13:55:13 +00:00
cb7c87b8b2 Implement formula evaluation for DATE statement 2021-12-06 12:47:19 +00:00
54ffb7a70a Extract primitive types to separate file 2021-12-05 19:21:59 +01:00
4c83df76d4 Implement DATE statement 2021-12-05 18:27:42 +01:00
3a219ecac2 Evaluate some simple statements 2021-12-04 22:37:01 +01:00
de1f4a303f Make eval compile again 2021-12-04 21:42:45 +01:00