5 ms·
You mean datalog? (You don't need to be recursion free. Just restrict your recursion very carefully.)
by eru 11y ago
You mean datalog?
(You don't need to be recursion free. Just restrict your recursion very carefully.)
- catnaroek 11y agoIt was intended to be a slightly snarky remark: “Oh, you tell me you implemented a subset of what Prolog can already do out of the box?” But apparently, it wasn't interpreted by others as such. :-|
- eru 11y agoOh, restriction to a carefully chosen subset can be a feature all by itself. Eg for data interchange compare json vs evaluating any random javascript expression. The latter is strictly more powerful than the former. The former is better. Or an example in the other direction: imagine Haskell-Prime, like Haskell, but you can mutate every variable. Strictly more powerful, but awful. (Or imagine adding GOTO to your favourite programming language.)