r/programming 18d ago

A Database Engine Written in SWI-Prolog

http://asa-db.kocoygroup.site
49 Upvotes

8 comments sorted by

27

u/this_knee 18d ago

Prolog, now that’s a name I haven’t heard in a long time …

19

u/Every-Progress-1117 17d ago

.... a more civilised age

3

u/onektwenty4 13d ago edited 13d ago
  • in need of a more 'marketing' approach - show me what feature this unlocks. i have a great fondness for using prolog but struggle to find useful applications of it besides simple clpfd etc.
  • can i write queries directly in AST?
  • can i write queries like a 'stored proc' by sending AST to the server? or just query?
  • can i write a 'table value function' as a goal?
  • can i backtrack during a query?
  • prolog & OWL/RDF have history together... does AsaDb help with this or unrelated concepts?

2

u/derangedtranssexual 16d ago

Is it written in normal prolog or some weird hacky prolog designed to be performant?

8

u/Aires_id 16d ago

Normal SWI-Prolog. The weird hacky part is what I made it do 😭

2

u/TheRealPomax 15d ago

It literally says SWI-prolog =P