JSON for MzScheme, and a Portable Packrat Parsing Combinator library
This page is a mirrored copy of an article originally posted on the (now sadly defunct) LShift blog; see the archive index here.
Mon, 22 August 2005
I’ve taken my Scheme Packrat Parser library, ported it to MzScheme, documented it, and implemented a JSON reader-writer library on top of it.
The code is all available under the MIT license. A darcs repository is available at http://www.eighty-twenty.org/~tonyg/Darcs/json-scheme/, or you can grab a snapshot tarball including a PDF version of the documentation.
$ darcs get http://www.eighty-twenty.org/~tonyg/Darcs/json-scheme/
I’ve been using this parser with arc. Many thanks!
http://arclanguage.org/item?id=10796
http://github.com/nex3/arc/tree/cadf38b81fb14e8f0b1598b9c088eadb8ab8f400