copl-in-prolog
prolord
copl-in-prolog | prolord | |
---|---|---|
1 | 1 | |
1 | 0 | |
- | - | |
2.6 | 10.0 | |
about 2 years ago | over 3 years ago | |
Prolog | Prolog | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
copl-in-prolog
prolord
-
Ask HN: What are some interesting examples of Prolog?
Not sure if you'd consider this a "complete application" that is bigger than a "Hello-World-esque example" but I've worked on a Discord bot in SWI Prolog[1] for a while with a friend. It was an interesting experience and although a lot of the work (e.g. SWI has a ready-made library for interfacing with WebSockets and sending out HTTPS requests).
Some interesting applications of Prolog specifically include using predicates to filter messages by certain criteria (e.g. if it was sent by the bot's account or not), being able to hot-reload by invoking the make/0 predicate, and homoiconicity to (in theory) easily evaluate random code supplied by a user.
[1]: https://github.com/prolord-pl/prolord
What are some alternatives?
souffle - Soufflé is a variant of Datalog for tool designers crafting analyses in Horn clauses. Soufflé synthesizes a native parallel C++ program from a logic specification.
regexc - A regular expression compiler written in Prolog
the-constitution-of-japan
brainfuck-pl - A brainf*ck interpreter in Prolog
simpletapl
Alpino - Alpino parser and related tools for Dutch
precautionary - Patient-centered safety diagnostics for oncology dose-escalation trials, examining design safety in light of inter-individual variation in PKPD.
guanxi - Relational programming in Haskell. Mostly developed on twitch.
mine-prolog-tba - A small text-based adventure game developed in prolog.
OPA (Open Policy Agent) - Open Policy Agent (OPA) is an open source, general-purpose policy engine.