News for hackers. Stuff that matters.
Re:JsonLogic by TeMPOraL on Thursday May 27, 2021 @02:51PM (#27306663)
It's called, "use a Lisp, dammit!".

Seriously. There are Lisp languages that could replace whatever language you're using, and, there are also Lisp languages/runtimes that you could embed in whatever language you're using, to avoid rewriting it from scratch like this.

Re:JsonLogic by skybrian on Thursday May 27, 2021 @05:12PM (#27308616)
Which lisp though? There are still too many choices.

The fact that people say "use a lisp" instead of "use Lisp X like everyone else" should tell you something.

It's like the difference between "use SQL" and "use SQLite" or "use Postgres."

Re:JsonLogic by TeMPOraL on Thursday May 27, 2021 @05:45PM (#27308944)
> Which lisp though?

Whichever works best for your particular constraints.

> It's like the difference between "use SQL" and "use SQLite" or "use Postgres."

Precisely! "Use Postgres" is a valid answer to the question, "which database should I use?", or "which relational database should I use?". And "use SQL" is a valid recommendation when you see someone reinventing relational data model and reimplementing a relational database without realizing it.

Similarly, "use a Lisp" is a valid recommendation when you see someone reinventing programming using trees from first principles - of which a telltale sign is reinventing s-expressions.

Re:JsonLogic by skybrian on Thursday May 27, 2021 @07:53PM (#27310091)
Which Lisp would you recommend for a config file that has a few business rules in it, when the rest of the system isn’t written in Lisp?
Re:JsonLogic by mixedCase on Thursday May 27, 2021 @09:41PM (#27310838)
Not that poster, but Scheme.

Chez Scheme can be embedded with a C API, is Apache licensed, and crazy fast.