diff options
-rw-r--r-- | json.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -48,3 +48,9 @@ (unit (lambda (x) (char/= x #\")))))) (end (unit (lambda (x) (char= x #\"))))) (list 'string chars))) + +(defparameter whitespace-parser + (comp ((whitespace (zero-or-more (unit (lambda (x) (or (char= x #\Space) + (char= x #\Newline) + (char= x #\Tab))))))) + nil)) |