Commit Graph

  • 50a67c65ef
    Standardize order of lifetimes for r and s. Tom Alexander 2022-12-18 03:30:28 -0500
  • 2def475337
    Move the structs into the token module. Tom Alexander 2022-12-18 03:24:35 -0500
  • 8211e1043f
    Move in_section to a util module. Tom Alexander 2022-12-18 03:18:43 -0500
  • 6404e5f50e
    Cleanup Tom Alexander 2022-12-18 03:14:56 -0500
  • 4ac3a47deb
    Move the text element parser into the text module. Tom Alexander 2022-12-18 03:11:56 -0500
  • 46672b40b2
    Cleanup. Tom Alexander 2022-12-18 03:04:18 -0500
  • 54ed989300
    Move Res into the error type module. Tom Alexander 2022-12-18 02:59:41 -0500
  • a005502d97
    Move another function inside bold that was only used by bold. Tom Alexander 2022-12-18 02:54:52 -0500
  • eaf8721ae9
    Move paragraph to its own module. Tom Alexander 2022-12-18 02:53:26 -0500
  • 7fc19cc9a6
    Rename the parser for bold and link. Tom Alexander 2022-12-18 02:39:29 -0500
  • 58f2f4e6aa
    Move link to its own module. Tom Alexander 2022-12-18 02:37:42 -0500
  • 0b35491047
    Move bold out to its own module. Tom Alexander 2022-12-18 02:30:24 -0500
  • 6352f92ebc
    Rename nom context to parser context. Tom Alexander 2022-12-18 02:16:28 -0500
  • 279b9dceb4
    Merge branch 'context_many1' Tom Alexander 2022-12-18 02:09:42 -0500
  • 6caaeddc37
    Update link to use the new contextual combinators like bold. Tom Alexander 2022-12-18 02:05:21 -0500
  • 9eab737aa8
    Add comment. Tom Alexander 2022-12-16 01:39:57 -0500
  • 1da38c8f7d
    Use context_many1 for paragraphs in a document. Tom Alexander 2022-12-16 01:35:49 -0500
  • 601fc4776a
    Have to rework the paragraph parser to return something that I'd want to put in a token, like a Paragraph struct. Tom Alexander 2022-12-16 00:53:29 -0500
  • 6459cc64d0
    I think thats all for context_many1. Just need to start using it. Tom Alexander 2022-12-16 00:47:33 -0500
  • 1f1a18782e
    Start of many1. Tom Alexander 2022-12-16 00:21:13 -0500
  • 0504c48b66
    Implement an iter_until. Tom Alexander 2022-12-15 23:52:52 -0500
  • 0d2dfe3a14
    Move context_many_till to its own combinators file. Tom Alexander 2022-12-15 23:28:09 -0500
  • c74b802038
    Cleanup. Tom Alexander 2022-12-15 23:23:03 -0500
  • ef60559428
    Merge branch 'custom_error' into context_many_till Tom Alexander 2022-12-15 23:15:48 -0500
  • cd2daf6fef
    Replace all TODOs wanting a custom error with a generic custom error. Tom Alexander 2022-12-15 23:15:27 -0500
  • a1adf2aa41
    Custom error seems to be working. Tom Alexander 2022-12-15 23:09:40 -0500
  • f2e68612c4
    Create a custom error enum to contain regular nom errors. Tom Alexander 2022-12-15 22:57:08 -0500
  • 4a9bb31aed
    Start of a custom error. Tom Alexander 2022-12-15 22:38:28 -0500
  • 4c09c390fa
    Prevent bold inside bold. Tom Alexander 2022-12-15 21:57:21 -0500
  • c6f75e1736
    Don't increment Rc counters when checking exit matchers. Tom Alexander 2022-12-15 21:30:53 -0500
  • 4af09a69a1
    Rename fail matcher to exit matcher. Tom Alexander 2022-12-15 21:24:53 -0500
  • 0c676c44c2
    I need to prevent matching bold inside a bold. Tom Alexander 2022-12-15 21:14:49 -0500
  • b27be8eab1
    Pass context into fail matchers. Tom Alexander 2022-12-15 20:32:00 -0500
  • 23e567ca93
    Add a comment with a note about what my next step is. Tom Alexander 2022-12-11 02:31:14 -0500
  • 50a57ef15b
    Check that there is blank space after the ending asterisk. Tom Alexander 2022-12-11 02:24:19 -0500
  • 48942d2b45
    Add a line that has no bolds because of the starting/stopping surrounding text rule. Tom Alexander 2022-12-11 02:10:50 -0500
  • bb09ed41a4
    Deciding if bold can start. Tom Alexander 2022-12-11 02:07:12 -0500
  • b6b88a7d78
    Switch to using borrows instead of cloning the Rc during iteration. Tom Alexander 2022-12-11 01:07:16 -0500
  • cfdcb7408a
    Implement iterator with far too many clones. Tom Alexander 2022-12-11 01:04:51 -0500
  • 0bcc3d9dc6
    Borrow the context instead of clone it for fewer reference count increments. Tom Alexander 2022-12-11 00:39:35 -0500
  • 9dfca22b86
    Switch to a contextual bold start function. Tom Alexander 2022-12-11 00:36:59 -0500
  • 88bf1b3d8b
    Update flat_bold to context_many_till. Tom Alexander 2022-12-11 00:33:40 -0500
  • 972ffa6345
    Add start of paragraph context. Tom Alexander 2022-12-11 00:21:30 -0500
  • b2742f89e2
    Cleaning up. Tom Alexander 2022-12-11 00:13:19 -0500
  • 103dcbea35
    Add an assert. Tom Alexander 2022-12-11 00:08:39 -0500
  • 7cb85fc8af
    Implement two todo!()s. Tom Alexander 2022-12-11 00:02:13 -0500
  • fa1d845b76
    Reverse the element order. Tom Alexander 2022-12-10 23:57:39 -0500
  • 0aa8926d6b
    OMFG it built. Tom Alexander 2022-12-10 23:51:04 -0500
  • 7d40b8ae24
    Attempt to put two lifetimes in the context. Tom Alexander 2022-12-10 23:49:02 -0500
  • 75ab876b0b
    Its building again. Tom Alexander 2022-12-10 23:38:19 -0500
  • 7bed61a541
    Lets try not digging into return type O. Tom Alexander 2022-12-10 23:11:52 -0500
  • a86ece4d02
    Going down to one lifetime. Tom Alexander 2022-12-10 22:57:30 -0500
  • 43fddc6e58
    Re-adding 'r allowed me to remove dependency but adding in return tokens broke the build again. Tom Alexander 2022-12-10 22:56:03 -0500
  • 24a8247907
    Got rid of the 'r lifetimes without issue. Tom Alexander 2022-12-10 22:31:28 -0500
  • 5b645c67e5
    Uhhh fixed it by setting r to outlive x. I Don't know if that was correct. Tom Alexander 2022-12-10 22:25:54 -0500
  • ea63793b36
    Start of attempt to return tokens. Tom Alexander 2022-12-10 22:24:12 -0500
  • a88117f731
    Type issue with returning the elements. Tom Alexander 2022-12-10 22:20:29 -0500
  • 2a595e2b6c
    Implement ptr_eq on the context types. Tom Alexander 2022-12-10 22:04:39 -0500
  • 7ba863118f
    Only require a mutable borrow by using option's take(). Tom Alexander 2022-12-10 21:36:22 -0500
  • bb4b045aa8
    pop_front implemented. Tom Alexander 2022-12-10 21:27:33 -0500
  • 5899bde66e
    Add comment of what I need to do. Tom Alexander 2022-12-10 21:10:37 -0500
  • 1efe2efc41
    Using many_elem twice is breaking the build. Tom Alexander 2022-12-10 20:58:58 -0500
  • 95a043deef
    Huh, managed to solve the lifetime issue using HRTB. Not sure if I should be changing the 'r at the end of the line. Tom Alexander 2022-12-10 20:56:06 -0500
  • e222b5a9df
    Maybe we should switch to an owned context. Tom Alexander 2022-12-10 20:53:37 -0500
  • 396813c70a
    Two uses of context tree. Tom Alexander 2022-12-04 00:53:59 -0500
  • fb8a31a88f
    I think I solved the clone issue by manually implementing clone since the Rc needs to be cloned, not the content inside it. Tom Alexander 2022-12-04 00:02:15 -0500
  • 2db400198e
    Going to try removing clone from the tokens. Tom Alexander 2022-12-03 23:57:39 -0500
  • b20568c09e
    Clone issue. Tom Alexander 2022-12-03 23:53:52 -0500
  • 96aca6b537
    Switching to a new context variable. Tom Alexander 2022-12-03 23:43:36 -0500
  • c568920da8
    Cleanup. Tom Alexander 2022-12-03 23:19:47 -0500
  • b15f299de8
    Blindly followed the compiler's advice and it solved the build error. Tom Alexander 2022-12-03 23:17:19 -0500
  • 8ae942a6fc
    Remove unnecessary dynamic dispatch. Tom Alexander 2022-12-03 23:13:21 -0500
  • b17429e05c
    Remove unnecessary wrapping. Tom Alexander 2022-12-03 23:09:28 -0500
  • ff65776607
    Weird lifetime issue. Tom Alexander 2022-12-03 23:07:16 -0500
  • 11cf24a500
    Trying to switch to unbound matchers. Tom Alexander 2022-12-03 22:49:56 -0500
  • 05b3ac1725
    Starting an unbound matcher type to allow unbound matchers as parameters to context_many_till. Tom Alexander 2022-12-03 22:44:53 -0500
  • 6cfc39ca45
    Replace the old nom_context with the contents of new_context. Tom Alexander 2022-12-03 22:18:37 -0500
  • 84fa1c3aae
    Impleemnt the behavior for check_fail_matcher. Tom Alexander 2022-12-03 22:15:16 -0500
  • 1a7bfd23f1
    Implement the structure to the check_fail_matcher function. Tom Alexander 2022-12-03 22:12:13 -0500
  • 13ee93f31c
    It is building again. Tom Alexander 2022-12-03 21:50:06 -0500
  • 83881e55b5
    Omg lifetimes errors. Tom Alexander 2022-12-03 21:40:29 -0500
  • dff528da32
    Implement clone for the context. Tom Alexander 2022-12-03 21:35:30 -0500
  • b91e4df797
    Switch to a centrally-defined context type. Tom Alexander 2022-12-03 21:13:42 -0500
  • a3286b2542
    Running into a FnOnce vs FnMut error. Tom Alexander 2022-12-03 21:11:39 -0500
  • bc91775880
    Add the with_additional_node function to the ContextTree. Tom Alexander 2022-12-03 21:06:04 -0500
  • c0e51298b6
    Port a lot of the function signatures over. Tom Alexander 2022-12-03 20:53:14 -0500
  • bdf3c98f34
    Starting to move the org-mode specific context tree stuff over. Tom Alexander 2022-12-03 20:47:31 -0500
  • 89148a623c
    Move the list to its own file. Tom Alexander 2022-12-03 20:38:56 -0500
  • 170ddec9a9
    Starting a new context tree. Tom Alexander 2022-12-03 20:30:03 -0500
  • b9034147a6
    wip Tom Alexander 2022-12-03 19:38:04 -0500
  • 8608136124
    Removed one wrapper. Tom Alexander 2022-11-27 00:35:38 -0500
  • 7d25628f74
    Same lifetime issue. Tom Alexander 2022-11-27 00:21:34 -0500
  • ec4078c812
    Add a blank check_fail_matcher implementation. Tom Alexander 2022-11-27 00:14:23 -0500
  • 15dedc8ee9
    Add with_additional_fail_matcher. Tom Alexander 2022-11-27 00:12:33 -0500
  • a55b7c42fd
    maybe working with dynamic dispatch. Tom Alexander 2022-11-27 00:07:43 -0500
  • a08fab1a8d
    Remove hrtb attempt. Tom Alexander 2022-11-27 00:02:57 -0500
  • b8e3074a0e
    with addition node not working. Tom Alexander 2022-11-27 00:01:05 -0500
  • 7346f5e850
    hrtb not working. Tom Alexander 2022-11-26 23:56:03 -0500
  • 9673917a3c
    get_fail_matcher implemented. Tom Alexander 2022-11-26 23:35:10 -0500
  • 4a2b633f9c
    Added traits for nodes and context elements. Tom Alexander 2022-11-26 23:12:53 -0500