3 ms·
Prolog appeals to me a lot. In my company we work a lot from written requirements (if X does this, then Y needs to be that). I feel Prolog could fit well with
by spaetzleesser 5y ago
Prolog appeals to me a lot. In my company we work a lot from written requirements (if X does this, then Y needs to be that). I feel Prolog could fit well with this.
- tlack 5y agoThis is exactly what we are using it for on classic.com. Except the rules come from a CMS. Code size dropped 80% going from Python manually written evaluator to Prolog. Give it a shot!
- jslaby 5y agoProlog matches up really well with AI, it just needs the killer library/tools
- OJFord 5y agoI really don't understand how/why Prolog (or something Prologesque) isn't more popular and easy to use (extremely linked of course) especially embedded within other languages/frameworks. It was amazing to me ('mind-expanding' indeed) at university but didn't seem practical then nor now. The closest I can think of that has solid usage is Terraform (or HCL, but mostly as incarnated in tf). Having studied a course with Prolog certainly gave me a grip on (and liking of) Terraform early on in my encounter with it, and people's struggle with it often seems to come from procedural vs. declarative. Oh and VHDL/Verilog of course. But I've written all that now so I'll leave it! (And they're more outside the sphere of those to whom Prolog could be of benefit, as I see it.)
- segmondy 5y agoThen use it, it's easy to interoperate with SWIProlog, you can even have it as serve up a RESTful API.
- simplify 5y agoYour intuition is correct. We're working on a project where 3rd party developers will write their logic in Prolog, which is a boon for both security and ease-of-writing. Here's a good video explaining some of this, as well as a nice introduction to the language & and how you can use it in your own projects: https://twitter.com/ThePrologClause/status/1500642533940023302 https://twitter.com/ThePrologClause/status/15006425339400233...