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