aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove `match` statements if clumsyLibravatar Titus Wormer2022-08-1218-410/+368
|
* Refactor to improve docs of each functionLibravatar Titus Wormer2022-08-1228-440/+420
|
* Refactor attempts to remove unneeded state nameLibravatar Titus Wormer2022-08-1115-270/+236
|
* Refactor to handle definitions when parsingLibravatar Titus Wormer2022-08-111-3/+34
|
* Remove unneeded `balance` info on label startsLibravatar Titus Wormer2022-08-113-43/+10
|
* Refactor to move `space_or_tab_eol` to own fileLibravatar Titus Wormer2022-08-1128-276/+292
|
* Remove boxes around resolversLibravatar Titus Wormer2022-08-119-16/+22
|
* Refactor to move some code to `event.rs`Libravatar Titus Wormer2022-08-1129-859/+878
|
* Refactor to move some code to `state.rs`Libravatar Titus Wormer2022-08-1128-462/+468
|
* Refactor internal docs, code style of tokenizerLibravatar Titus Wormer2022-08-1112-90/+133
|
* Refactor some code for document parsingLibravatar Titus Wormer2022-08-101-3/+7
|
* Add `State::Retry`Libravatar Titus Wormer2022-08-1021-186/+152
|
* Rename `State::Fn` to `State::Next`Libravatar Titus Wormer2022-08-1027-324/+309
|
* Add support for passing `ok`, `nok` as separate states to attemptsLibravatar Titus Wormer2022-08-0915-168/+265
|
* Rewrite algorithm to not pass around boxed functionsLibravatar Titus Wormer2022-08-0927-688/+795
| | | | | | * 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-0221-990/+979
|
* Fix bug on empty heading (atx)Libravatar Titus Wormer2022-08-011-29/+31
|
* Add missing docs, refactor some codeLibravatar Titus Wormer2022-08-013-8/+21
|
* Refactor some statesLibravatar Titus Wormer2022-08-016-28/+32
|
* Refactor to improve statesLibravatar Titus Wormer2022-07-2923-907/+522
| | | | | | | | | | | | * 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-2930-386/+450
|
* Refactor to use `debug_assert`Libravatar Titus Wormer2022-07-281-1/+0
|
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-2828-614/+540
| | | | | | | | | | | | | | | 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-266-136/+195
|
* Refactor to not pass codes aroundLibravatar Titus Wormer2022-07-2529-896/+861
|
* Remove no longer needed field in `State::Ok`Libravatar Titus Wormer2022-07-2529-44/+44
|
* Improve performance w/ a single feed loopLibravatar Titus Wormer2022-07-2521-45/+41
|
* Refactor to use a single shared edit mapLibravatar Titus Wormer2022-07-227-52/+34
|
* Refactor to remove unneeded tuples in every statesLibravatar Titus Wormer2022-07-2229-781/+583
|
* Refactor to pass ints instead of vecs aroundLibravatar Titus Wormer2022-07-2229-374/+328
|
* Refactor to improve performance by passing markers aroundLibravatar Titus Wormer2022-07-211-6/+6
|
* Refactor to move `index` field to `point`Libravatar Titus Wormer2022-07-216-66/+29
|
* Refactor to move some event fields to `link`Libravatar Titus Wormer2022-07-214-58/+24
|
* Refactor to share edit mapLibravatar Titus Wormer2022-07-207-41/+41
|
* Refactor to improve allocation around stringsLibravatar Titus Wormer2022-07-201-6/+4
|
* Refactor to use less vecs for eventsLibravatar Titus Wormer2022-07-207-18/+18
|
* Refactor to remove cloning in `edit_map`Libravatar Titus Wormer2022-07-197-20/+15
|
* Fix performance around a lot of listsLibravatar Titus Wormer2022-07-191-16/+33
|
* Add support for turning off constructsLibravatar Titus Wormer2022-07-1820-52/+124
|
* 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-181-3/+3
|
* Fix token that should be voidLibravatar Titus Wormer2022-07-181-2/+4
|
* Fix dead link in docsLibravatar Titus Wormer2022-07-181-2/+2
|
* Fix interrupting of ordered itemsLibravatar Titus Wormer2022-07-151-5/+7
|
* Fix to use single array for character referencesLibravatar Titus Wormer2022-07-151-6/+8
|
* Fix stray `println`Libravatar Titus Wormer2022-07-151-2/+0
|
* Add docs to non-lazy continuationLibravatar Titus Wormer2022-07-151-5/+27
|
* Add docs and refactor listLibravatar Titus Wormer2022-07-152-163/+200
|
* Add missing docs to html (flow)Libravatar Titus Wormer2022-07-152-38/+46
|