aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add missing mark of `SpaceOrTab` as void eventLibravatar Titus Wormer2022-08-151-1/+2
|
* Add derive of `Eq` where possibleLibravatar Titus Wormer2022-08-155-11/+11
|
* Refactor to move `content` to `construct`Libravatar Titus Wormer2022-08-1538-138/+130
|
* Refactor to move some things to `parser`Libravatar Titus Wormer2022-08-152-26/+20
|
* Refactor to rename list construct to list itemLibravatar Titus Wormer2022-08-1510-72/+73
|
* Refactor paragraph, data resolversLibravatar Titus Wormer2022-08-152-44/+50
|
* Refactor to solve some clippy issuesLibravatar Titus Wormer2022-08-152-52/+50
|
* Refactor to attempt less if never neededLibravatar Titus Wormer2022-08-1214-293/+367
|
* Refactor to improve enteringLibravatar Titus Wormer2022-08-1213-96/+144
|
* Refactor to improve some namesLibravatar Titus Wormer2022-08-124-27/+27
|
* Remove unneeded stateLibravatar Titus Wormer2022-08-122-23/+4
|
* Remove `match` statements if clumsyLibravatar Titus Wormer2022-08-1219-412/+368
|
* Refactor to improve docs of each functionLibravatar Titus Wormer2022-08-1243-553/+611
|
* Refactor attempts to remove unneeded state nameLibravatar Titus Wormer2022-08-1120-413/+400
|
* 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-114-149/+129
|
* 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
|
* 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
|