aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for passing `ok`, `nok` as separate states to attemptsLibravatar Titus Wormer2022-08-0920-376/+509
|
* Rewrite algorithm to not pass around boxed functionsLibravatar Titus Wormer2022-08-0934-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 closuresLibravatar Titus Wormer2022-08-0225-1148/+1285
|
* Fix bug on empty heading (atx)Libravatar Titus Wormer2022-08-011-29/+31
|
* Add missing docs, refactor some codeLibravatar Titus Wormer2022-08-015-78/+90
|
* Refactor to pass more `&str`s, work on more bytesLibravatar Titus Wormer2022-08-012-90/+70
|
* Remove unneeded field in compile contextLibravatar Titus Wormer2022-08-011-39/+8
|
* Refactor some statesLibravatar Titus Wormer2022-08-016-28/+32
|
* Refactor to improve statesLibravatar Titus Wormer2022-07-2934-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`
* Refactor to work on bytes (`u8`)Libravatar Titus Wormer2022-07-2939-528/+576
|
* Refactor to use `debug_assert`Libravatar Titus Wormer2022-07-285-20/+19
|
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-2844-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.
* Refactor to drastically improve perf around whitespaceLibravatar Titus Wormer2022-07-2612-238/+263
|
* Refactor to simplify tokenizerLibravatar Titus Wormer2022-07-263-132/+83
|
* Remove unneeded parameterLibravatar Titus Wormer2022-07-261-20/+16
|
* Refactor to not pass codes aroundLibravatar Titus Wormer2022-07-2534-993/+938
|
* Refactor to store less dataLibravatar Titus Wormer2022-07-251-47/+43
|
* Remove no longer needed field in `State::Ok`Libravatar Titus Wormer2022-07-2534-63/+61
|
* Refactor to remove need for cloning codesLibravatar Titus Wormer2022-07-253-44/+26
|
* Improve performance w/ a single feed loopLibravatar Titus Wormer2022-07-2524-145/+138
|
* Refactor to remove unneeded `Option`Libravatar Titus Wormer2022-07-221-14/+18
|
* Refactor to use a single shared edit mapLibravatar Titus Wormer2022-07-2210-82/+50
|
* Refactor to reserve some more vecsLibravatar Titus Wormer2022-07-221-5/+9
|
* Refactor to pass more references aroundLibravatar Titus Wormer2022-07-221-26/+39
|
* Refactor to remove unneeded tuples in every statesLibravatar Titus Wormer2022-07-2238-919/+684
|
* Refactor to pass ints instead of vecs aroundLibravatar Titus Wormer2022-07-2235-464/+393
|
* Refactor performance around links in subtokenizeLibravatar Titus Wormer2022-07-211-28/+35
|
* Refactor to improve performance by passing markers aroundLibravatar Titus Wormer2022-07-213-75/+37
|
* Refactor to move `index` field to `point`Libravatar Titus Wormer2022-07-2111-102/+49
|
* Refactor to move some event fields to `link`Libravatar Titus Wormer2022-07-218-110/+90
|
* Refactor to share edit mapLibravatar Titus Wormer2022-07-209-46/+61
|
* Refactor to improve cloning in `document`Libravatar Titus Wormer2022-07-201-53/+49
|
* Refactor to improve allocation around stringsLibravatar Titus Wormer2022-07-206-182/+149
|
* Refactor to use less vecs for eventsLibravatar Titus Wormer2022-07-2011-76/+63
|
* Remove a couple of clonesLibravatar Titus Wormer2022-07-192-7/+6
|
* Refactor to remove cloning in `edit_map`Libravatar Titus Wormer2022-07-1911-45/+47
|
* Use `edit_map` in `subtokenize`Libravatar Titus Wormer2022-07-193-83/+41
|
* Remove another unneeded `HashMap`Libravatar Titus Wormer2022-07-192-177/+158
|
* Remove an unneeded `HashMap`Libravatar Titus Wormer2022-07-193-18/+46
|
* Replace use of `HashSet` with `vec`Libravatar Titus Wormer2022-07-192-7/+9
|
* Remove unneeded `rust` language flagsLibravatar Titus Wormer2022-07-191-6/+6
|
* Fix performance around a lot of listsLibravatar Titus Wormer2022-07-191-16/+33
|
* Refactor to improve performance when constructs are turned offLibravatar Titus Wormer2022-07-182-49/+73
|
* Change to improve `default_line_ending` apiLibravatar Titus Wormer2022-07-182-7/+5
|
* Add support for turning off constructsLibravatar Titus Wormer2022-07-1824-62/+353
|
* Refactor to move options to `lib/`Libravatar Titus Wormer2022-07-182-161/+160
|
* Refactor to organize resolversLibravatar Titus Wormer2022-07-184-175/+175
|
* Refactor examples of statesLibravatar Titus Wormer2022-07-1826-460/+605
|
* Remove unneeded tokenLibravatar Titus Wormer2022-07-183-35/+13
|
* Fix token that should be voidLibravatar Titus Wormer2022-07-183-3/+58
|