Closed
Description
Not totally sure, but I think we can somehow generalize current encoding of parser such that the parser from ps-string-parsers will be an instance of it.
What I see in ps-string-parsers is that it uses different Position type which is basically a cursor in the input state. but what if we want to have same performance benefits (of not allocating new states) when we have some tokens as array, or as some structure, where moving "cursor" (position) is cheap.
We can do similar thing as Stream
here to make that possible but maybe we can combine cursor based Streams and non cursor bases streams and have one parser lib.
Metadata
Metadata
Assignees
Labels
No labels