2011/11/28 Ivan Raikov <ivan.g.rai...@gmail.com>: > > - due to a limitation in abnf/lexgen-derived parsers, #f cannot be a > value returned by a parser. So the JSON true and false values are > represented by '(#t) and '(#f). >
Can you explain this? I tried my patch with some booleans and it seems to work: (pp (parse-json "{\"pi\":3.14,\"f\":false,\"t\":true,\"n\":null,\"l\":[1,2],\"s\":\"\"}")) ;; => (("pi" . 3.14) ("f" . #f) ("t" . #t) ("n" . null) ("l" . #(1 2)) ("s" . "")) (pp (parse-json "[true]")) ;; => #(#t) _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users