Commit Graph

51 Commits

Author SHA1 Message Date
Casey Rodarmor
383754d2fb More tests 2016-10-28 19:38:32 -07:00
Casey Rodarmor
3c80f7f7ae Add '--debug' flag to print justfile with evaluated expressions and
variables
2016-10-28 16:41:46 -07:00
Casey Rodarmor
01df3d5e4a Add {:#} format printing to justfile for --show 2016-10-28 16:32:13 -07:00
Casey Rodarmor
a8a5c342e7 More integration tests 2016-10-28 15:59:50 -07:00
Casey Rodarmor
a1722fe241 Add integration tests 2016-10-28 15:25:59 -07:00
Casey Rodarmor
0a16803247 Clippy fixes, bump version 0.2.3, string escapes 2016-10-28 00:06:36 -07:00
Casey Rodarmor
fa2fae5fb8 Clean up code, rename Token.class -> Token.kind 2016-10-27 18:48:55 -07:00
Casey Rodarmor
dd824ef364 Test that evaluated recipe lines are correct
Saves the value in each expression fragment when that fragment is
evaluated so that we can print the value in Display. This allows
us to check fragment values in tests.
2016-10-27 18:01:07 -07:00
Casey Rodarmor
526f569b8e Rewrite notes 2016-10-27 10:11:42 -07:00
Casey Rodarmor
4dd09a6e63 Add sloc recipe 2016-10-27 09:50:06 -07:00
Casey Rodarmor
4bb926abc4 line evaluation is done 2016-10-27 09:44:07 -07:00
Casey Rodarmor
ebd4186452 Added missing arguments error whenever we try to run an recipe with
arguments, since arguments are unsupported.
2016-10-27 00:31:50 -07:00
Casey Rodarmor
d5f81dc0b4 Parsing and tokenizing tests are now mostly passsing, not running
recipes though.
2016-10-27 00:13:10 -07:00
Casey Rodarmor
aae665a4e9 Tokenize looks like it's working. 2016-10-26 22:04:12 -07:00
Casey Rodarmor
7a77c910b6 Reworked tokenizer, not trying to dig myself out of the wreckage. 2016-10-26 20:54:44 -07:00
Casey Rodarmor
52aa496d9c Lots of work. Expression parsing and evaluation mostly. 2016-10-25 19:11:58 -07:00
Casey Rodarmor
4807800bc6 Update notes 2016-10-23 23:52:06 -07:00
Casey Rodarmor
cfbc2a0495 Update notes 2016-10-23 23:49:57 -07:00
Casey Rodarmor
19e015d094 Update notes 2016-10-23 23:40:16 -07:00
Casey Rodarmor
f01ef06bf0 Update notes 2016-10-23 21:25:37 -07:00
Casey Rodarmor
f74ece6629 Ran clippy and fixed issues. I <3 clippy! 2016-10-23 20:39:50 -07:00
Casey Rodarmor
92d231c2ec Add --justfile and --working-directory flags 2016-10-23 19:56:30 -07:00
Casey Rodarmor
e8a4a82e4d TokenClass -> TokenKind
'Kind' seems to be the rust convention, or close too it. See
std::io::ErrorKind and compiler internals.
2016-10-23 18:46:04 -07:00
Casey Rodarmor
512d3f67a8 Update notes 2016-10-23 17:32:18 -07:00
Casey Rodarmor
8d358faf69 Update notes 2016-10-23 17:13:06 -07:00
Casey Rodarmor
913bcba5f7 Starting to rewrite the parser 2016-10-22 23:18:26 -07:00
Casey Rodarmor
fdf73945d7 Notes 2016-10-22 15:11:47 -07:00
Casey Rodarmor
ebf66f7600 Merge remote-tracking branch 'origin/master' 2016-10-16 19:11:51 -07:00
Casey Rodarmor
4c44096718 Giant fucking mess. 2016-10-16 18:59:49 -07:00
Casey Rodarmor
3f231fb5b0 Update notes 2016-10-09 17:45:00 -07:00
Casey Rodarmor
72921c0fa8 Update notes 2016-10-08 17:29:45 -07:00
Casey Rodarmor
6df4109510 More validation of recipes, allow leading shebang 2016-10-08 17:29:45 -07:00
Casey Rodarmor
06f9d029e3 Notes 2016-10-08 17:29:45 -07:00
Casey Rodarmor
c7fb47760b Update notes 2016-10-08 17:29:45 -07:00
Casey Rodarmor
b11b81c640 Add --show command line flag 2016-10-08 17:29:45 -07:00
Casey Rodarmor
ba2ae0a166 Update notes 2016-10-08 17:29:45 -07:00
Casey Rodarmor
c957165f4c Actually run recipes, add a bunch of tests 2016-10-08 17:29:45 -07:00
Casey Rodarmor
a421858d76 Update notes 2016-10-07 17:57:35 -07:00
Casey Rodarmor
fa25c846c7 More validation of recipes, allow leading shebang 2016-10-06 17:43:30 -07:00
Casey Rodarmor
d503b37fb3 Notes 2016-10-06 16:56:36 -07:00
Casey Rodarmor
18b43786be Update notes 2016-10-05 16:08:13 -07:00
Casey Rodarmor
2ab75ef03a Add --show command line flag 2016-10-05 16:03:11 -07:00
Casey Rodarmor
fa3856669f Update notes 2016-10-05 14:00:51 -07:00
Casey Rodarmor
355fd685ba Actually run recipes, add a bunch of tests 2016-10-05 13:58:18 -07:00
Casey Rodarmor
c0f58eefe8 Lots of work. 2016-10-03 23:55:55 -07:00
Casey Rodarmor
1a7a61acbc Update justfile, notes 2016-10-02 22:31:15 -07:00
Casey Rodarmor
2d783d5bfb Update notes 2016-10-02 15:47:21 -07:00
Casey Rodarmor
f81e7d8953 Update notes 2016-10-02 15:33:04 -07:00
Casey Rodarmor
2d8e3d9abe Basic parsing and circular dependency detection working 2016-09-30 23:48:23 -07:00
Casey Rodarmor
c53b6b0ce2 Update notes 2016-09-30 14:23:01 -07:00