Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewrite algorithm to not pass around boxed functions | Titus Wormer | 2022-08-09 | 1 | -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`) | Titus Wormer | 2022-07-29 | 1 | -1/+1 |
| | |||||
* | Refactor to work on `char`s | Titus Wormer | 2022-07-28 | 1 | -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 around | Titus Wormer | 2022-07-25 | 1 | -4/+4 |
| | |||||
* | Remove no longer needed field in `State::Ok` | Titus Wormer | 2022-07-25 | 1 | -1/+1 |
| | |||||
* | Improve performance w/ a single feed loop | Titus Wormer | 2022-07-25 | 1 | -2/+2 |
| | |||||
* | Refactor to remove unneeded tuples in every states | Titus Wormer | 2022-07-22 | 1 | -7/+7 |
| | |||||
* | Refactor to pass ints instead of vecs around | Titus Wormer | 2022-07-22 | 1 | -4/+4 |
| | |||||
* | Add docs to non-lazy continuation | Titus Wormer | 2022-07-15 | 1 | -5/+27 |
| | |||||
* | Add support for lazy lines | Titus Wormer | 2022-07-11 | 1 | -0/+26 |