for more information visit the package's GitHub page
Package contains the following modules:
A (presently woefully incomplete) parser for the upcoming RFC5988 replacement draft, written in Elm using elm-combine for DailyDrip.
There are some examples in the test suite, but here's one:
Expect.equal
(parse rfc5988 "<http://noredink.com>; rel=\"start\"")
( Ok { context = "", target = "http://noredink.com", relationType = "start", targetAttributes = Dict.empty }
, { input = "", position = 31 }
)
There's a lot of stuff left to do here. Here's an almost-certainly-incomplete list:
relationType
to have its
own field.Maybe
type
signature.rel
parameters, there's a very specific callout in the
spec that we're supposed to follow that we almost certainly aren't (but they
aren't supposed to have them either!)