Commit Graph

501 Commits

Author SHA1 Message Date
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
5bbd28c49d Remove stray newline 2016-10-27 00:38:28 -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
40788ebabd Add self_dependency test. 2016-10-23 23:39:56 -07:00
Casey Rodarmor
9aed7ca129 Handle line interpolation parsing 2016-10-23 23:38:49 -07:00
Casey Rodarmor
f01ef06bf0 Update notes 2016-10-23 21:25:37 -07:00
Casey Rodarmor
ab2e19d409 Add comment to polyglot recipe in justfile 2016-10-23 21:25:23 -07:00
Casey Rodarmor
f74ece6629 Ran clippy and fixed issues. I <3 clippy! 2016-10-23 20:39:50 -07:00
Casey Rodarmor
8d8f38b3d8 bump: 0.2.1 -> 0.2.2 2016-10-23 19:57:46 -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
6e687c506e Update cargo.lock. 2016-10-23 17:17:36 -07:00
Casey Rodarmor
756a74bc18 version bump: 0.2.0 -> 0.2.1 2016-10-23 17:15:18 -07:00
Casey Rodarmor
5125a1ddac Shuffle tests in run_order
To make sure that it isn't just running them in justfile order.
2016-10-23 17:13:32 -07:00
Casey Rodarmor
534d702566 Add github repo to --help string 2016-10-23 17:13:21 -07:00
Casey Rodarmor
8d358faf69 Update notes 2016-10-23 17:13:06 -07:00
Casey Rodarmor
9059f2d474 Delete the grammar file
It was almost always wrong anyways.
2016-10-23 17:12:43 -07:00
Casey Rodarmor
90078b5956 Make sure version in app.rs and Cargo.toml match before publishing 2016-10-23 16:45:46 -07:00
Casey Rodarmor
acc97a4eba Reached feature parity with new parser 2016-10-23 16:43:52 -07:00
Casey Rodarmor
913bcba5f7 Starting to rewrite the parser 2016-10-22 23:18:26 -07:00
Casey Rodarmor
3b92e00ee7 Comment out everything to rewrite parser 2016-10-22 19:36:54 -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
e5efa3f7d5 Make dependencies execute in order they appear
It doesn't seem particularly valuable for dependencies to execute in any
order, so make Recipe.dependencies a vec so they execute in order.
2016-10-09 00:30:33 -07:00
Casey Rodarmor
fbe8c07d43 Update Cargo.lock 2016-10-08 20:20:26 -07:00
Casey Rodarmor
c476afb951 Add git push github master to publish recipe
So that github always reflect version in cargo.
2016-10-08 17:56:28 -07:00
Casey Rodarmor
61b7111574 Bump version to 0.2.0 2016-10-08 17:55:48 -07:00
Casey Rodarmor
c3bfb44917 Add publish recipe 2016-10-08 17:55:17 -07:00
Casey Rodarmor
4646c9365e Update shebang test notes 2016-10-08 17:29:45 -07:00
Casey Rodarmor
b7f7deb4bb Add test for shebang recipes 2016-10-08 17:29:45 -07:00
Casey Rodarmor
72921c0fa8 Update notes 2016-10-08 17:29:45 -07:00
Casey Rodarmor
71a4359188 Support for polyglot recipes! 2016-10-08 17:29:45 -07:00
Casey Rodarmor
fc351fccc8 Add polyglot recipes to justfile 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