How to write a parser where AST nodes hold reference to source string? #147
Answered
by
zesterer
brundonsmith
asked this question in
Q&A
-
I'd like various AST nodes to hold references directly to the original source string (instead of allocating their own copies of all those substrings of it). Is this possible with chumsky? |
Beta Was this translation helpful? Give feedback.
Answered by
zesterer
May 26, 2022
Replies: 1 comment 1 reply
-
It's currently not possible, but will become possible once the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
brundonsmith
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's currently not possible, but will become possible once the
zero-copy
branch has been merged.