Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor to solve some clippy issues | Titus Wormer | 2022-08-15 | 1 | -1/+0 |
| | |||||
* | Refactor to improve docs of each function | Titus Wormer | 2022-08-12 | 1 | -1/+1 |
| | |||||
* | Refactor to move `space_or_tab_eol` to own file | Titus Wormer | 2022-08-11 | 1 | -61/+61 |
| | |||||
* | Refactor to move some code to `event.rs` | Titus Wormer | 2022-08-11 | 1 | -105/+102 |
| | |||||
* | Add improved container exit injection | Titus Wormer | 2022-08-11 | 1 | -27/+42 |
| | |||||
* | Rewrite algorithm to not pass around boxed functions | Titus Wormer | 2022-08-09 | 1 | -21/+38 |
| | | | | | | * 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 pass more `&str`s, work on more bytes | Titus Wormer | 2022-08-01 | 1 | -90/+65 |
| | |||||
* | Remove unneeded field in compile context | Titus Wormer | 2022-08-01 | 1 | -39/+8 |
| | |||||
* | Refactor to improve states | Titus Wormer | 2022-07-29 | 1 | -236/+304 |
| | | | | | | | | | | | | * 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`) | Titus Wormer | 2022-07-29 | 1 | -21/+24 |
| | |||||
* | Refactor to work on `char`s | Titus Wormer | 2022-07-28 | 1 | -95/+109 |
| | | | | | | | | | | | | | | | 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 remove unneeded tuples in every states | Titus Wormer | 2022-07-22 | 1 | -3/+3 |
| | |||||
* | Refactor to improve allocation around strings | Titus Wormer | 2022-07-20 | 1 | -94/+80 |
| | |||||
* | Remove another unneeded `HashMap` | Titus Wormer | 2022-07-19 | 1 | -137/+120 |
| | |||||
* | Change to improve `default_line_ending` api | Titus Wormer | 2022-07-18 | 1 | -3/+1 |
| | |||||
* | Refactor to move options to `lib/` | Titus Wormer | 2022-07-18 | 1 | -160/+1 |
| | |||||
* | Remove unneeded token | Titus Wormer | 2022-07-18 | 1 | -10/+8 |
| | |||||
* | Fix some final eol bugs | Titus Wormer | 2022-07-15 | 1 | -0/+9 |
| | |||||
* | Fix compiling final eof after list items | Titus Wormer | 2022-07-15 | 1 | -0/+2 |
| | |||||
* | Refactor to sort, document lists in token | Titus Wormer | 2022-07-15 | 1 | -2/+1 |
| | |||||
* | Refactor to sort, document lists in compiler | Titus Wormer | 2022-07-15 | 1 | -153/+146 |
| | |||||
* | Fix two more list bugs | Titus Wormer | 2022-07-14 | 1 | -1/+1 |
| | |||||
* | Add support for container state | Titus Wormer | 2022-07-14 | 1 | -3/+18 |
| | | | | | | * Fix to parse list item continuation based on how big the initial list item prefix was * Fix list items that start with blank lines | ||||
* | Fix a bunch of container things | Titus Wormer | 2022-07-14 | 1 | -18/+37 |
| | | | | | | | | * Fix a lot of container code * Fix to prevent code (indented) from interrupting a lazy container * Fix compiling when combining tight paragraphs, empty list items, and html * Fix list items starting w/ blank lines causing loose lists * Fix crash when looking for a previous blank line | ||||
* | Fix to close containers before several (blank) line endings | Titus Wormer | 2022-07-13 | 1 | -11/+12 |
| | |||||
* | Fix a lot of list things | Titus Wormer | 2022-07-12 | 1 | -20/+71 |
| | | | | | | | | * Add `ListItem`, `ListOrdered`, and `ListUnordered` tokens * Add support for multiline list items * Add support for tight lists * Fix bug where 10 digit long list item values worked * Fix skip bug when skipping over nested events | ||||
* | Add initial support for lists | Titus Wormer | 2022-07-12 | 1 | -4/+78 |
| | |||||
* | Fix block quote bugs | Titus Wormer | 2022-07-11 | 1 | -6/+9 |
| | |||||
* | Refactor to move token types to `token` | Titus Wormer | 2022-07-07 | 1 | -136/+131 |
| | |||||
* | Fix to order enter/exit maps | Titus Wormer | 2022-07-07 | 1 | -46/+48 |
| | |||||
* | Add basic support for block quotes | Titus Wormer | 2022-07-07 | 1 | -6/+23 |
| | |||||
* | Refactor to do some to dos | Titus Wormer | 2022-07-05 | 1 | -1/+1 |
| | |||||
* | Add support for unicode punctuation | Titus Wormer | 2022-07-04 | 1 | -1/+1 |
| | |||||
* | Update list of todos | Titus Wormer | 2022-07-04 | 1 | -2/+1 |
| | |||||
* | Add support for attention (emphasis, strong) | Titus Wormer | 2022-07-04 | 1 | -0/+24 |
| | |||||
* | Update todos | Titus Wormer | 2022-07-01 | 1 | -0/+1 |
| | |||||
* | Add support for stripping tags in image `alt` | Titus Wormer | 2022-06-30 | 1 | -47/+57 |
| | |||||
* | Fix to prefer resource when given | Titus Wormer | 2022-06-30 | 1 | -6/+6 |
| | |||||
* | Refactor some docs, fix some grammar | Titus Wormer | 2022-06-30 | 1 | -2/+0 |
| | |||||
* | Refactor to reorder compiler | Titus Wormer | 2022-06-29 | 1 | -224/+224 |
| | |||||
* | Add docs to compiler | Titus Wormer | 2022-06-29 | 1 | -77/+136 |
| | |||||
* | Fix a bunch of bugs with definitions, references | Titus Wormer | 2022-06-29 | 1 | -21/+16 |
| | | | | | | | | | * Fix bug where whitespace after `:` was not allowed, it is * Fix bug where escapes in labels did not work due to typo * Fix to prefer first definition * Fix whitespace after definitions * Fix matching by adding normalizing * Fix reference from being output as data | ||||
* | Add support for compiling definitions | Titus Wormer | 2022-06-29 | 1 | -52/+196 |
| | |||||
* | Refactor to externalize handlers of compiler | Titus Wormer | 2022-06-29 | 1 | -533/+638 |
| | |||||
* | Add support for sharing identifiers, references before definitions | Titus Wormer | 2022-06-29 | 1 | -4/+34 |
| | |||||
* | Add improved docs in compiler | Titus Wormer | 2022-06-28 | 1 | -27/+61 |
| | |||||
* | Fix jumps in `edit_map` | Titus Wormer | 2022-06-28 | 1 | -33/+4 |
| | | | | | | | | | * Use resolve more often (e.g., heading (atx, setext)) * Fix to link whole phrasing (e.g., one big chunk of text in heading (atx, setext), titles, labels) * Replace `ChunkText`, `ChunkString`, with `event.content_type: Option<ContentType>` * Refactor to externalize `edit_map` from `label` | ||||
* | Add link, images (resource) | Titus Wormer | 2022-06-24 | 1 | -29/+184 |
| | | | | | | | | | | | | This is still some messy code that needs cleaning up, but it adds support for links and images, of the resource kind (`[a](b)`). References (`[a][b]`) are parsed and will soon be supported, but need matching. * Fix bug to pad percent-encoded bytes when normalizing urls * Fix bug with escapes counting as balancing in destination * Add `space_or_tab_one_line_ending`, to parse whitespace including up to one line ending (but not a blank line) * Add `ParserState` to share codes, definitions, etc | ||||
* | Rename `Whitespace` token to `SpaceOrTab` | Titus Wormer | 2022-06-22 | 1 | -5/+5 |
| | |||||
* | Add docs for `default_line_ending` | Titus Wormer | 2022-06-21 | 1 | -1/+41 |
| |