by triska on 3/30/24, 9:36 AM with 77 comments
by mark_l_watson on 3/30/24, 12:51 PM
I had one experience with Prolog in the 1980s that blew my mind. I had an IR&D project to build a complete prototype of an air/land battle simulator (yes, I was a defense contractor back then) in Common Lisp given 6 weeks of coverage to write it and demo it. After a month I was satisfied with the functionality and after demoing it I asked permission to rewrite it in ExperProlog on the Mac (I had done the Common Lisp version in my Xerox 1108 Lisp Machine). In ten days time it was done, and also had nice graphics and UI extensions that the Common Lisp version did not have. Anyway, except for few small open source things, that was the only large project I ever did in Prolog.
by steinuil on 3/30/24, 10:59 AM
by larodi on 3/30/24, 12:25 PM
Hope to see this develop even further, as Prolog has its place with relational databases.
by joeatwork on 3/30/24, 10:41 AM
by AceJohnny2 on 3/30/24, 7:21 PM
https://gerrit-review.googlesource.com/Documentation/prolog-...
Prolog was introduced in 2.2.2 (2012), and deprecated in 3.6 (2022)
by p4bl0 on 3/30/24, 10:37 AM
by madsbuch on 3/30/24, 1:42 PM
How cool would be be, if all relations in a Postgres database would be lifted into the scope of a prolog process to work directly on the relations.
by west0n on 3/30/24, 3:45 PM
by ekoontz on 3/30/24, 2:42 PM
by ainar-g on 3/30/24, 10:34 AM
Unfortunately, searches for “PostgreSQL Tutorial D” don't issue useful results for obvious reasons.
[1]: https://www.dcs.warwick.ac.uk/~hugh/TTM/index.html
[2]: https://www.postgresql.org/docs/current/sql-createtype.html
by nextaccountic on 3/30/24, 10:26 AM
I mean, can those prolog stored procedures use the db as a source of facts for prolog, or otherwise write queries?
by ilaksh on 3/30/24, 12:38 PM
JSONB, HSTORE, LTREE, Full Text Search, Logical Replication, Range Types, BRIN Indexes, GIN Indexes, GiST Indexes, SP-GiST Indexes, Table Inheritance, Foreign Data Wrappers, XML Support, UUID-OSSP, pg_trgm, Cube, Earthdistance, pg_prolog, pg_partman, pgvector, TimescaleDB, PostGIS, Citus, pg_cron, BDR (Bi-Directional Replication), PL/Python, PL/Java, PL/V8, pg_stat_statements, pg_prewarm, pg_hint_plan, pg_repack, pgAudit, pgRouting, Multicorn (FDW), HypoPG, pg_squeeze, pglogical, Postgres-XL, Wal2json