Welcome to the CHICKEN Scheme pasting service

comment added by andyjpb on Wed Apr 9 20:14:08 2014

(define comment (recursive-parser (sequence (char-seq "(")
			  (zero-or-more
			    (any-of
			      ctext
			      quoted-pair
			      comment))
			  (char-seq ")"))))


(define (delimited-by delimiter)
  (sequence* ((_ (zero-or-more
		   (any-of linear-white-space comment)))
	      (delimiter (char-seq delimiter))
	      (_ (zero-or-more
		   (any-of linear-white-space comment))))

	     (result delimiter)))

Your annotation:

Enter a new annotation:

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