Re: Including sjson (formerly (ice-9 json)) and fash.scm in guile proper?

2017-06-22 Thread Christopher Allan Webber
Mark H Weaver writes: > Hi Chris, > > I'm terribly sorry for the long delay on this. For better or worse, > I've become extremely concerned about computer security, and so I feel a > heavy responsibility to be extra careful about code that is expected to > parse hostile data. No worries. I also

Re: Including sjson (formerly (ice-9 json)) and fash.scm in guile proper?

2017-06-20 Thread Mark H Weaver
I wrote: > and real numbers cannot simply be printed using 'display' because of > infinities and NaNs. ... and exact rationals. Mark

Re: Including sjson (formerly (ice-9 json)) and fash.scm in guile proper?

2017-06-20 Thread Mark H Weaver
I wrote: > I was also looking for a cleaner way to express this parser, and to add > better error reporting, while allowing flexibility for users to > customize the Scheme representation. I forgot to mention that another goal was to minimize heap allocations, e.g. eliminating the allocation of in

Re: Including sjson (formerly (ice-9 json)) and fash.scm in guile proper?

2017-06-20 Thread Mark H Weaver
Hi Chris, I'm terribly sorry for the long delay on this. For better or worse, I've become extremely concerned about computer security, and so I feel a heavy responsibility to be extra careful about code that is expected to parse hostile data. I was also looking for a cleaner way to express this

Re: Including sjson (formerly (ice-9 json)) and fash.scm in guile proper?

2017-06-03 Thread Ludovic Courtès
Hello! (A bit late, but hey!) Christopher Allan Webber skribis: > So: > - Are Guile's developers open to having an (ice-9 fash) module? > - And should I submit (ice-9 json), with my changes? FWIW I’m definitely in favor of (ice-9 json), especially if the #nil hack has disappeared. :-) I’m

Re: Including sjson (formerly (ice-9 json)) and fash.scm in guile proper?

2017-05-15 Thread Christopher Allan Webber
Mark H Weaver writes: > I wrote: >> Most of the modifications you've made are good, but I'm very >> uncomfortable with the use of #nil in this API. [...] > > Christopher Allan Webber writes: >> Oh! No you got it backwards, the library *was* using #nil initially, >> and I modified it to use 'nul

Re: Including sjson (formerly (ice-9 json)) and fash.scm in guile proper?

2017-05-15 Thread Mark H Weaver
I wrote: > Most of the modifications you've made are good, but I'm very > uncomfortable with the use of #nil in this API. [...] Christopher Allan Webber writes: > Oh! No you got it backwards, the library *was* using #nil initially, > and I modified it to use 'null now instead. :) Ah, my mistak

Re: Including sjson (formerly (ice-9 json)) and fash.scm in guile proper?

2017-05-13 Thread Christopher Allan Webber
Mark H Weaver writes: > Hi Chris, > > Christopher Allan Webber writes: >> So a while ago, David Thompson submitted (ice-9 json) to Guile proper. >> A few changes were requested, so it hadn't made it in. In the meanwhile >> I began using it for a number of projects. I also added some >> modifica

Re: Including sjson (formerly (ice-9 json)) and fash.scm in guile proper?

2017-05-12 Thread Mark H Weaver
Hi Chris, Christopher Allan Webber writes: > So a while ago, David Thompson submitted (ice-9 json) to Guile proper. > A few changes were requested, so it hadn't made it in. In the meanwhile > I began using it for a number of projects. I also added some > modifications and extensions: #nil becam

Including sjson (formerly (ice-9 json)) and fash.scm in guile proper?

2017-05-08 Thread Christopher Allan Webber
Hello! So a while ago, David Thompson submitted (ice-9 json) to Guile proper. A few changes were requested, so it hadn't made it in. In the meanwhile I began using it for a number of projects. I also added some modifications and extensions: #nil became 'null for the representation of null values