Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove `match` statements if clumsy | Titus Wormer | 2022-08-12 | 18 | -410/+368 |
| | |||||
* | Refactor to improve docs of each function | Titus Wormer | 2022-08-12 | 28 | -440/+420 |
| | |||||
* | Refactor attempts to remove unneeded state name | Titus Wormer | 2022-08-11 | 15 | -270/+236 |
| | |||||
* | Refactor to handle definitions when parsing | Titus Wormer | 2022-08-11 | 1 | -3/+34 |
| | |||||
* | Remove unneeded `balance` info on label starts | Titus Wormer | 2022-08-11 | 3 | -43/+10 |
| | |||||
* | Refactor to move `space_or_tab_eol` to own file | Titus Wormer | 2022-08-11 | 28 | -276/+292 |
| | |||||
* | Remove boxes around resolvers | Titus Wormer | 2022-08-11 | 9 | -16/+22 |
| | |||||
* | Refactor to move some code to `event.rs` | Titus Wormer | 2022-08-11 | 29 | -859/+878 |
| | |||||
* | Refactor to move some code to `state.rs` | Titus Wormer | 2022-08-11 | 28 | -462/+468 |
| | |||||
* | Refactor internal docs, code style of tokenizer | Titus Wormer | 2022-08-11 | 12 | -90/+133 |
| | |||||
* | Refactor some code for document parsing | Titus Wormer | 2022-08-10 | 1 | -3/+7 |
| | |||||
* | Add `State::Retry` | Titus Wormer | 2022-08-10 | 21 | -186/+152 |
| | |||||
* | Rename `State::Fn` to `State::Next` | Titus Wormer | 2022-08-10 | 27 | -324/+309 |
| | |||||
* | Add support for passing `ok`, `nok` as separate states to attempts | Titus Wormer | 2022-08-09 | 15 | -168/+265 |
| | |||||
* | Rewrite algorithm to not pass around boxed functions | Titus Wormer | 2022-08-09 | 27 | -688/+795 |
| | | | | | | * 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 | 21 | -990/+979 |
| | |||||
* | Fix bug on empty heading (atx) | Titus Wormer | 2022-08-01 | 1 | -29/+31 |
| | |||||
* | Add missing docs, refactor some code | Titus Wormer | 2022-08-01 | 3 | -8/+21 |
| | |||||
* | Refactor some states | Titus Wormer | 2022-08-01 | 6 | -28/+32 |
| | |||||
* | Refactor to improve states | Titus Wormer | 2022-07-29 | 23 | -907/+522 |
| | | | | | | | | | | | | * 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 | 30 | -386/+450 |
| | |||||
* | Refactor to use `debug_assert` | Titus Wormer | 2022-07-28 | 1 | -1/+0 |
| | |||||
* | Refactor to work on `char`s | Titus Wormer | 2022-07-28 | 28 | -614/+540 |
| | | | | | | | | | | | | | | | 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 drastically improve perf around whitespace | Titus Wormer | 2022-07-26 | 6 | -136/+195 |
| | |||||
* | Refactor to not pass codes around | Titus Wormer | 2022-07-25 | 29 | -896/+861 |
| | |||||
* | Remove no longer needed field in `State::Ok` | Titus Wormer | 2022-07-25 | 29 | -44/+44 |
| | |||||
* | Improve performance w/ a single feed loop | Titus Wormer | 2022-07-25 | 21 | -45/+41 |
| | |||||
* | Refactor to use a single shared edit map | Titus Wormer | 2022-07-22 | 7 | -52/+34 |
| | |||||
* | Refactor to remove unneeded tuples in every states | Titus Wormer | 2022-07-22 | 29 | -781/+583 |
| | |||||
* | Refactor to pass ints instead of vecs around | Titus Wormer | 2022-07-22 | 29 | -374/+328 |
| | |||||
* | Refactor to improve performance by passing markers around | Titus Wormer | 2022-07-21 | 1 | -6/+6 |
| | |||||
* | Refactor to move `index` field to `point` | Titus Wormer | 2022-07-21 | 6 | -66/+29 |
| | |||||
* | Refactor to move some event fields to `link` | Titus Wormer | 2022-07-21 | 4 | -58/+24 |
| | |||||
* | Refactor to share edit map | Titus Wormer | 2022-07-20 | 7 | -41/+41 |
| | |||||
* | Refactor to improve allocation around strings | Titus Wormer | 2022-07-20 | 1 | -6/+4 |
| | |||||
* | Refactor to use less vecs for events | Titus Wormer | 2022-07-20 | 7 | -18/+18 |
| | |||||
* | Refactor to remove cloning in `edit_map` | Titus Wormer | 2022-07-19 | 7 | -20/+15 |
| | |||||
* | Fix performance around a lot of lists | Titus Wormer | 2022-07-19 | 1 | -16/+33 |
| | |||||
* | Add support for turning off constructs | Titus Wormer | 2022-07-18 | 20 | -52/+124 |
| | |||||
* | Refactor to organize resolvers | Titus Wormer | 2022-07-18 | 4 | -175/+175 |
| | |||||
* | Refactor examples of states | Titus Wormer | 2022-07-18 | 26 | -460/+605 |
| | |||||
* | Remove unneeded token | Titus Wormer | 2022-07-18 | 1 | -3/+3 |
| | |||||
* | Fix token that should be void | Titus Wormer | 2022-07-18 | 1 | -2/+4 |
| | |||||
* | Fix dead link in docs | Titus Wormer | 2022-07-18 | 1 | -2/+2 |
| | |||||
* | Fix interrupting of ordered items | Titus Wormer | 2022-07-15 | 1 | -5/+7 |
| | |||||
* | Fix to use single array for character references | Titus Wormer | 2022-07-15 | 1 | -6/+8 |
| | |||||
* | Fix stray `println` | Titus Wormer | 2022-07-15 | 1 | -2/+0 |
| | |||||
* | Add docs to non-lazy continuation | Titus Wormer | 2022-07-15 | 1 | -5/+27 |
| | |||||
* | Add docs and refactor list | Titus Wormer | 2022-07-15 | 2 | -163/+200 |
| | |||||
* | Add missing docs to html (flow) | Titus Wormer | 2022-07-15 | 2 | -38/+46 |
| |