Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-08-16 | Update some last docs, bnf grammars | Titus Wormer | 17 | -111/+226 | |
2022-08-15 | Refactor to proof docs, grammars | Titus Wormer | 38 | -424/+687 | |
2022-08-15 | Add missing mark of `SpaceOrTab` as void event | Titus Wormer | 1 | -1/+2 | |
2022-08-15 | Add derive of `Eq` where possible | Titus Wormer | 5 | -11/+11 | |
2022-08-15 | Refactor to move `content` to `construct` | Titus Wormer | 38 | -138/+130 | |
2022-08-15 | Refactor to move some things to `parser` | Titus Wormer | 2 | -26/+20 | |
2022-08-15 | Refactor to rename list construct to list item | Titus Wormer | 10 | -72/+73 | |
2022-08-15 | Refactor paragraph, data resolvers | Titus Wormer | 2 | -44/+50 | |
2022-08-15 | Refactor to solve some clippy issues | Titus Wormer | 2 | -52/+50 | |
2022-08-12 | Refactor to attempt less if never needed | Titus Wormer | 14 | -293/+367 | |
2022-08-12 | Refactor to improve entering | Titus Wormer | 13 | -96/+144 | |
2022-08-12 | Refactor to improve some names | Titus Wormer | 4 | -27/+27 | |
2022-08-12 | Remove unneeded state | Titus Wormer | 2 | -23/+4 | |
2022-08-12 | Remove `match` statements if clumsy | Titus Wormer | 19 | -412/+368 | |
2022-08-12 | Refactor to improve docs of each function | Titus Wormer | 43 | -553/+611 | |
2022-08-11 | Refactor attempts to remove unneeded state name | Titus Wormer | 20 | -413/+400 | |
2022-08-11 | Refactor to handle definitions when parsing | Titus Wormer | 3 | -38/+50 | |
2022-08-11 | Remove unneeded `balance` info on label starts | Titus Wormer | 4 | -64/+30 | |
2022-08-11 | Refactor to move `space_or_tab_eol` to own file | Titus Wormer | 32 | -526/+542 | |
2022-08-11 | Remove boxes around resolvers | Titus Wormer | 15 | -77/+103 | |
2022-08-11 | Refactor to move some code to `event.rs` | Titus Wormer | 42 | -1300/+1313 | |
2022-08-11 | Refactor to move some code to `state.rs` | Titus Wormer | 36 | -1237/+1229 | |
2022-08-11 | Refactor internal docs, code style of tokenizer | Titus Wormer | 17 | -381/+420 | |
2022-08-11 | Add improved container exit injection | Titus Wormer | 4 | -149/+129 | |
2022-08-10 | Refactor some code for document parsing | Titus Wormer | 3 | -230/+188 | |
2022-08-10 | Remove boxes when calling states | Titus Wormer | 1 | -354/+328 | |
Interestingly, this cuts performance by 20%. | |||||
2022-08-10 | Add `State::Retry` | Titus Wormer | 26 | -213/+205 | |
2022-08-10 | Rename `State::Fn` to `State::Next` | Titus Wormer | 33 | -426/+411 | |
2022-08-09 | Refactor to reuse some tokenizer code | Titus Wormer | 1 | -69/+58 | |
2022-08-09 | Refactor to share some code | Titus Wormer | 2 | -148/+99 | |
2022-08-09 | Add peeking to unindented flow lines | Titus Wormer | 3 | -16/+50 | |
2022-08-09 | Add support for passing `ok`, `nok` as separate states to attempts | Titus Wormer | 20 | -376/+509 | |
2022-08-09 | Rewrite algorithm to not pass around boxed functions | Titus Wormer | 34 | -1194/+2065 | |
* 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 | |||||
2022-08-02 | Refactor to remove most closures | Titus Wormer | 25 | -1148/+1285 | |
2022-08-01 | Fix bug on empty heading (atx) | Titus Wormer | 1 | -29/+31 | |
2022-08-01 | Add missing docs, refactor some code | Titus Wormer | 5 | -78/+90 | |
2022-08-01 | Refactor to pass more `&str`s, work on more bytes | Titus Wormer | 2 | -90/+70 | |
2022-08-01 | Remove unneeded field in compile context | Titus Wormer | 1 | -39/+8 | |
2022-08-01 | Refactor some states | Titus Wormer | 6 | -28/+32 | |
2022-07-29 | Refactor to improve states | Titus Wormer | 34 | -1229/+934 | |
* Remove custom kind wrappers, use plain bytes instead * Remove `Into`s, use the explicit expected types instead * Refactor to use `slice.as_str` in most places * Remove unneeded unique check before adding a definition * Use a shared CDATA prefix in constants * Inline byte checks into matches * Pass bytes back from parser instead of whole parse state * Refactor to work more often on bytes * Rename custom `size` to `len` | |||||
2022-07-29 | Refactor to work on bytes (`u8`) | Titus Wormer | 39 | -528/+576 | |
2022-07-28 | Refactor to use `debug_assert` | Titus Wormer | 5 | -20/+19 | |
2022-07-28 | Refactor to work on `char`s | Titus Wormer | 44 | -1036/+1087 | |
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. | |||||
2022-07-26 | Refactor to drastically improve perf around whitespace | Titus Wormer | 12 | -238/+263 | |
2022-07-26 | Refactor to simplify tokenizer | Titus Wormer | 3 | -132/+83 | |
2022-07-26 | Remove unneeded parameter | Titus Wormer | 1 | -20/+16 | |
2022-07-25 | Refactor to not pass codes around | Titus Wormer | 34 | -993/+938 | |
2022-07-25 | Refactor to store less data | Titus Wormer | 1 | -47/+43 | |
2022-07-25 | Remove no longer needed field in `State::Ok` | Titus Wormer | 34 | -63/+61 | |
2022-07-25 | Refactor to remove need for cloning codes | Titus Wormer | 3 | -44/+26 | |