Commit Graph

43 Commits

Author SHA1 Message Date
Tom Alexander
2def475337
Move the structs into the token module. 2022-12-18 03:24:35 -05:00
Tom Alexander
6404e5f50e
Cleanup 2022-12-18 03:15:11 -05:00
Tom Alexander
4ac3a47deb
Move the text element parser into the text module. 2022-12-18 03:15:11 -05:00
Tom Alexander
54ed989300
Move Res into the error type module. 2022-12-18 03:04:31 -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
6caaeddc37
Update link to use the new contextual combinators like bold. 2022-12-18 02:05:21 -05:00
Tom Alexander
1da38c8f7d
Use context_many1 for paragraphs in a document. 2022-12-16 01:35:49 -05:00
Tom Alexander
c74b802038
Cleanup. 2022-12-15 23:23:03 -05:00
Tom Alexander
a1adf2aa41
Custom error seems to be working. 2022-12-15 23:09:40 -05:00
Tom Alexander
b2742f89e2
Cleaning up. 2022-12-11 00:13:19 -05:00
Tom Alexander
2db400198e
Going to try removing clone from the tokens. 2022-12-04 00:04:38 -05:00
Tom Alexander
b20568c09e
Clone issue. 2022-12-04 00:04:38 -05:00
Tom Alexander
7d25628f74
Same lifetime issue. 2022-11-27 00:21:34 -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
Tom Alexander
29a53044ea
Rename OrgModeContext. 2022-11-26 19:22:14 -05:00
Tom Alexander
65c51f79d6
Update the paragraph parser to work at the end of the file. 2022-11-26 18:22:41 -05:00
Tom Alexander
185c761a5d
Move the paragraph context into the paragraph parser. 2022-11-26 17:51:07 -05:00
Tom Alexander
c312673f12
Make the types more consistent. 2022-11-25 18:55:56 -05:00
Tom Alexander
cc41074563
It seems to be working now that I've integrated links. 2022-11-25 18:40:38 -05:00
Tom Alexander
5b306729f5
Remove instrumentation. 2022-11-25 18:37:12 -05:00
Tom Alexander
9c54689bd9
Bold not getting detected. 2022-11-25 18:23:51 -05:00
Tom Alexander
cdb35edd64
Trace span events. 2022-11-25 17:55:11 -05:00
Tom Alexander
d277a033c9
Passing the context around. 2022-11-24 15:40:07 -05:00
Tom Alexander
a792acf4b0
Constructing a context. 2022-11-24 15:14:53 -05:00
Tom Alexander
1487f7d96b
Really start from scratch. 2022-11-24 14:42:05 -05:00
Tom Alexander
6f416f6997
Going to switch to using immutable fn instead of FnMut so I can easily make a context tree. 2022-11-24 14:31:58 -05:00
Tom Alexander
58e31aa841
Did lifetimes fix it? 2022-10-30 05:53:18 -04:00
Tom Alexander
8695d32f40
Swap in the new TestContext everywhere. 2022-10-30 05:06:06 -04:00
Tom Alexander
9d534aa627
Add paragraph parser. 2022-10-15 14:16:52 -04:00
Tom Alexander
6b93e1c007
Lifetime issue. 2022-10-15 00:01:37 -04:00
Tom Alexander
8a6868f299
Added boxes. 2022-10-14 20:52:49 -04:00
Tom Alexander
add717071c
Using a mutable reference breaks clone. 2022-10-14 20:25:10 -04:00
Tom Alexander
262bd3c061
Going to try to make the functions in the context more generic. 2022-10-14 20:06:10 -04:00
Tom Alexander
70688c8d51
Pass context into paragraph from document instead of generating the initial context at paragraph level. 2022-07-17 18:40:05 -04:00
Tom Alexander
b3b2874cc2
Cleaning up. 2022-07-16 21:37:08 -04:00
Tom Alexander
8357837571
Hmmm it seems to be building. 2022-07-16 21:32:23 -04:00
Tom Alexander
9d8fddb44d
Going to go back to fn objects in the hope that I don't have to specify lifetimes. 2022-07-16 21:16:34 -04:00
Tom Alexander
c67de70363
Going to try flatly defined functions and wrap them. 2022-07-16 20:42:56 -04:00
Tom Alexander
fdd5b532fc
Expose a document parser and implement the paragraph parser so something is hitting our macro. 2022-07-16 18:26:53 -04:00
Tom Alexander
ee9e6297a6
Initial setup for the parser. 2022-07-16 14:17:33 -04:00