2
0
mirror of https://github.com/boostorg/url.git synced 2026-01-24 06:22:14 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Vinnie Falco
b70f9745a7 Doc work and sequence work 2022-07-31 18:21:07 -07:00
Vinnie Falco
5ffeeadb6b Refactor URL implementation:
fix #274, fix #270, fix #268, fix #265
fix #261, fix #257, fix #256, fix #251

The guts of the url are moved into a private
implementation detail which can be accessed
by various parts. Rules that the user doesn't
need are made private, and the public rfc
rules use the well defined types.

Paths is still remaining to be done.
2022-07-29 16:28:53 -07:00
Vinnie Falco
9d2c1e5409 Refactor grammar:
The Rule concept is changed:

* rules are stateful values
* nested value_type holds the result of parsing
* member function `Rule::parse` is the algorithm
* parse returns `result<value_type>`

And:

* All rfc3986 rules are reimplemented
* New grammar non-terminal elements introduced:
  - char_rule
  - not_empty_rule
  - optional_rule
  - sequence_rule
  - variant_rule
2022-07-27 19:31:16 -07:00
alandefreitas
30af209b6c handle brackets in key_chars
close #124
2022-03-11 14:56:32 -08:00
Vinnie Falco
77e27c0055 rename bnf to grammar 2022-01-04 11:42:12 -08:00