aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to handle definitions when parsingLibravatar Titus Wormer2022-08-113-38/+50
|
* Remove unneeded `balance` info on label startsLibravatar Titus Wormer2022-08-114-64/+30
|
* Refactor to move `space_or_tab_eol` to own fileLibravatar Titus Wormer2022-08-1132-526/+542
|
* Remove boxes around resolversLibravatar Titus Wormer2022-08-1115-77/+103
|
* Refactor to move some code to `event.rs`Libravatar Titus Wormer2022-08-1142-1300/+1313
|
* Refactor to move some code to `state.rs`Libravatar Titus Wormer2022-08-1136-1237/+1229
|
* Refactor internal docs, code style of tokenizerLibravatar Titus Wormer2022-08-1117-381/+420
|
* Add improved container exit injectionLibravatar Titus Wormer2022-08-115-149/+137
|
* Refactor some code for document parsingLibravatar Titus Wormer2022-08-103-230/+188
|
* Remove boxes when calling statesLibravatar Titus Wormer2022-08-101-354/+328
| | | | Interestingly, this cuts performance by 20%.
* Add `State::Retry`Libravatar Titus Wormer2022-08-1026-213/+205
|
* Rename `State::Fn` to `State::Next`Libravatar Titus Wormer2022-08-1033-426/+411
|
* Refactor to reuse some tokenizer codeLibravatar Titus Wormer2022-08-091-69/+58
|
* Refactor to share some codeLibravatar Titus Wormer2022-08-092-148/+99
|
* Add peeking to unindented flow linesLibravatar Titus Wormer2022-08-093-16/+50
|
* Add support for passing `ok`, `nok` as separate states to attemptsLibravatar Titus Wormer2022-08-0920-376/+509
|
* Add more tests for definitions and block quotesLibravatar Titus Wormer2022-08-093-15/+21
|
* Add another test for lazy fenced code and block quotesLibravatar Titus Wormer2022-08-091-1/+7
|
* Add some more tests for just line endingsLibravatar Titus Wormer2022-08-091-0/+36
|
* 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-012-30/+38
|
* 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-2936-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`)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-2845-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 dependencyLibravatar Titus Wormer2022-07-261-1/+1
|
* Refactor to drastically improve perf around whitespaceLibravatar Titus Wormer2022-07-2613-244/+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-2240-922/+687
|
* Refactor to pass ints instead of vecs aroundLibravatar Titus Wormer2022-07-2235-464/+393
|
* Refactor performance around links in subtokenizeLibravatar Titus Wormer2022-07-212-29/+42
|
* 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
|