Casey Rodarmor
2bc7485801
Bump version to 0.2.7
2016-10-30 00:24:16 -07:00
Casey Rodarmor
980c5d0b33
Backticks implemented. Error messages still suck though.
2016-10-30 00:20:29 -07:00
Casey Rodarmor
8b149b66fc
Panic commit.
2016-10-29 23:39:12 -07:00
Casey Rodarmor
3d3c4394c2
Ready to actually implement backtick evaluation
2016-10-29 22:56:47 -07:00
Casey Rodarmor
70e9d4e653
Refactoring. Checkpoint commit.
2016-10-29 21:51:39 -07:00
Casey Rodarmor
810365f22b
Add assignment resolving
2016-10-29 20:39:21 -07:00
Casey Rodarmor
70d1df5b9c
Working on backticks. They are evaluated as strings for now.
2016-10-29 01:58:30 -07:00
Casey Rodarmor
b57b84e550
Arguments done!
2016-10-29 00:55:47 -07:00
Casey Rodarmor
ac5433248e
Arguments working but still ugly
2016-10-29 00:14:41 -07:00
Casey Rodarmor
011876baff
Bump version to 0.2.6, build before publishing
2016-10-28 20:45:05 -07:00
Casey Rodarmor
b46cfd97ba
Bump version to 0.2.5
2016-10-28 20:42:53 -07:00
Casey Rodarmor
58fb70e16e
Surround tokens with `` in errors
2016-10-28 20:40:16 -07:00
Casey Rodarmor
0f29b4fc2a
Pretty errors with underlined tokens!
2016-10-28 20:34:25 -07:00
Casey Rodarmor
a55adafa60
Notes
2016-10-28 19:56:33 -07:00
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
e011f91656
Move order test to integration tests
2016-10-28 15:34:01 -07:00
Casey Rodarmor
a1722fe241
Add integration tests
2016-10-28 15:25:59 -07:00
Casey Rodarmor
1d74432dd1
Remove stray comment
2016-10-28 00:14:50 -07:00
Casey Rodarmor
ec41eaf0e7
Bump version, use variable for quine text
2016-10-28 00:10:19 -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
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
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
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
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
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
4c44096718
Giant fucking mess.
2016-10-16 18:59:49 -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
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
71a4359188
Support for polyglot recipes!
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
b5cac00ffc
Invoke sh with -u
(error on unbound variable)
2016-10-08 17:29:45 -07:00
Casey Rodarmor
bd8b12db93
Don't print double newline for --show
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
c957165f4c
Actually run recipes, add a bunch of tests
2016-10-08 17:29:45 -07:00
Casey Rodarmor
c0f58eefe8
Lots of work.
2016-10-03 23:55:55 -07:00
Casey Rodarmor
0c29b55df6
Split into lib.rs and main.rs, wrote a bunch of tests
2016-10-02 22:30:28 -07:00
Casey Rodarmor
c970f507ad
Split command correctly on leading whitespace
2016-10-02 15:46:25 -07:00
Casey Rodarmor
ec2b6c59f5
Added proper errors
2016-10-02 15:31:28 -07:00
Casey Rodarmor
8ec000c159
use std::collections::
2016-10-01 13:51:56 -07:00
Casey Rodarmor
2d8e3d9abe
Basic parsing and circular dependency detection working
2016-09-30 23:48:23 -07:00
Casey Rodarmor
dd83cc46bf
Add period to no justfile found error. Bump version.
2016-09-28 13:20:49 -07:00
Casey Rodarmor
f3a92285af
Keep searching if justfile isn't found
2016-09-28 00:02:18 -07:00
Casey Rodarmor
10e1ef4f0f
Allow 'Justfile' in addition to 'justfile'
2016-09-27 23:25:06 -07:00
Casey Rodarmor
696fd3a5f1
Remove dependency on brev, bump version
2016-09-27 23:13:17 -07:00
Casey Rodarmor
114f6b7bdc
Working
2016-09-27 22:49:17 -07:00
Casey Rodarmor
a0d5b83a80
Initial commit. Broken.
2016-06-16 17:13:43 -07:00