Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/kleene

crates/kleene-datalog-macros/README.md

kleene-datalog-macros

The datalog! macro of kleene-datalog: Datalog rules written as text in Rust, such as reach(G) :- reach(F), calls(F, G)., turned at build time into the calls of kleene-datalog's typed builder. There is no parser at run time; a wrong arity, an unknown relation or malformed text is a compile error at the token.

Use it through kleene-datalog (kleene_datalog::datalog!), whose documentation holds the grammar and the examples. Part of kleene.

Licence

MIT or Apache-2.0, at your option.