6 ms·
> Would you write your own JSON parser, is it that easy in LISP? I only dally with Lisp(s) but probably not, I'd reach for a library in quicklisp. However, in
by rlonstein 2y ago
> Would you write your own JSON parser, is it that easy in LISP?
I only dally with Lisp(s) but probably not, I'd reach for a library in quicklisp.
However, in Janet (https://janet-lang.org/ https://janet-lang.org/) there's a PEG parser and I wrote a JSON parser for fun in 134 lines that passes most of the test suite by Nicolas Seriot.
So I'd say it's reasonably easy for a better-skilled programmer than I am.