This branch contains work-in-progress towards a peg.js based description and implementation of [URL parsing](https://url.spec.whatwg.org/#url-parsing URL parsing).
Contains:
- reference implementation in JavaScript. This directory also contains a web page that demonstates live parsing of URLs entered in an HTML input field.
- evaluate programs and scripts which capture and compare test results against a number of implementations.
Running make
at the top level will build the spec, build the reference
implementation, and run the tests against the reference implementation. See
the Makefile for a list
of prerequisites.
Deploy the evaluate
directory to a web browser capable of running CGI
programs. The
urltest
script will capture and automatically upload test results based on the browser
that visited the page. The
urltest-results
script will display the aggregated results.
Running make
in the evaluate
directory will capture test results for a
number of non-web browser URL/URI implementations. See the
Makefile for a
list of prerequisites.