4 ms·
Swi-Prolog includes an http client/server library: https://www.swi-prolog.org/pldoc/doc_for?object=section(%27packages/http.html%27) https://www.swi-prolog.org
by YeGoblynQueenne 7y ago
Swi-Prolog includes an http client/server library:
https://www.swi-prolog.org/pldoc/doc_for?object=section(%27packages/http.html%27) https://www.swi-prolog.org/pldoc/doc_for?object=section(%27p...
And of course, a lot of support for the semantic web:
https://www.swi-prolog.org/web/index.txt https://www.swi-prolog.org/web/index.txt
The entire Swi-Prolog website at https://www.swi-prolog.org/ https://www.swi-prolog.org/ runs on the Swi-Prolog web libraries - they call it "eating your own dog food":
https://www.swi-prolog.org/dogfood.txt https://www.swi-prolog.org/dogfood.txt
- 7thaccount 7y agoThe Perl6 (now Raku) language implementors use that phrase a lot as well. I wonder where it originated.
- mhd 7y agoThere's a decent Wikipedia article about it: https://en.wikipedia.org/wiki/Eating_your_own_dog_food https://en.wikipedia.org/wiki/Eating_your_own_dog_food The first alternative phrase is hilarious to my German ears.
- YeGoblynQueenne 7y agoI'm... not sure I should ask you to explain ~.-
- tom_mellior 7y agoThey might be referring to this: https://en.wiktionary.org/wiki/Natursekt https://en.wiktionary.org/wiki/Natursekt
- mhd 7y agoI was. But thanks for the link, it made me check out the etymology of "Sekt" (sparkling wine) and that was quite surprising.
- zimpenfish 7y agohttps://en.wikipedia.org/wiki/Eating_your_own_dog_food https://en.wikipedia.org/wiki/Eating_your_own_dog_food Seems to be Microsoft internal comms, 1988.
- mark_l_watson 7y agoI used to enjoy hacking with Prolog, and I used Swi-Prolog when experimenting with the semantic web, in the sw’s early days. My only real problem with Prolog is that I have only been paid to use it for one intense six week project and a few one or two day gigs. I compare this to getting lots of work with Common Lisp, Java, Ruby, Haskell, Python, etc. Contact me if you have Prolog work you want done :-) Swi-Prolog really is an amazing ecosystem.
- wtetzner 7y agoSorta weird that the path ends in .txt but the URL returns HTML, even if you use Accept: text/plain Would be nice if it could provide either based on the Accept header.
- simplify 7y agoProlog also has some really impressive debugging tools. It allows you to pause execution, change the code, and then resume execution from an earlier point in time. Michael Hendrick's "Production Prolog" talk gives a demo of this (at 12:17) https://www.youtube.com/watch?v=G_eYTctGZw8 https://www.youtube.com/watch?v=G_eYTctGZw8