Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor to improve some names | Titus Wormer | 2022-08-12 | 4 | -27/+27 |
| | |||||
* | Remove unneeded state | Titus Wormer | 2022-08-12 | 2 | -23/+4 |
| | |||||
* | Remove `match` statements if clumsy | Titus Wormer | 2022-08-12 | 19 | -412/+368 |
| | |||||
* | Refactor to improve docs of each function | Titus Wormer | 2022-08-12 | 44 | -554/+611 |
| | |||||
* | Refactor `readme.md` | Titus Wormer | 2022-08-11 | 2 | -143/+77 |
| | |||||
* | Refactor attempts to remove unneeded state name | Titus Wormer | 2022-08-11 | 20 | -413/+400 |
| | |||||
* | Refactor to handle definitions when parsing | Titus Wormer | 2022-08-11 | 3 | -38/+50 |
| | |||||
* | Remove unneeded `balance` info on label starts | Titus Wormer | 2022-08-11 | 4 | -64/+30 |
| | |||||
* | Refactor to move `space_or_tab_eol` to own file | Titus Wormer | 2022-08-11 | 32 | -526/+542 |
| | |||||
* | Remove boxes around resolvers | Titus Wormer | 2022-08-11 | 15 | -77/+103 |
| | |||||
* | Refactor to move some code to `event.rs` | Titus Wormer | 2022-08-11 | 42 | -1300/+1313 |
| | |||||
* | Refactor to move some code to `state.rs` | Titus Wormer | 2022-08-11 | 36 | -1237/+1229 |
| | |||||
* | Refactor internal docs, code style of tokenizer | Titus Wormer | 2022-08-11 | 17 | -381/+420 |
| | |||||
* | Add improved container exit injection | Titus Wormer | 2022-08-11 | 5 | -149/+137 |
| | |||||
* | Refactor some code for document parsing | Titus Wormer | 2022-08-10 | 3 | -230/+188 |
| | |||||
* | Remove boxes when calling states | Titus Wormer | 2022-08-10 | 1 | -354/+328 |
| | | | | Interestingly, this cuts performance by 20%. | ||||
* | Add `State::Retry` | Titus Wormer | 2022-08-10 | 26 | -213/+205 |
| | |||||
* | Rename `State::Fn` to `State::Next` | Titus Wormer | 2022-08-10 | 33 | -426/+411 |
| | |||||
* | Refactor to reuse some tokenizer code | Titus Wormer | 2022-08-09 | 1 | -69/+58 |
| | |||||
* | Refactor to share some code | Titus Wormer | 2022-08-09 | 2 | -148/+99 |
| | |||||
* | Add peeking to unindented flow lines | Titus Wormer | 2022-08-09 | 3 | -16/+50 |
| | |||||
* | Add support for passing `ok`, `nok` as separate states to attempts | Titus Wormer | 2022-08-09 | 20 | -376/+509 |
| | |||||
* | Add more tests for definitions and block quotes | Titus Wormer | 2022-08-09 | 3 | -15/+21 |
| | |||||
* | Add another test for lazy fenced code and block quotes | Titus Wormer | 2022-08-09 | 1 | -1/+7 |
| | |||||
* | Add some more tests for just line endings | Titus Wormer | 2022-08-09 | 1 | -0/+36 |
| | |||||
* | Rewrite algorithm to not pass around boxed functions | Titus Wormer | 2022-08-09 | 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 | ||||
* | Refactor to remove most closures | Titus Wormer | 2022-08-02 | 25 | -1148/+1285 |
| | |||||
* | Fix bug on empty heading (atx) | Titus Wormer | 2022-08-01 | 2 | -30/+38 |
| | |||||
* | Add missing docs, refactor some code | Titus Wormer | 2022-08-01 | 5 | -78/+90 |
| | |||||
* | Refactor to pass more `&str`s, work on more bytes | Titus Wormer | 2022-08-01 | 2 | -90/+70 |
| | |||||
* | Remove unneeded field in compile context | Titus Wormer | 2022-08-01 | 1 | -39/+8 |
| | |||||
* | Refactor some states | Titus Wormer | 2022-08-01 | 6 | -28/+32 |
| | |||||
* | Refactor to improve states | Titus Wormer | 2022-07-29 | 36 | -1230/+941 |
| | | | | | | | | | | | | * 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` | ||||
* | Refactor to work on bytes (`u8`) | Titus Wormer | 2022-07-29 | 39 | -528/+576 |
| | |||||
* | Refactor to use `debug_assert` | Titus Wormer | 2022-07-28 | 5 | -20/+19 |
| | |||||
* | Refactor to work on `char`s | Titus Wormer | 2022-07-28 | 45 | -1042/+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. | ||||
* | Fix misclassified dependency | Titus Wormer | 2022-07-26 | 1 | -1/+1 |
| | |||||
* | Refactor to drastically improve perf around whitespace | Titus Wormer | 2022-07-26 | 13 | -244/+263 |
| | |||||
* | Refactor to simplify tokenizer | Titus Wormer | 2022-07-26 | 3 | -132/+83 |
| | |||||
* | Remove unneeded parameter | Titus Wormer | 2022-07-26 | 1 | -20/+16 |
| | |||||
* | Refactor to not pass codes around | Titus Wormer | 2022-07-25 | 34 | -993/+938 |
| | |||||
* | Refactor to store less data | Titus Wormer | 2022-07-25 | 1 | -47/+43 |
| | |||||
* | Remove no longer needed field in `State::Ok` | Titus Wormer | 2022-07-25 | 34 | -63/+61 |
| | |||||
* | Refactor to remove need for cloning codes | Titus Wormer | 2022-07-25 | 3 | -44/+26 |
| | |||||
* | Improve performance w/ a single feed loop | Titus Wormer | 2022-07-25 | 24 | -145/+138 |
| | |||||
* | Refactor to remove unneeded `Option` | Titus Wormer | 2022-07-22 | 1 | -14/+18 |
| | |||||
* | Refactor to use a single shared edit map | Titus Wormer | 2022-07-22 | 10 | -82/+50 |
| | |||||
* | Refactor to reserve some more vecs | Titus Wormer | 2022-07-22 | 1 | -5/+9 |
| | |||||
* | Refactor to pass more references around | Titus Wormer | 2022-07-22 | 1 | -26/+39 |
| | |||||
* | Refactor to remove unneeded tuples in every states | Titus Wormer | 2022-07-22 | 40 | -922/+687 |
| |