aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_non_lazy_continuation.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename `State::Fn` to `State::Next`Libravatar Titus Wormer2022-08-101-1/+1
|
* Rewrite algorithm to not pass around boxed functionsLibravatar Titus Wormer2022-08-091-3/+3
| | | | | | * Pass state names from an enum around instead of boxed functions * Refactor to simplify attempts a lot * Use a subtokenizer for the the `document` content type
* Refactor to work on bytes (`u8`)Libravatar Titus Wormer2022-07-291-1/+1
|
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-281-2/+2
| | | | | | | | | | | | | | | Previously, a custom char implementation was used. This was easier to work with, as sometimes “virtual” characters are injected, or characters are ignored. This replaces that with working on actual `char`s. In the hope of in the future working on `u8`s, even. This simplifies the state machine somewhat, as only `\n` is fed, regardless of whether it was a CRLF, CR, or LF. It also feeds `' '` instead of virtual spaces. The BOM, if present, is now available as a `ByteOrderMark` event.
* Refactor to not pass codes aroundLibravatar Titus Wormer2022-07-251-4/+4
|
* Remove no longer needed field in `State::Ok`Libravatar Titus Wormer2022-07-251-1/+1
|
* Improve performance w/ a single feed loopLibravatar Titus Wormer2022-07-251-2/+2
|
* Refactor to remove unneeded tuples in every statesLibravatar Titus Wormer2022-07-221-7/+7
|
* Refactor to pass ints instead of vecs aroundLibravatar Titus Wormer2022-07-221-4/+4
|
* Add docs to non-lazy continuationLibravatar Titus Wormer2022-07-151-5/+27
|
* Add support for lazy linesLibravatar Titus Wormer2022-07-111-0/+26