Heh. I did indeed write it as my first project with LEPL (I've
actually
only done two, but I don't have parsing problems very often). I did it
because I couldn't find a JSON parser online, and not because I needed
a JSON parser, but because JSON is now a "Hello, World" of parsing,
because of the simple grammar, even more simple than a mathematical
evaluator with precedence climbing. So, to me, the simplejson module
isn't the point, it's the obvious solution, but writing a simple JSON
parser is a good test of LEPL's versatility and conciseness.
Even now I have trouble understanding what I wrote, it certainly needs
some documentation explaining the differences between ">" and ">>" and
why one is used in this situation over the other. I remember it being
mostly trial and error, as, no offense Andrew, the docs didn't explain
that very well, and I don't think they still do.
I guess I'll have to go back and look at what other stuff changed,
like
the semantics of "/", "&" and "+". And now there's that DroppedSpace
thing.
As an aside, my colleagues and I have discussed Python and the MPL.
MPL
uses a basis of "modifications", to determine whether code should be
open.
With Python, and mutable code and modules, you can circumvent the MPL
using those strategies. I use MPL for all my projects, and request
that
somebody contact me for more lenient terms. I think that somebody who
is coding based on my library's legal status and not its functionality
isn't worth bothering with, and neither is their code.
On May 6, 9:43 pm, andrew cooke <
and...@acooke.org> wrote:
> Actually, that looks like I wrote it! (I realise I didn't, but it's very like
> my style).
>
> Is that all that's necessary for JSON? Is it your code? If so, can you
> confirm that the statements here are true -
http://elinux.org/Developer_Certificate_Of_Origin- where the licences are
> described here -
http://www.acooke.org/lepl/licence.html