Skip to content

Instantly share code, notes, and snippets.

@leque
Created June 7, 2012 09:12
Show Gist options
  • Save leque/2887770 to your computer and use it in GitHub Desktop.
Save leque/2887770 to your computer and use it in GitHub Desktop.
(use parser.peg)
(define ($look-ahead parse)
(lambda (s0)
(receive (r v s) (parse s0)
(values r v s0))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment