Commit graph

191 commits

Author SHA1 Message Date
efa9b7de03 Sort all entries after evaluation 2021-12-06 14:33:22 +00:00
3e70b2e2c9 Print dates in a nicer format 2021-12-06 13:55:13 +00:00
531a140c45 Fix MOVE statement 2021-12-06 13:54:23 +00:00
cb7c87b8b2 Implement formula evaluation for DATE statement 2021-12-06 12:47:19 +00:00
c391d76690 Limit birthday range with FROM and UNTIL 2021-12-06 11:01:21 +00:00
5610f13683 Fix manual Easter example 2021-12-06 01:45:00 +01:00
32e036f337 Write tests for all delta steps 2021-12-06 01:45:00 +01:00
09f687bea0 Implement rest of delta steps 2021-12-05 20:02:24 +01:00
54ffb7a70a Extract primitive types to separate file 2021-12-05 19:21:59 +01:00
d105d959fa Implement some more delta steps 2021-12-05 19:15:08 +01:00
9920b00916 Get rid of some warnings 2021-12-05 18:39:53 +01:00
8d49ac139a Use span in step error message 2021-12-05 18:35:34 +01:00
96be690e9a Clean up some imports 2021-12-05 18:30:09 +01:00
7c5bd26049 Implement custom Debug for Time 2021-12-05 18:29:04 +01:00
6d090b428f Sort entries for a single command by date 2021-12-05 18:28:59 +01:00
4c83df76d4 Implement DATE statement 2021-12-05 18:27:42 +01:00
85d2c4bf89 Simplify entries and entry dates 2021-12-05 17:06:27 +01:00
63f5c6fba9 Add some TODOs 2021-12-05 16:15:43 +01:00
d7dc8aac77 Evaluate BDATEs again 2021-12-04 23:34:27 +01:00
2112272347 Reorganize spec evaluation 2021-12-04 23:24:21 +01:00
3a219ecac2 Evaluate some simple statements 2021-12-04 22:37:01 +01:00
778576a63c Use simpler date type for entries 2021-12-04 21:52:23 +01:00
de1f4a303f Make eval compile again 2021-12-04 21:42:45 +01:00
d8782fa28a Remove EntryMap 2021-12-04 19:55:47 +01:00
b5ef9e8134 Change commands to a more statement-driven format 2021-12-04 19:39:15 +01:00
f42027e378 Collect relevant entries based on different modes 2021-12-04 18:44:56 +01:00
b8aeb79323 Evaluate some deltas 2021-12-03 20:17:49 +00:00
0eda941ed7 Keep file contents in memory 2021-11-29 11:16:33 +00:00
1170009b4f Carry source spans for error messages 2021-11-29 11:14:48 +00:00
1d80ab681e Add eval representation of DateSpec 2021-11-26 14:55:44 +00:00
e827556c84 Add eval representation of FormulaSpec 2021-11-25 02:42:27 +01:00
21739c7314 Implement basic structure for task evaluation 2021-11-25 01:24:16 +01:00
11399468e7 Allow repetitions to start from last DONE 2021-11-25 01:23:50 +01:00
bfbf53784b Include more info in DONE 2021-11-24 03:03:24 +01:00
0bb01369b8 Implement basic structure for note evaluation 2021-11-24 02:05:31 +01:00
8034ec19cd Support undated entries in EntryMap 2021-11-24 01:24:14 +01:00
35184e21e9 Restructure eval module 2021-11-24 01:13:45 +01:00
817732abf6 Make Source less of a hassle to work with 2021-11-23 23:59:21 +01:00
f39dbdaba7 Enable and fix more lints 2021-11-22 15:23:52 +00:00
bac673ea65 Iterate over commands in all files 2021-11-22 15:22:06 +00:00
6f49c32e79 Format example file 2021-11-22 15:11:44 +00:00
78bb0eb9e0 Calculate upper and lower bounds for deltas 2021-11-22 11:04:50 +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
36aa6abcb9 Implement includes and setting a time zone 2021-11-22 00:15:18 +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
48faf910fd Add some more examples 2021-11-20 01:31:18 +01:00
d9e13b1a11 Trim whitespace where appropriate 2021-11-20 00:47:13 +01:00