4 ms·
Well JsonLogic is basically Lisp expressions in Json syntax which is kind of the worst of both worlds IMHO. It seems weird to me to pass a syntax tree over the
by goto11 5y ago
Well JsonLogic is basically Lisp expressions in Json syntax which is kind of the worst of both worlds IMHO.
It seems weird to me to pass a syntax tree over the network rather than just the syntax. But if the expression is not supposed to be viewed or edited as code at all, but only in some kind of GUI expression builder, then it might make sense.
Lisp is at least human-writable, but if it is supposed to be written by humans why not just use straightforward expression syntax like "a + b".