Commit Graph

41 Commits

Author SHA1 Message Date
Tom Alexander
4ad297f58a
Add a test for a simple citation. 2023-07-21 18:00:19 -04:00
Tom Alexander
7611deb1ff
Forgot to add the exit matcher nodes to the context and match the trailing ']'. 2023-07-19 23:40:26 -04:00
Tom Alexander
754e9ff7d7
Implement entity parser. 2023-07-18 20:35:55 -04:00
Tom Alexander
0073af19e2
Running into an issue returning different iterators from the same function. 2023-07-14 19:54:41 -04:00
Tom Alexander
90a47b7b49
Exit text markup if the parent exit matcher is triggering. 2023-04-24 17:16:07 -04:00
Tom Alexander
ed174c1c41
Fix nested bolds child eating the parent exit. 2023-04-24 16:48:33 -04:00
Tom Alexander
c6403423cf
Looks like link should consume trailing whitespace. 2023-04-24 16:29:14 -04:00
Tom Alexander
87be28ed15
Fix matching of description in links. 2023-04-24 16:05:46 -04:00
Tom Alexander
da76d3714c
Identify a problem. 2023-04-22 22:10:49 -04:00
Tom Alexander
cade02eb72
Make the empty drawer honor an immediate exit condition. 2023-04-22 21:39:46 -04:00
Tom Alexander
9a3bde0d80
First attempt at text markup. 2023-04-22 19:34:13 -04:00
Tom Alexander
8072430265
Add an example of text markup opening and closing. 2023-04-22 17:31:21 -04:00
Tom Alexander
fef5841713
Identify a problem. 2023-04-22 00:23:16 -04:00
Tom Alexander
77f2d23036
Switch back to org-mode for the parsing binary. 2023-04-21 21:18:30 -04:00
Tom Alexander
517e826f4e
Demonstrating the problem. 2023-04-21 21:01:26 -04:00
Tom Alexander
c971148871
Running into an error running the tracer. 2023-04-21 14:54:29 -04:00
Tom Alexander
d0410391cc
Drop blank lines after property drawer instead of owning them. 2023-04-19 19:28:21 -04:00
Tom Alexander
603cc131a0
Numerous fixes to property drawers. 2023-04-19 19:03:51 -04:00
Tom Alexander
b557b9ca5d
Accounting for the blank lines at the head of documents and comments plus property drawer at the head of the zeroth section. 2023-04-19 18:37:39 -04:00
Tom Alexander
1deb53f1a3
Add the binary back in because we need it for generating jaeger traces. 2023-04-19 18:12:53 -04:00
Tom Alexander
18f8e2562e
Remove the old toy language binary.
Using the org_mode_samples integration tests through the rust test framework has removed the need for the toy language binary and I think removing it will make rust-analyzer less confused about imports. This repository is now solely a library repository.
2023-04-19 16:54:17 -04:00
Tom Alexander
2b08b52c16
Support drawers with only whitespace. 2023-04-19 14:52:31 -04:00
Tom Alexander
c6fd04e9ce
Fix footnote definition end matcher detecting the next footnote definition. 2023-04-19 14:30:02 -04:00
Tom Alexander
3a3cee337c
To pass this test, we need to not allow nesting of elements directly inside themselves. 2023-04-18 21:47:07 -04:00
Tom Alexander
09442a0530
Oddly enough emacs is breaking up lines with 🔚 as a separate paragraph when regular letters would get combined. 2023-04-18 21:41:13 -04:00
Tom Alexander
0effc7c087
You can have a block containing only whitespace which gets matched as a paragraph whose value is just a single newline. 2023-04-18 20:58:25 -04:00
Tom Alexander
4dd18006a5
Add some tests for paragraphs. 2023-04-17 20:13:07 -04:00
Tom Alexander
08fed1301e
Fix plain list parser to not consume trailing whitespace on the last item. 2023-04-14 19:24:05 -04:00
Tom Alexander
665c1d70fb
Add a test case demonstrating an issue. 2023-04-12 15:24:18 -04:00
Tom Alexander
895ee9f3b6
Add a test showing the footnote exit matcher is not handling multiple blank lines properly. 2023-04-10 12:16:49 -04:00
Tom Alexander
e5bc4cb14b
Footnote definitions are parsing on their own. 2023-04-10 11:50:43 -04:00
Tom Alexander
6813c7c991
Identified the problem as being the handling of the trailing whitespace. 2023-04-10 09:49:24 -04:00
Tom Alexander
9b3fbe6d26
Add footnotes to the test file. 2023-04-07 17:16:12 -04:00
Tom Alexander
559f6e6173
Greater block breaking parsing. 2023-04-03 18:44:05 -04:00
Tom Alexander
b5b335b9b0
Fix handling of whitespace at the end of paragraphs and mandatory whitespace in list items. 2023-04-03 16:30:58 -04:00
Tom Alexander
a77d2655bd
Instrument the code. 2023-03-27 16:36:43 -04:00
Tom Alexander
5db4e07c99
Expand the sample text. 2023-03-27 14:03:52 -04:00
Tom Alexander
e3f6dd497a
Test cases showing headings handling nesting properly. 2023-03-25 12:01:50 -04:00
Tom Alexander
3a0a4c8953
Consume the trailing whitespace after a headline. 2023-03-25 11:59:19 -04:00
Tom Alexander
48942d2b45
Add a line that has no bolds because of the starting/stopping surrounding text rule. 2022-12-11 02:10:50 -05:00
Tom Alexander
ee9e6297a6
Initial setup for the parser. 2022-07-16 14:17:33 -04:00