[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] json-abnf fails to parse booleans
From: |
Ivan Raikov |
Subject: |
Re: [Chicken-users] json-abnf fails to parse booleans |
Date: |
Mon, 28 Nov 2011 17:53:01 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Hello,
Thank you for your bug report, and for your efforts to harmonize the
different JSON implementations. I have made the changes you suggest,
except for the following:
- 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).
- I prefer to use the Chicken module system to handle namespace issues,
so that instead of renaming the parser procedure, I would import it as
(import (prefix json-abnf: json-abnf)). So I have not changed the name
of the procedure exported by json-abnf.
I have implemented the rest of your suggestions, added or modified the
corresponding unit tests, and made a new release of json-abnf. Thanks
again for your efforts.
-Ivan