Fork me on GitHub
#pathom
<
2023-03-29
>
Joel17:03:45

I was curious if anyone considered how to integrate pathom with a rules engine. I was looking at O’Doyles rules which uses EAV triplets to describe the rules (https://github.com/oakes/odoyle-rules). This reminds me of the pathom-datomic integration. However, what I think would be clever if possible, is to be able to read the LHS (left-hand-side) of the rules and figure out the appropriate pathom pco/input for the rule (and output from RHS). Maybe this is quite problematic though, as pathom wants to return structured data versus the EAV format that O’Doyle (or similar rules engines) use. Using something like Clara I suppose would be more closely related, but then parsing those rules possibly more problematic.