ada
WHATWG-compliant and fast URL parser written in modern C++
ada
Description
Ada is a fast and spec-compliant URL parser written in C++. Specification for URL parser can be found from the *WHATWG* https://url.spec.whatwg.org/#url-parsing website.
The Ada library passes the full range of tests from the specification, across a wide range of platforms (e.g., Windows, Linux, macOS). It fully supports the relevant *Unicode Technical Standard* https://www.unicode.org/reports/tr46/#ToUnicode.
A common use of a URL parser is to take a URL string and normalize it. The WHATWG URL specification has been adopted by most browsers. Other tools, such as curl and many standard libraries, follow the RFC 3986. The following table illustrates possible differences in practice (encoding of the host, encoding of the path):
Install
Channel stable v2.9.2-1
This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.
pkgman install ada
Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.