|
|
|
|
|
by upghost
610 days ago
|
|
I sympathize. I nearly dropped Prolog for this reason until I learned about term_expansion/2 and goal_expansion/2. If what Prolog is doing you consider incorrect, _make it_ incorrect. DCGs can be used to convert any data structure to a sequence. Actually, they are capable of any graph to graph , so they could produce a sequence of commands. The oft-cited Markus Triska has some great work on this: https://youtu.be/vdabv9EkYrY?feature=shared
https://www.metalevel.at/zurg/
You can also use Prolog as a coordinator on external systems.See https://github.com/mthom/scryer-prolog/blob/master/src/lib/p... |
|
SICStus, GNU Prolog, XSB, Ciao, Scryer, Traella, Tau but does not mention at all of SWI-Prolog. I remember using SWI-Prolog back in the day, did it somehow fall out favor, or is there some animosity between implementation and Markus is just not in the SWI-Prolog camp?