Commit Graph

31 Commits

Author SHA1 Message Date
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