SaaSHub helps you find the best software and product alternatives Learn more β
The-power-of-prolog Alternatives
Similar projects and alternatives to the-power-of-prolog
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
chalk
An implementation and definition of the Rust trait system using a PROLOG-like logic solver (by rust-lang)
-
pyswip
PySwip is a Python - SWI-Prolog bridge enabling to query SWI-Prolog in your Python programs. It features an (incomplete) SWI-Prolog foreign language interface, a utility class that makes it easy querying with Prolog and also a Pythonic interface.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
the-power-of-prolog reviews and mentions
- The Power of Prolog
- Advent of Code 2023 is nigh
-
Using Prolog in Windows NT Network Configuration (1996)
Prolog is excellent for bikeshedding, in fact that might be its strongest axis. It starts with everything you get in a normal language such as naming things, indentation, functional purity vs side effects, where to break code into different files and builds on that with having your names try to make sense in declarative, relational, logical and imperative contexts, having your predicates (functions) usable in all modes - and then performant in all modes - having your code be deterministic, and then deterministic in all modes. Being 50 years old there are five decades of learning "idiomatic Prolog" ideas to choose from, and five decades of footguns pointing at your two feet; it has tabling, label(l)ing, SLD and SLG resolution to choose from. Built in constraint solvers are excellent at tempting you into thinking your problem will be well solved by the constraint solvers (it won't be, you idiot, why did you think that was a constraint problem?), two different kinds of arithmetic - one which works but is bad and one which mostly works on integers but clashes with the Prolog solver - and enough metaprogramming that you can build castles in the sky which are very hard to debug instead of real castles. But wait, there's more! Declarative context grammars let you add the fun of left-recursive parsing problems to all your tasks, while attributed variables allow the Prolog engine to break your code behind the scenes in new and interesting ways, plenty of special syntax not to be sneezed at (-->; [_|[]] {}\[]>>() \X^+() =.. #<==> atchoo (bless you)), a delightful deep-rooted schism between text as linked lists of character codes or text as linked lists of character atoms, and always the ISO-Standard-Sword of Damocles hanging over your head as you look at the vast array of slightly-incompatible implementations with no widely accepted CPython-like-dominant-default.
Somewhere hiding in there is a language with enough flexibility and metaprogramming to let your meat brain stretch as far as you want, enough cyborg attachments to augment you beyond plain human, enough spells and rituals to conjour tentacled seamonsters with excellent logic ability from the cold Atlantic deeps to intimidate your problem into submission.
Which you, dear programmer, can learn to wield up to the advanced level of a toddler in a machine shop in a mere couple of handfuls of long years! Expertise may take a few lifetimes longer - in the meantime have you noticed your code isn't pure, doesn't work in all modes, isn't performant in several modes, isn't using the preferred idiom style, is non-deterministic, can't be used to generate as well as test, falls into a left-recursive endless search after the first result, isn't compatible with other Prolog Systems, and your predicates are poorly named and you use the builtin database which is temptingly convenient but absolutely verboten? Plenty for you to be getting on with, back to the drawing boar...bikeshed with you.
And, cut! No, don't cut; OK, green cuts but not red cuts and I hope you aren't colourblind. Next up, coroutines, freeze, PEngines, and the second 90%.
Visit https://www.metalevel.at/prolog and marvel as a master deftly disecting problems, in the same way you marvel at Peter Norvig's Pytudes https://github.com/norvig/pytudes , and sob as the wonders turn to clay in your ordinary hands. Luckily it has a squeaky little brute force searcher, dutifully headbutting every wall as it explores all the corners of your problem on its eventual way to an answer, which you can always rely on. And with that it's almost like any other high level mostly-interpreted dynamic programming / scripting language.
-
ELI5 the difference between logic, machine learning, and artificial intelligence?
There is also AI that isn't machine learning. One could use formal logic to state rules and facts about the world and infer things from that. This sounds attractive but the main issue is that you need to build and maintain all of this knowledge. Most oldschool AI falls into this category. There's also fun programming languages like Prolog that are deep into this school: https://www.metalevel.at/prolog
-
Why did Prolog lose steam? (2010)
There's a nice book[1][2] about Prolog, with modern characteristics. Moreover, there are things like ProbLog[3] and DeepProbLog[4] that allow you to use probabilistic reasoning and power of machine learning. I am personally looking forward for Scryer Prolog[5] to achieve its goals.
[1] https://www.metalevel.at/prolog
[2] https://github.com/triska/the-power-of-prolog
[3] https://github.com/ML-KULeuven/problog
[4] https://github.com/ML-KULeuven/deepproblog
[5] https://github.com/mthom/scryer-prolog
-
`tar` creator/extractor in ~100 lines of Prolog
I had the same troubles until I encountered Markus Triska's modern perspective on revitalizing Prolog: https://www.metalevel.at/prolog.
-
Prolog at Work
The Power of Prolog [0] is a fantastic blog/video series covering everything from basic syntax, theoretical basis, modern features and idiomatic constructs.
I highly recommend it if you want to get the gist of Prolog and its modern features.
If you want a tour of Prolog, you can watch the video with that name [1].
[0]: https://www.metalevel.at/prolog
[1]: https://youtu.be/8XUutFBbUrg
-
Aspects of Production/Professional Prolog
I've gone through The Art of Prolog, most of The Power of Prolog, and a good chunk of the P-99 problems, and I have to say I'm simultaneously fascinated by and sceptical of Prolog. For some problem domains, implicit search is a very desirable property, and I can definitely see Prolog shining in that case. There are also many desirable properties and possibilities that are often reiterated, but concrete examples of how they would work are often missing. It comes down to: how does "production Prolog" look? A talk on Strange Loop by Michael Hendricks on exactly that topic was really helpful (especially w.r.t. some useful tools and libraries: func and yall are really great, and I still need to check mavis), but it still leaves me wondering on a couple of things.
-
How to best approach learning prolog?
Pretty much every Prolog book is quite good, but if you have the money or a local library with a copy, I really like Programming in Prolog by Clocksin, or Art of Prolog by Stering and Shapiro. If you want to follow a web resource, the standard suggestion is Markus Triska's The Power of Prolog.
- Prologηει (The Power of Prolog)
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
Stats
The primary programming language of the-power-of-prolog is HTML.
Popular Comparisons
- the-power-of-prolog VS pyswip
- the-power-of-prolog VS swipl-wasm
- the-power-of-prolog VS guile-log
- the-power-of-prolog VS erlog
- the-power-of-prolog VS logtalk3
- the-power-of-prolog VS swipl-devel
- the-power-of-prolog VS kino_aoc
- the-power-of-prolog VS discussion
- the-power-of-prolog VS racket
- the-power-of-prolog VS tau-prolog
Sponsored