News for hackers. Stuff that matters.
Re:Prolog Web Applications (2016) by EamonnMR on Monday June 22, 2020 @08:51PM (#23608817)
Is there a decent prolog/SQL bridge? Being able to write applications and queries using SQLite or Postgres database as the fact set for prolog would be very nice.
Re:Prolog Web Applications (2016) by esfandia on Monday June 22, 2020 @10:15PM (#23609280)
Wouldn't datalog be more suitable than SQL in this case? And in case the DB you want to query offers SQL only, I imagine there are datalog-SQL bridges available somewhere.
Re:Prolog Web Applications (2016) by cjallen88 on Tuesday June 23, 2020 @12:02PM (#23615740)
Re:Prolog Web Applications (2016) by EamonnMR on Tuesday June 23, 2020 @02:07PM (#23617825)
Thanks, I'll check that out.
Re:Prolog Web Applications (2016) by Avshalom on Monday June 22, 2020 @10:28PM (#23609362)
swi has https://www.swi-prolog.org/pldoc/doc_for?object=section(%27p... and there's some more stuff on https://www.swi-prolog.org/pack/list I don't know how great any of them are.
Re:Prolog Web Applications (2016) by diminish on Tuesday June 23, 2020 @05:15AM (#23611557)
Is there an MVC type of model layer available for prolog?
Re:Prolog Web Applications (2016) by EamonnMR on Tuesday June 23, 2020 @02:06PM (#23617804)
I would even settle for embedded prolog the same way you can embed SQL. Well I'd prefer the Python connectors to be less compiled.