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
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
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
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
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
6df4109510
More validation of recipes, allow leading shebang
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
0c29b55df6
Split into lib.rs and main.rs, wrote a bunch of tests
2016-10-02 22:30:28 -07:00