I just spent ten minutes looking through the repo. I like how the query language is similar enough to Datomic’s to have an easy learning curve. I wish I could push a magic button and have this in Common Lisp (where I usually just use SQLite as an easy to use data store).
An idea that pops up more and more often in my head is to create a SQLite wrapper library that basically treats SQLite like Datalog.
I know way too little about Datalog, but it goes something like this:
1. create helper functions to create/alter/drop tables.
2. create helper functions for insert/select/update/delete queries, etc. Probably with the same syntax as in Datomic / Asami / etc.
3. each table its name would be a Datalog "attribute", and would have 2 columns: the "id" and the "value". "id" would be indexed, "value" would be a value or a foreign key to another table.
I guess writes would be slow if everything you insert into the DB is indexed, not sure what the other downsides would be.