chickadee » input-parse » peek-next-char

peek-next-char #!optional PORTprocedure

advances to the next character in the PORT and peeks at it. This function is useful when parsing LR(1)-type languages (one-char-read-ahead).

The optional argument PORT defaults to the current input port.