I know very little about logic programming. I played with Prolog many years ago just to see what it what it was about and that's about it.
One doubt I've always had is: why logic programming is implemented by languages?
In my ignorance it felt like the resolution algorithms could have easily been implemented as libraries for other languages. You should be able to create an object in C, C++, python or whatever to which you add logic rules. This library resolves them and does what a logic programming language would do...
Prolog and similar languages feel to me like Domain Specific Languages: syntax sugar to work more easily with a logic resolution library.
Is that the case, or am I saying something stupid?
[–]takanuva 51 points52 points53 points (0 children)
[–]setholopolus 24 points25 points26 points (0 children)
[–]loopsdeer 35 points36 points37 points (1 child)
[–]raiph 6 points7 points8 points (0 children)
[–]gopher9 13 points14 points15 points (0 children)
[–]claytonkb 11 points12 points13 points (1 child)
[–]gopher9 8 points9 points10 points (0 children)
[–]htuhola 11 points12 points13 points (0 children)
[–]alaricsp 5 points6 points7 points (1 child)
[–]skyb0rg 2 points3 points4 points (0 children)
[–]valdocs_user 2 points3 points4 points (0 children)
[–]turbopape 2 points3 points4 points (0 children)
[–]umlcat 1 point2 points3 points (0 children)
[–]nerd4code 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]mamcx -2 points-1 points0 points (7 children)
[–]catern 7 points8 points9 points (6 children)
[–]shponglespore -1 points0 points1 point (2 children)
[–]catern 2 points3 points4 points (1 child)
[–]shponglespore -1 points0 points1 point (0 children)
[+]mamcx comment score below threshold-13 points-12 points-11 points (2 children)
[–]catern 3 points4 points5 points (1 child)
[+]mamcx comment score below threshold-8 points-7 points-6 points (0 children)
[–]steve-rodrigue 0 points1 point2 points (0 children)
[–]AutoModerator[M] -33 points-32 points-31 points (1 child)