syn
syn copied to clipboard
Is it possible to peek for `EOF`?
I need to check if I'm at the end of the input or in front of some delimiter, to parse in a certain way. Checking for the delimiter works perfectly with peek2
but I cannot check if I'm at the end of the input with peeking.