Playground

Interactive engine

Declare a domain, write a Datalog policy, feed runtime facts, and query — running on the real maelys_datalog kernel compiled to WebAssembly.

loading engine
examples
1domainname/arity kind
2policy.dlDatalog rules
3edb.dlruntime facts
4queriespred("arg")
results
Run solve() to evaluate your queries.
predicatevariable (Uppercase)"symbol"edb · idb · query% comment·rules end with .·facts of arity 1 or 2