Email list hosting service & mailing list manager

[pre-SRFI] JSON Amirouche Boubekki (01 Jan 2020 14:04 UTC)
Re: [pre-SRFI] JSON Amirouche Boubekki (01 Jan 2020 21:11 UTC)
Re: [pre-SRFI] JSON Lassi Kortela (02 Jan 2020 10:46 UTC)
Re: [pre-SRFI] JSON Amirouche Boubekki (02 Jan 2020 12:07 UTC)
Re: [pre-SRFI] JSON Duy Nguyen (02 Jan 2020 09:13 UTC)
Re: [pre-SRFI] JSON Lassi Kortela (02 Jan 2020 10:03 UTC)
Re: [pre-SRFI] JSON Amirouche Boubekki (02 Jan 2020 12:23 UTC)
Re: [pre-SRFI] JSON Amirouche Boubekki (02 Jan 2020 22:05 UTC)
Re: [pre-SRFI] JSON Duy Nguyen (06 Jan 2020 01:20 UTC)

[pre-SRFI] JSON Amirouche Boubekki 01 Jan 2020 14:03 UTC
Hello schemers!

You can find the code and early draft specification at
https://github.com/amirouche/SRFI-JSON

In particular, I am wondering if I should rely on generators, instead
of a callback in the spirit of for-each.

The stream parser is not coded yet.

I would prefer to provide a JSON stream parser instead of exposing
somehow some thing that will allow to customize how JSON arrays and
JSON objects are translated into Scheme (possibly records) that will
enable to build more features on top of the SRFI.

Can you recommend an existing JSON parser that work with streams of
event ala SAX?

You will find attached to this email the currently passing / failing
tests.  Many utf8 related tests that are not specified are skipped and
do not appear in the listing.  Those tests are based on
https://github.com/nst/JSONTestSuite/

Lassi did a very great job with SRFI-175.  Many thanks!  I hope to
make this SRFI as portable as possible.

Also see https://github.com/lassik/pre-srfi/blob/master/json.adoc

Cheers and happy new year!

--
Amirouche ~ https://hyper.dev