Hey Lindsay,
Good thing you're having fun writing useful projects!
I wrote a small parser myself for picolisp so here's a few points for
improvement:
- Data on json.org is not a full spec, I recommend using ECMA404 or
RFC8259, as they specify behaviours way more accurately. For example, I'm
not
024, 11:29 GB wrote:
> Hello everyone,
>
> I had some problems with data representation in builtin json.l and decided
> to write my own little version.
>
> With an exception of not being able to represent a null byte in strings,
> RFC8259 json standard is fully supported.
&
Hello everyone,
I had some problems with data representation in builtin json.l and decided
to write my own little version.
With an exception of not being able to represent a null byte in strings,
RFC8259 json standard is fully supported.
I'm also slowly working on a more strict version of the pa
Hey,
I'm curious myself honestly.
Lists are kind of a virtual type, it's just a bunch of cons cells in a
sequencial pattern.
I think you'd need to write your own function that walks the list to see if
its proper or improper (ends with non-nil).
Best regards,
Geri
On Wed, Feb 12, 2025, 08:28 Li