diff options
| author | JSDurand <mmemmew@gmail.com> | 2026-10-16 14:01:01 +0800 |
|---|---|---|
| committer | JSDurand <mmemmew@gmail.com> | 2026-10-16 14:02:10 +0800 |
| commit | fba9a90cfc6aca2a26cce72f55fb261789139781 (patch) | |
| tree | b4b121791ad639e745df689c0d5a8ed7a9e5dcc4 /grammar/src/test_grammar_helper.rs | |
| parent | 3ae0cf9898485a2ec35df7d23cd274e7dea5796d (diff) | |
Now I tested and discussed with claude, and had a working version of
this project. The rest is to port the claude version to my own
writings. So this serves as the starting point before that attempt.
In the new attempt the design is better, and a number of bugs were
found and supposedly fixed, so let us see how this goes at the end.
Diffstat (limited to 'grammar/src/test_grammar_helper.rs')
| -rw-r--r-- | grammar/src/test_grammar_helper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/src/test_grammar_helper.rs b/grammar/src/test_grammar_helper.rs index 9d86865..8c9c2ed 100644 --- a/grammar/src/test_grammar_helper.rs +++ b/grammar/src/test_grammar_helper.rs @@ -18,7 +18,7 @@ pub fn new_closure_regex( } /// A function to scan the inputs. -fn scan_tnt( +pub fn scan_tnt( parser: &DefaultRegParser<TNT>, input: &str, ) -> Result<Option<(usize, RegexType<TNT>, ParseDirection)>, ParseError> { |
