Added assertion to derivs
Added tests from Mizushima et al.
Added JSON to tests
Fixed translation error in XML grammar
Added filetype detection for compiler
Added reference output for JSON test
Terminal expression failure in packrat parser now returns errors