Commit graph

77 commits

Author SHA1 Message Date
Joscha
02ceb45a2f Add Deadline and clean up date expressions 2018-04-04 19:02:21 +00:00
Joscha
d557c36806 Modify tasks in the database
Also added some test code in Main.hs
2018-03-27 10:32:02 +00:00
Joscha
a3dce8251e Fix expression parsing 2018-03-27 10:29:26 +00:00
Joscha
9d8d6f6d80 Update tasks in database 2018-03-26 15:37:35 +00:00
Joscha
d4b5d0b7c2 Use new DateExpr and start working on stuff 2018-03-26 14:19:03 +00:00
Joscha
eac7a415dc Clean up DateExpr.hs 2018-03-26 14:12:35 +00:00
Joscha
9301cc31c4 Evaluate BoolExpr and IntExpr 2018-03-26 12:24:30 +00:00
Joscha
b8eecddc37 (Re-)implement date expression parsing 2018-03-22 20:04:40 +00:00
Joscha
51eb270431 Simplify loading stuff and use home directory more 2018-03-22 12:39:19 +00:00
Joscha
bbe6cd830f Improve error handling
- catch errors while loading themes
- use user's actual home directory to look for config files
- restructure main function
2018-03-22 09:51:52 +00:00
Joscha
ea83f1aabf Load config file 2018-03-19 21:40:11 +00:00
Joscha
6058b785c9 Plan program start sequence 2018-03-19 18:51:16 +00:00
Joscha
163d08cf79 Try out several things 2018-03-19 18:39:15 +00:00
Joscha
5e1555511d Add some more command line options 2018-03-19 08:59:59 +00:00
Joscha
7dd2a0bdad Improve help message 2018-03-18 19:46:11 +00:00
Joscha
bf5bfd1441 Parse command line args 2018-03-18 19:33:59 +00:00
Joscha
c1596baaeb Move some UI stuff 2018-03-18 14:46:24 +00:00
Joscha
119b4bd118 Add newline at end of .gitignore 2018-03-18 09:57:42 +00:00
Joscha
9cf9e889f5 Test basic brick setup 2018-03-18 09:53:22 +00:00
Joscha
9a956785ef Try out some basic sqlite stuff 2018-03-17 20:39:22 +00:00
Joscha
14c5a29aa4 Create stack project 2018-03-11 19:56:44 +00:00
Joscha
f913392a0a No longer require "<>" around task description 2017-12-18 20:48:02 +00:00
Joscha
8c9a6631d8 Parse tasks 2017-12-17 11:36:20 +00:00
Joscha
3af17331f4 Clean up comments and add function types 2017-12-17 09:09:10 +00:00
Joscha
76378b0add Parse expressions
Switched to Megaparsec from Parsec.
Also switched eval[...] functions to return Maybe when things like
division by zero would otherwise happen. Wouldn't want any runtime
crashes :P
2017-12-17 00:52:41 +00:00
Joscha
cf6424b186 Clean up DateExpr module 2017-12-11 18:56:11 +00:00
Joscha
28a46b4a86 Set up basic structure 2017-12-11 18:17:36 +00:00