-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
Description
Where can I find documentation about (of an example of) how to parse non-char tokens?
I have my own tokenizer that spits out tokens which are defined as:
public record struct Token(TokenType TokenType, string Text, int Line, int Column)
I'd like to use Pidgin to parse these tokens. I've implemented an ITokenStream wrapping my tokenizer which, at least when tested in isolation, seems to function appropriately, but have been unable to locate documentation or examples elaborating on how I can write Parsers handling these non-char tokens.
It would be great if the documentation pointed me in the right direction to figure out how to do this.
Thanks very much in advance.
Reactions are currently unavailable