cozodb / cozo

A transactional, relational-graph-vector database that uses Datalog for query. The hippocampus for AI!
https://cozodb.org
Mozilla Public License 2.0
3.44k stars 108 forks source link

Expose AST in Rust library #282

Closed andrewbaxter closed 1 month ago

andrewbaxter commented 1 month ago

Fixes #224

Some of the interfaces are a bit raw, and while it seemed pretty clean to me some of the stuff that's exposed (FixedRule traits) could be considered internal, so I explicitly documented cozo::parse and the parse_script methods as unstable to warn users that they might change in any future release.

Design notes and concerns