Commit Graph

  • 71180d19fb Fix reading contents from stdin in parse script. Tom Alexander 2023-09-04 11:45:10 -04:00
  • 33091112a5 Remove OrgSource from the public document parser interface. Tom Alexander 2023-09-04 11:36:42 -04:00
  • 5997567233 Merge branch 'stack_based_context' Tom Alexander 2023-09-03 16:22:54 -04:00
  • 2915a81edc Cleanup. Tom Alexander 2023-09-03 16:08:17 -04:00
  • df79cbd0b7 Give global options their own lifetime. Tom Alexander 2023-09-03 15:44:18 -04:00
  • a7b9eb9db4 Lifetime issue. Tom Alexander 2023-09-03 12:58:46 -04:00
  • d262833f9b Fixing more errors. Tom Alexander 2023-09-03 12:52:09 -04:00
  • 0d438a8e0f Fixing more errors. Tom Alexander 2023-09-03 12:45:12 -04:00
  • 0b009511ff Fixing more errors. Tom Alexander 2023-09-03 12:28:45 -04:00
  • 3bdb24ad88 Fixing more errors. Tom Alexander 2023-09-03 12:23:18 -04:00
  • fdf35ba23c Fixing more errors. Tom Alexander 2023-09-03 12:07:51 -04:00
  • cd69e08516 Fixing more errors. Tom Alexander 2023-09-03 11:05:34 -04:00
  • b54c6d366c Fixing more errors. Tom Alexander 2023-09-03 00:27:50 -04:00
  • 15e8d1ab77 Implement check_exit_matcher. Tom Alexander 2023-09-03 00:05:47 -04:00
  • 8502a8830d Fixing some errors. Tom Alexander 2023-09-02 23:16:02 -04:00
  • 74a6101de7 Update RefContext to three lifetimes. Tom Alexander 2023-09-02 22:45:46 -04:00
  • ba57eb16fd Fix using references for context elements. Tom Alexander 2023-09-02 22:44:21 -04:00
  • c309d14776 Fix a reference to RefContext. Tom Alexander 2023-09-02 20:52:02 -04:00
  • 0d728510d7 Implement iterator for context. Tom Alexander 2023-09-02 20:46:17 -04:00
  • 22e9bc991f Fixing up compiler errors. Tom Alexander 2023-09-02 19:28:33 -04:00
  • 564104f1e8 Switch to RefContext. Tom Alexander 2023-09-02 19:16:44 -04:00
  • 12ad3b09f0 Fixing imports. Tom Alexander 2023-09-02 19:15:47 -04:00
  • eabffe5ecc Move over the rest of the types. Tom Alexander 2023-09-02 19:08:01 -04:00
  • b47029fdbb Starting to separate the context and parsed tokens into their own modules. Tom Alexander 2023-09-02 18:46:45 -04:00
  • 25b8c80d4e Add default constructors. Tom Alexander 2023-09-02 18:40:01 -04:00
  • 54825538e4 fixup Tom Alexander 2023-09-02 18:21:43 -04:00
  • 66d10a7a1b Started switching over to a stack-based context tree with global settings. Tom Alexander 2023-09-02 18:19:52 -04:00
  • acf1205e75 Merge branch 'file_based_diff' Tom Alexander 2023-09-02 17:28:31 -04:00
  • 2cd2f7570c Update scripts to handle passing files as parameters. Tom Alexander 2023-09-02 13:22:49 -04:00
  • f16a554154 Handle org-mode documents passed as args. Tom Alexander 2023-09-02 12:15:57 -04:00
  • fcd63b1231 fixup remove_tekton_dependencies Tom Alexander 2023-08-31 21:58:41 -04:00
  • 743b4c9982 fixup Tom Alexander 2023-08-31 21:55:20 -04:00
  • 7eccf8fccd Remove dependency on run-docker-image task. Tom Alexander 2023-08-31 21:42:17 -04:00
  • a40a504f94 Switch to using read-only root in docker containers. Tom Alexander 2023-08-31 21:23:51 -04:00
  • 80d77ff5d6 Fix handling of unicode in compare tests. Tom Alexander 2023-08-31 20:19:28 -04:00
  • ee92049e5d Merge branch 'special_block' Tom Alexander 2023-08-31 19:19:29 -04:00
  • 510985e97c Fix greater blocks by preventing nesting even if they are not the immediate parent. Tom Alexander 2023-08-31 19:17:46 -04:00
  • 949d0989f4 Add a test showing the current parser is broken with deeply nested greater blocks. Tom Alexander 2023-08-31 19:15:28 -04:00
  • 2a4d22bdd4 Add test for nesting of greater blocks. Tom Alexander 2023-08-31 19:09:38 -04:00
  • 7a903acedc Support special blocks in compare. Tom Alexander 2023-08-31 19:04:44 -04:00
  • 5171326d63 Create a test for special blocks. Tom Alexander 2023-08-31 19:02:18 -04:00
  • 67f79aeb51 Remove context from detect plain list. Tom Alexander 2023-08-31 18:53:28 -04:00
  • b2383d9f93 Fix footnote definition performance. Tom Alexander 2023-08-31 18:46:31 -04:00
  • 9e2a323f6f Merge branch 'trailing_whitespace_at_end_of_file' Tom Alexander 2023-08-31 17:29:52 -04:00
  • 0fcb3f73f9 Move handling of contentless item to handle contentless description item. Tom Alexander 2023-08-31 17:25:42 -04:00
  • bfc9e7f58d When re-parsing last item in list, only disable white space consumption for last element in item. Tom Alexander 2023-08-31 17:08:21 -04:00
  • b5f0521b56 Only consume trailing whitespace when not exiting for all objects. Tom Alexander 2023-08-31 15:44:44 -04:00
  • 2048d8f0b6 Support comments at the end of the line in diary sexp. Tom Alexander 2023-08-31 15:31:54 -04:00
  • 466716881e Fix macros consuming whitespace even when the exit matcher is calling for an exit. Tom Alexander 2023-08-31 15:11:29 -04:00
  • eb9c582fa5 '>' is allowed as a post character in text markup. Tom Alexander 2023-08-29 23:57:15 -04:00
  • 214e895d85 Support backslash at the end of a macro. Tom Alexander 2023-08-29 23:42:16 -04:00
  • db3086743c Publish version 0.1.4. v0.1.4 Tom Alexander 2023-08-29 23:28:17 -04:00
  • 207a0546b0 Run full test suite despite default feature selection. Tom Alexander 2023-08-29 23:23:31 -04:00
  • e9480fd156 Disable the compare tests when the compare feature is disabled. Tom Alexander 2023-08-29 23:16:38 -04:00
  • 28aca041f7 Publish version 0.1.3. v0.1.3 Tom Alexander 2023-08-29 23:03:20 -04:00
  • d82def2a70 Merge branch 'compare_improvements' Tom Alexander 2023-08-29 22:58:42 -04:00
  • d471f7178b Wrap the components of headlines in diff layers. Tom Alexander 2023-08-29 22:57:08 -04:00
  • 2c5c26c55f Allow diff layers that are not associated with tokens. Tom Alexander 2023-08-29 22:47:40 -04:00
  • 7944659802 Compare headline level. Tom Alexander 2023-08-29 22:11:56 -04:00
  • 58aca53144 Move get_property into util. Tom Alexander 2023-08-29 22:07:23 -04:00
  • 6f2d90162b Do not use the plain text parser for property drawers. Tom Alexander 2023-08-29 22:03:20 -04:00
  • f170a557ed Use character offsets in diff. Tom Alexander 2023-08-29 21:49:16 -04:00
  • eaa38ce772 Include an error message for failed bounds checking. Tom Alexander 2023-08-29 21:05:51 -04:00
  • a6d742a536 Fix handling line breaks after divider in description lists. Tom Alexander 2023-08-29 20:11:23 -04:00
  • 45be9e7bde Merge branch 'description_list' Tom Alexander 2023-08-29 19:36:45 -04:00
  • f6c895319f Add support for diffing description lists. Tom Alexander 2023-08-29 19:22:11 -04:00
  • 2682779534 Add support for parsing description lists. Tom Alexander 2023-08-29 18:07:29 -04:00
  • ea6faf728c Add test for description list. Tom Alexander 2023-08-29 17:52:58 -04:00
  • b48d472546 Fix build. Tom Alexander 2023-08-29 18:07:10 -04:00
  • f4ea1b7303 Merge branch 'accuracy_fixes_from_feeding_large_documents' Tom Alexander 2023-08-29 17:49:19 -04:00
  • 80b55fdd45 Consume trailing whitespace for macro. Tom Alexander 2023-08-29 17:42:58 -04:00
  • f426e32798 Do not include trailing punctuation or whitespace in plain links. Tom Alexander 2023-08-29 17:35:04 -04:00
  • 66037356c5 Add test showing plain links ending in punctuation currently do not parse correctly. Tom Alexander 2023-08-29 17:24:44 -04:00
  • 1bcd1895c0 Allow affiliating keywords with regular keywords. Tom Alexander 2023-08-29 17:19:13 -04:00
  • e3d38cfbe2 Add a test for floating affiliated keywords. Tom Alexander 2023-08-29 17:05:19 -04:00
  • 2ba0dc49be Support export affiliated keywords. Tom Alexander 2023-08-29 17:01:35 -04:00
  • 9df40fb13f Only allow specific keywords for affiliated keywords. Tom Alexander 2023-08-29 16:56:07 -04:00
  • cc671925db Support empty sections under headings. Tom Alexander 2023-08-29 16:07:43 -04:00
  • 950baa9d5d Only allow a single section under a heading. Tom Alexander 2023-08-29 16:03:13 -04:00
  • 56865c68fc Do not allow plain links without a path. Tom Alexander 2023-08-29 15:44:04 -04:00
  • f592b73ae7 Merge branch 'reduce_context_usage_in_exit_matchers' Tom Alexander 2023-08-29 15:17:16 -04:00
  • 3206027b96 Add all entities. Tom Alexander 2023-08-29 15:10:27 -04:00
  • 3e6df7ba78 Print character offset from rust's parse perspective during compare. Tom Alexander 2023-08-29 14:40:58 -04:00
  • ac313d093e Improve error handling in compare. Tom Alexander 2023-08-29 14:17:47 -04:00
  • f376f1cf8e Add a test for empty sections. Tom Alexander 2023-08-29 14:10:26 -04:00
  • f21385a901 Add a helper function for logging during debugging. Tom Alexander 2023-08-29 13:45:35 -04:00
  • 1d06d95bb1 Add a minimum stars figure to heading parser to reduce re-parses. Tom Alexander 2023-08-29 13:48:10 -04:00
  • bfc88c1d1b Use a detect_headline function instead of the full headline parse for the section_end exit matcher. Tom Alexander 2023-08-29 11:35:54 -04:00
  • f29720e5b9 Switch to using a type for bracket depth. Tom Alexander 2023-08-29 11:18:15 -04:00
  • 27a9b5aeb1 Switch to i16 for backet depth count. Tom Alexander 2023-08-29 11:14:50 -04:00
  • 8051c3d2b7 Remove line number tracking. Tom Alexander 2023-08-29 11:09:28 -04:00
  • bd97d2f69d Switch to i32 for tracking bracket depth. Tom Alexander 2023-08-29 11:07:00 -04:00
  • 14b1d0526c Manually implement Debug and make convert_error more generic. Tom Alexander 2023-08-29 10:58:05 -04:00
  • 288350daef Iterate over the bytes instead of characters when counting brackets. Tom Alexander 2023-08-28 03:15:53 -04:00
  • c683516620 Switch inline source blocks to using bracket depth from OrgSource instead of from the context. Tom Alexander 2023-08-28 02:54:37 -04:00
  • e731e8ff6b Switch inline babel call to using bracket depth from OrgSource instead of from the context. Tom Alexander 2023-08-28 02:46:21 -04:00
  • 4c2037ec44 Switch subscript and superscript to using bracket depth from OrgSource instead of from the context. Tom Alexander 2023-08-28 02:37:01 -04:00
  • a46b358549 Switch citations to using bracket depth from OrgSource instead of from the context. Tom Alexander 2023-08-28 00:34:48 -04:00
  • ec813e3b3f Switch to using bracket depth from OrgSource instead of from the context for footnote references. Tom Alexander 2023-08-28 00:24:27 -04:00
  • f11f7bcc73 Keep track of bracket, brace, and parenthesis depth when iterating over the OrgSource. Tom Alexander 2023-08-28 00:04:09 -04:00