aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/blank_line.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to attempt less if never neededLibravatar Titus Wormer2022-08-121-6/+6
|
* Refactor to improve docs of each functionLibravatar Titus Wormer2022-08-121-2/+2
|
* Refactor attempts to remove unneeded state nameLibravatar Titus Wormer2022-08-111-3/+3
|
* Refactor to move `space_or_tab_eol` to own fileLibravatar Titus Wormer2022-08-111-1/+1
|
* Refactor to move some code to `event.rs`Libravatar Titus Wormer2022-08-111-3/+3
|
* Refactor to move some code to `state.rs`Libravatar Titus Wormer2022-08-111-3/+4
|
* Rename `State::Fn` to `State::Next`Libravatar Titus Wormer2022-08-101-4/+4
|
* Add support for passing `ok`, `nok` as separate states to attemptsLibravatar Titus Wormer2022-08-091-1/+5
|
* Rewrite algorithm to not pass around boxed functionsLibravatar Titus Wormer2022-08-091-3/+4
| | | | | | * 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 some statesLibravatar Titus Wormer2022-08-011-4/+4
|
* Refactor to work on bytes (`u8`)Libravatar Titus Wormer2022-07-291-1/+1
|
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-281-2/+2
| | | | | | | | | | | | | | | 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 not pass codes aroundLibravatar Titus Wormer2022-07-251-4/+4
|
* Remove no longer needed field in `State::Ok`Libravatar Titus Wormer2022-07-251-1/+1
|
* Improve performance w/ a single feed loopLibravatar Titus Wormer2022-07-251-3/+1
|
* Refactor to remove unneeded tuples in every statesLibravatar Titus Wormer2022-07-221-5/+5
|
* Refactor to pass ints instead of vecs aroundLibravatar Titus Wormer2022-07-221-2/+2
|
* Refactor examples of statesLibravatar Titus Wormer2022-07-181-6/+8
|
* Add missing linkLibravatar Titus Wormer2022-07-151-5/+4
|
* Refactor to move token types to `token`Libravatar Titus Wormer2022-07-071-1/+1
|
* Add `attempt_opt` to tokenizerLibravatar Titus Wormer2022-06-221-2/+2
|
* Rename `Whitespace` token to `SpaceOrTab`Libravatar Titus Wormer2022-06-221-1/+1
|
* Add docs for token typesLibravatar Titus Wormer2022-06-221-0/+4
|
* Add improved whitespace handlingLibravatar Titus Wormer2022-06-201-8/+5
| | | | | | * add several helpers for parsing betwen x and y `space_or_tab`s * use those helpers in a bunch of places * move initial indent parsing to flow constructs themselves
* Add paragraphLibravatar Titus Wormer2022-06-201-2/+3
|
* Add some improved docsLibravatar Titus Wormer2022-06-131-3/+6
|
* .Libravatar Titus Wormer2022-06-081-0/+61