stchang / parsack

A basic Parsec-like monadic parser combinator library implementation in Racket.
MIT License
50 stars 10 forks source link

lookAhead returns parse result, but still consumes no input. #17

Closed greghendershott closed 10 years ago

greghendershott commented 10 years ago

Note: This required updating check-empty-parsing in test-utils.rkt to check for a result, just like check-parsing. For parsers like $eof the result is "".