22eec53c5a
Move warnings to Cargo.toml
2024-11-21 02:14:12 +01:00
57da1026c2
Use cove lints
2022-10-31 17:07:10 +01:00
f82b368fe1
Use new format syntax in most places
2022-01-15 01:10:33 +01:00
fe1bf309b8
Prepare string editing for 'today new'
2022-01-14 22:37:55 +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
810ec67cf7
Reenable basic cli interaction
2022-01-02 15:06:40 +01:00
004aa87153
Disable modules in preparation for refactoring
...
This way, compile errors from modules further up the dependency chain
don't obscure the important errors
2022-01-02 00:36:53 +01:00
d67bf0aeea
Improve error handling
2021-12-18 18:56:18 +01:00
34a053cbe4
Show single entries
2021-12-13 19:00:53 +00:00
44bcd5712d
Layout entries
2021-12-11 20:45:55 +01:00
3e70b2e2c9
Print dates in a nicer format
2021-12-06 13:55:13 +00:00
4c83df76d4
Implement DATE statement
2021-12-05 18:27:42 +01:00
d7dc8aac77
Evaluate BDATEs again
2021-12-04 23:34:27 +01:00
de1f4a303f
Make eval compile again
2021-12-04 21:42:45 +01:00
b5ef9e8134
Change commands to a more statement-driven format
2021-12-04 19:39:15 +01:00
35184e21e9
Restructure eval module
2021-11-24 01:13:45 +01:00
f39dbdaba7
Enable and fix more lints
2021-11-22 15:23:52 +00:00
2c7aa78d08
Format files properly again
...
I forgot to include the includes and time zone commands
2021-11-22 10:20:41 +00:00
d7df47eba4
Use system tzinfo instead of compiling it into the binary
2021-11-22 00:45:48 +01:00
b4b8dd53e0
Move stuff to files module
2021-11-21 23:03:12 +01:00
5674bcdc00
Start reorganizing code by creating files module
2021-11-21 22:48:41 +01:00
f1ff3f7aaa
Evaluate birthdays
2021-11-20 16:08:13 +01:00
e678a2bb31
Implement Display for all commands
2021-11-20 00:12:40 +01:00
a0781d574d
Parse file instead of command vec
2021-11-19 22:55:11 +01:00
747e6db8a5
Print file path in error message
2021-11-19 01:15:34 +01:00
6e53446a08
Start interpreting pest output
2021-11-18 21:59:18 +01:00
1e58672e21
Switch to pest-generated parser
2021-11-18 02:49:38 +01:00
2a1560cfb9
Start parsing lines
2021-11-17 22:52:58 +01:00
f6c249393b
Remove parsing logic
2021-11-17 21:55:40 +01:00
d8ec2e6c3a
Extract parser into its own submodule
2021-11-08 12:23:45 +00:00
dc24bbc883
Start splitting up parsing
2021-11-08 12:13:49 +00:00
09f83930b4
Hook up parser
2021-11-07 22:39:56 +00:00
3efb1a26e0
Start implementing parser
2021-11-07 21:59:20 +00:00
5e2beaedde
Load files
2021-11-07 18:40:22 +00:00
04b59293f2
Parse command line args
2021-11-07 12:15:52 +00:00
2ef7fd0f5e
Get rid of nom
2021-11-07 02:04:18 +00:00
107966389c
Parse simple dates and times
2021-11-06 17:36:40 +01:00
106111e7c6
Design command data types
...
This design went through a few iterations, and this won't be the last.
2021-11-06 01:16:01 +01:00
c7e452230e
Create project
2021-08-04 23:17:37 +02:00