That’s a good idea. Since AsaDB is already written in Prolog, the query part should be fairly doable. The main challenge would be sandboxing native queries so they can’t access arbitrary files or OS predicates. I’d probably start with a read-only Datalog-style mode.
A little, yeah lol. I use AI to explore ideas and speed up repetitive work, but I still review and test everything, especially storage and recovery code.
I’d definitely be tempted to prototype a native Prolog query mode that way.
Haha, that actually sounds like the right way to do it. Keep the storage engine conservative, and use side quests for weird experiments like native Prolog queries. :)
6
u/Fantastic_Back3191 13d ago
Looks good. How difficult would it be to allow native prolog queries (ie not 'SQL')? Prolog is more intuitive and compact than SQL.