Changeset 25592 in project
- Timestamp:
- 11/28/11 13:25:40 (9 years ago)
- Location:
- release/4/json-abnf
- Files:
-
- 3 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
release/4/json-abnf/tags/5.1/json-abnf.scm
r25590 r25592 85 85 86 86 (define (value? x) (or (string? x) (number? x) (boolean? x) 87 (vector? x) ( list? x) (pair? x)))87 (vector? x) (null? x) (pair? x) (symbol? x))) 88 88 89 89 (define consumed-values (abnf:consumed-objects value?)) … … 142 142 (define false 143 143 (abnf:bind 144 ( abnf:consumed-chars->list (lambda x (list #f)))144 (lambda x (list #f)) 145 145 (abnf:lit "false"))) 146 146 147 147 (define null 148 148 (abnf:bind 149 ( abnf:consumed-chars->list (lambda x (list 'null)))149 (lambda x (list 'null)) 150 150 (abnf:lit "null"))) 151 151 152 152 (define true 153 153 (abnf:bind 154 ( abnf:consumed-chars->list (lambda x (list #t)))154 (lambda x (list #t)) 155 155 (abnf:lit "true"))) 156 156 -
release/4/json-abnf/tags/5.1/json-abnf.setup
r25590 r25592 19 19 20 20 ;; Assoc list with properties for your extension: 21 '((version 5. 0)21 '((version 5.1) 22 22 )) 23 23 -
release/4/json-abnf/tags/5.1/tests/run.scm
r25590 r25592 70 70 ,(list->vector (list (list->vector (list '())) "" '())) 71 71 ,(list->vector (list (list->string (list #\newline)) (list->string (list #\@)) "test!")) 72 ,(list->vector (list '(#f) '(#t) '(null)))73 (("str" . "a") ("true" . (#t)) ("false" . (#f)))72 ,(list->vector (list #f #t 'null)) 73 (("str" . "a") ("true" . #t) ("false" . #f)) 74 74 ( 75 75 ("Image" . -
release/4/json-abnf/trunk/json-abnf.scm
r25590 r25592 85 85 86 86 (define (value? x) (or (string? x) (number? x) (boolean? x) 87 (vector? x) ( list? x) (pair? x)))87 (vector? x) (null? x) (pair? x) (symbol? x))) 88 88 89 89 (define consumed-values (abnf:consumed-objects value?)) … … 142 142 (define false 143 143 (abnf:bind 144 ( abnf:consumed-chars->list (lambda x (list #f)))144 (lambda x (list #f)) 145 145 (abnf:lit "false"))) 146 146 147 147 (define null 148 148 (abnf:bind 149 ( abnf:consumed-chars->list (lambda x (list 'null)))149 (lambda x (list 'null)) 150 150 (abnf:lit "null"))) 151 151 152 152 (define true 153 153 (abnf:bind 154 ( abnf:consumed-chars->list (lambda x (list #t)))154 (lambda x (list #t)) 155 155 (abnf:lit "true"))) 156 156 -
release/4/json-abnf/trunk/json-abnf.setup
r25590 r25592 19 19 20 20 ;; Assoc list with properties for your extension: 21 '((version 5. 0)21 '((version 5.1) 22 22 )) 23 23 -
release/4/json-abnf/trunk/tests/run.scm
r25590 r25592 70 70 ,(list->vector (list (list->vector (list '())) "" '())) 71 71 ,(list->vector (list (list->string (list #\newline)) (list->string (list #\@)) "test!")) 72 ,(list->vector (list '(#f) '(#t) '(null)))73 (("str" . "a") ("true" . (#t)) ("false" . (#f)))72 ,(list->vector (list #f #t 'null)) 73 (("str" . "a") ("true" . #t) ("false" . #f)) 74 74 ( 75 75 ("Image" .
Note: See TracChangeset
for help on using the changeset viewer.