Integrate peg-based parser into qunit tests
Add the peg parser generation step to the gruntfile. Include the generated parser in the test harness page. Update many of the m3u8 tests to work with the new parser. There are a number of tests still failing. I believe this is because parts of the grammar are not sufficiently flexible to handle some optional parameters. For instance, #EXT-X-BYTE-RANGE is being glommed incorrectly into the #EXTINF definition and that's throwing off parsing. This commit is a progress checkpoint; things are definitely not working correctly.
Showing
9 changed files
with
26 additions
and
21 deletions
This diff is collapsed.
Click to expand it.
test/pegtest.js
deleted
100644 → 0
-
Please register or sign in to post a comment