Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Refactor to pass ints instead of vecs around | Titus Wormer | 2022-07-22 | 35 | -464/+393 | |
| | ||||||
* | Refactor performance around links in subtokenize | Titus Wormer | 2022-07-21 | 2 | -29/+42 | |
| | ||||||
* | Refactor to improve performance by passing markers around | Titus Wormer | 2022-07-21 | 3 | -75/+37 | |
| | ||||||
* | Refactor to move `index` field to `point` | Titus Wormer | 2022-07-21 | 11 | -102/+49 | |
| | ||||||
* | Refactor to move some event fields to `link` | Titus Wormer | 2022-07-21 | 8 | -110/+90 | |
| | ||||||
* | Refactor to share edit map | Titus Wormer | 2022-07-20 | 9 | -46/+61 | |
| | ||||||
* | Refactor to improve cloning in `document` | Titus Wormer | 2022-07-20 | 2 | -55/+50 | |
| | ||||||
* | Refactor to improve allocation around strings | Titus Wormer | 2022-07-20 | 6 | -182/+149 | |
| | ||||||
* | Refactor to use less vecs for events | Titus Wormer | 2022-07-20 | 11 | -76/+63 | |
| | ||||||
* | Remove a couple of clones | Titus Wormer | 2022-07-19 | 2 | -7/+6 | |
| | ||||||
* | Refactor to remove cloning in `edit_map` | Titus Wormer | 2022-07-19 | 11 | -45/+47 | |
| | ||||||
* | Use `edit_map` in `subtokenize` | Titus Wormer | 2022-07-19 | 4 | -86/+45 | |
| | ||||||
* | Remove another unneeded `HashMap` | Titus Wormer | 2022-07-19 | 2 | -177/+158 | |
| | ||||||
* | Remove an unneeded `HashMap` | Titus Wormer | 2022-07-19 | 3 | -18/+46 | |
| | ||||||
* | Replace use of `HashSet` with `vec` | Titus Wormer | 2022-07-19 | 3 | -8/+10 | |
| | ||||||
* | Remove unneeded `rust` language flags | Titus Wormer | 2022-07-19 | 1 | -6/+6 | |
| | ||||||
* | Fix performance around a lot of lists | Titus Wormer | 2022-07-19 | 1 | -16/+33 | |
| | ||||||
* | Add a benchmark | Titus Wormer | 2022-07-18 | 2 | -0/+35 | |
| | ||||||
* | Refactor to improve performance when constructs are turned off | Titus Wormer | 2022-07-18 | 2 | -49/+73 | |
| | ||||||
* | Change to improve `default_line_ending` api | Titus Wormer | 2022-07-18 | 3 | -9/+7 | |
| | ||||||
* | Add support for turning off constructs | Titus Wormer | 2022-07-18 | 52 | -1929/+4345 | |
| | ||||||
* | Refactor to move options to `lib/` | Titus Wormer | 2022-07-18 | 2 | -161/+160 | |
| | ||||||
* | 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 | 3 | -35/+13 | |
| | ||||||
* | Fix token that should be void | Titus Wormer | 2022-07-18 | 3 | -3/+58 | |
| | ||||||
* | Fix dead link in docs | Titus Wormer | 2022-07-18 | 2 | -5/+5 | |
| | ||||||
* | Change to enable build script for commonmark tests again | Titus Wormer | 2022-07-18 | 2 | -661/+658 | |
| |