3 ms·
How about (creating) a Prolog interpreter which consumes and outputs JSON? Then use #SheBang to make any such prolog-file interpreted by that interpreter to re
by galaxyLogic 3y ago
How about (creating) a Prolog interpreter which consumes and outputs JSON?
Then use #SheBang to make any such prolog-file interpreted by that interpreter to return JSON to the caller. Then it could be integrated to ANY program written in any language which uses the Unix shell-calling conventionss.
- convolvatron 3y agothis is certainly a very useful idea. the Rego datalog language leans on this pretty heavily, although its emphasis is on access policy more than general transforms. ddlog is another datalog variant that supports this, but I believe you need to specify the schema as a rust type
- galaxyLogic 3y agoThanks for the hint. Very interesting https://www.openpolicyagent.org/docs/latest/ https://www.openpolicyagent.org/docs/latest/