Shell script to test AST generation.
Print a count of passes, failures and errors.
Temporarily redirect stderr to squelch SIGSEGV.
Add another binop test.

As a bonus, it crashes right now!
Use bolded red for failures, dark for errors.
No, I don't really have 33 tests yet.
Report failing and errored tests.

Dump them individually, colored, to the commands I'd use to debug them.
Set the exit code of ast.h.

0 if all is well, 1 if all is not.
Master test script that runs everything.
make test.
Special-case NEWLINE tokens in debug output.

Because "[\n]" is cleaner than [
].
Use do-while loops in macros.

It'll catch more syntax snafus if I use them wrong.
Refactor common behavior into helpers.sh.
Test the lexer in a similar fashion.
Lexer test for ANDLIKE binary ops.
Travis travis travis :heart:
Build status badge.
Introduce a helper to parse all binops.

They're all exactly the same in the AST; they just need to be separate in the
grammar to establish precedence.
Name diff files blah.seg.diff instead of blah.diff.

They sort more nicely in the editor this way.
Merge pull request #2 from smashwilson/ast-tests

Testing