Commit Graph

105 Commits

Author SHA1 Message Date
Tom Alexander
54b02f4e74 Give object structs their own file separate from the parsers. 2023-04-21 16:07:38 -04:00
Tom Alexander
0fcfdd5ff2 Compare table row and table cell bounds. 2023-04-21 15:45:35 -04:00
Tom Alexander
17ab8727d1 Initial structure for tables. 2023-04-19 20:59:58 -04:00
Tom Alexander
a267f23e0f Initial code structure for property drawers. 2023-04-19 16:51:00 -04:00
Tom Alexander
0d07a6aad3 Initial structure for dynamic blocks. 2023-04-19 13:30:15 -04:00
Tom Alexander
fcd5c7d3cd Add an enum for exit class. 2023-04-17 21:16:39 -04:00
Tom Alexander
1f7c24545b Initial structure for drawer. 2023-04-15 17:36:07 -04:00
Tom Alexander
1b10b197f2 Initial structure for adding support for comments. 2023-04-15 16:31:38 -04:00
Tom Alexander
05c9ec86b8 Compare plain list items inside plain lists. 2023-04-12 14:07:33 -04:00
Tom Alexander
57f56eb860 Compare footnote definition and greater block bounds. 2023-04-12 13:45:22 -04:00
Tom Alexander
75a47deedd Compare plain list bounds. 2023-04-12 13:16:25 -04:00
Tom Alexander
2a601475fd Compare children of sections. 2023-04-12 11:46:49 -04:00
Tom Alexander
c4e6549feb Compare children of heading. 2023-04-12 11:35:02 -04:00
Tom Alexander
52b401d548 comparing begin and end offsets for top-level sections and headlines. 2023-04-11 19:16:04 -04:00
Tom Alexander
6e62bd5ff2 Initial return and printing of tree diff output. 2023-04-11 18:29:40 -04:00
Tom Alexander
287cc8dea3 Just barely starting to diff the two parsed forms. 2023-04-11 17:35:09 -04:00
Tom Alexander
716f80b0ec Add initial implementation of footnote definition. 2023-04-07 17:14:44 -04:00
Tom Alexander
9e0bea4c3e Starting the greater block source. 2023-04-03 17:36:56 -04:00
Tom Alexander
2d1df18544 Cleanup. 2023-04-03 15:15:16 -04:00
Tom Alexander
ab09edb5de Initial structures for plain lists. 2023-03-25 13:16:28 -04:00
Tom Alexander
74fc440cbd Move parsers for specific objects/elements to their own files.
The parsers are the most complicated part, so I want them in their own files. I am uncertain if I want to move their corresponding structs or just the parsers.
2023-03-25 12:53:57 -04:00
Tom Alexander
5d9771c3b6 Move old modules out of the src tree. 2023-03-25 12:25:05 -04:00
Tom Alexander
2ab407bb83 Invoke the document parser. 2023-03-25 11:27:38 -04:00
Tom Alexander
5c8a064eca Start writing the parser for headings. 2023-03-23 19:35:32 -04:00
Tom Alexander
d3c804942f Simplified context_many1 based on the assumption that we will not use previous element context elements. 2023-03-23 18:25:00 -04:00
Tom Alexander
ee60cf40dd Disable building the old combinator. 2023-03-23 18:01:33 -04:00
Tom Alexander
6042c44514 Starting to define document parser. 2023-03-23 17:59:39 -04:00
Tom Alexander
d98a11059c Introduce the document structure. 2023-03-23 17:52:16 -04:00
Tom Alexander
35d60c10ba Define greater and lesser elements. 2023-03-23 17:26:07 -04:00
Tom Alexander
87c4a955af Starting to define objects based on org-mode's definitions. 2023-03-23 16:49:52 -04:00
Tom Alexander
32897270a5 Support leading whitespace for list items. 2023-03-18 13:26:32 -04:00
Tom Alexander
76b2325486 Start the plain list module. 2022-12-18 07:52:01 -05:00
Tom Alexander
8211e1043f Move in_section to a util module. 2022-12-18 03:18:43 -05:00
Tom Alexander
4ac3a47deb Move the text element parser into the text module. 2022-12-18 03:15:11 -05:00
Tom Alexander
eaf8721ae9 Move paragraph to its own module. 2022-12-18 02:53:26 -05:00
Tom Alexander
58f2f4e6aa Move link to its own module. 2022-12-18 02:37:42 -05:00
Tom Alexander
0b35491047 Move bold out to its own module. 2022-12-18 02:30:24 -05:00
Tom Alexander
6352f92ebc Rename nom context to parser context. 2022-12-18 02:16:28 -05:00
Tom Alexander
0d2dfe3a14 Move context_many_till to its own combinators file. 2022-12-15 23:28:09 -05:00
Tom Alexander
a1adf2aa41 Custom error seems to be working. 2022-12-15 23:09:40 -05:00
Tom Alexander
7d40b8ae24 Attempt to put two lifetimes in the context. 2022-12-10 23:49:02 -05:00
Tom Alexander
b20568c09e Clone issue. 2022-12-04 00:04:38 -05:00
Tom Alexander
6cfc39ca45 Replace the old nom_context with the contents of new_context. 2022-12-04 00:04:37 -05:00
Tom Alexander
dff528da32 Implement clone for the context. 2022-12-04 00:04:36 -05:00
Tom Alexander
b91e4df797 Switch to a centrally-defined context type. 2022-12-04 00:04:36 -05:00
Tom Alexander
89148a623c Move the list to its own file. 2022-12-03 20:38:56 -05:00
Tom Alexander
f93f1c5950 Going to attempt the tree one more time. 2022-11-26 22:57:05 -05:00
Tom Alexander
f4473cbf01 Remove the new context tree implementation. 2022-11-26 22:37:00 -05:00
Tom Alexander
6e2ff8b870 Revert "Migrating to the new context tree."
This reverts commit c37008df1d41c36780c57054c3d0e0244478c8d5.
2022-11-26 22:36:02 -05:00
Tom Alexander
e8b44f27e8 Migrating to the new context tree. 2022-11-26 22:03:15 -05:00