Welcome to the CHICKEN Scheme pasting service

Updated recursive parsing with prcc added by vktec on Mon Oct 3 13:34:13 2016

(use prcc)

(define foo
  (<and>
   (lazy (<or> (<c> #\a)
               foo))
   (<c> #\b)))

(pp (parse-string "abb" (<and> foo (eof))))

;; parsing 'abb' failed:
;; 	(expect: end of file)@(1, 3)
;; #f

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which module provides `string-intersperse'?
Visually impaired? Let me spell it for you (wav file) download WAV