TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Scryer Prolog

109 pointsby aarroyocover 2 years ago

7 comments

triskaover 2 years ago
Scryer Prolog was most recently discussed here in October 2021:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28966133" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28966133</a><p>Since then, a great number of improvements have become available, among them:<p>The system is now much faster, thanks to a much more compact internal representation of WAM heap cells. In addition, goals that occur as arguments of meta-predicates are now automatically compiled much more efficiently, avoiding superfluous lookups at runtime. Also, Adrían Arroyo Calle has contributed new and much improved HTTP server and client libraries, based on the Rust crate &quot;hyper&quot;.<p>Scryer Prolog 0.9.1 and later versions ship with all these improvements and several smaller corrections and additional features.<p>Adrían also built the documentation system DocLog that he uses to generate this nice home page of the project:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;aarroyoc&#x2F;doclog">https:&#x2F;&#x2F;github.com&#x2F;aarroyoc&#x2F;doclog</a><p>DocLog uses Djota, a Prolog implementation of the markup language Djot:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;aarroyoc&#x2F;djota">https:&#x2F;&#x2F;github.com&#x2F;aarroyoc&#x2F;djota</a><p>Such systems show that nice applications can already be built with Scryer Prolog and its innovations.<p>Thank you a lot to Mark and everyone who contributed to Scryer Prolog, please keep up the great work!
评论 #34657294 未加载
srikuover 2 years ago
SWIProlog[1] has so far been my go to due to the extensive support system it has. However, I&#x27;ve been meaning to explore higher order logic a bit and Ciao[2] caught my attention there, with sugar for function-like notation and higher order programming including &quot;lambda&quot; style predicate expressions .... and it compiles down to executable. The function notation in this context is along the same lines as Mozart&#x2F;Oz and can be convenient. Not explore the higher order aspects much though.<p>[1]: <a href="https:&#x2F;&#x2F;www.swi-prolog.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.swi-prolog.org&#x2F;</a><p>[2]: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ciao_(programming_language)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Ciao_(programming_language)</a>
评论 #34654952 未加载
mark_l_watsonover 2 years ago
I work with Mark Thom, a Scryer Prolog developer. That said I have used Swi-Prolog for 20 years so it may be a while before switching.<p>Coincidentally I just started re-reading The Art of Prolog yesterday. It is an old book, but good. For some types of applications, Prolog is pretty much amazing.<p>EDIT: nice documentation pages, BTW.
评论 #34657754 未加载
评论 #34657761 未加载
tannhaeuserover 2 years ago
Nit: a page advertising ISO Prolog shouldn&#x27;t start with non-ISO builtins such as append&#x2F;3 however widespread append or the belief it&#x27;s in ISO may be. Here&#x27;s a variant using atom_concat&#x2F;3 which is actually defined by ISO:<p><pre><code> ?- atom_concat(&#x27;Hello, &#x27;, X, &#x27;Hello, ISO Prolog!&#x27;) </code></pre> You can paste that Prolog code into eg [1] and other sites for execution in the browser btw.<p>[1]: <a href="https:&#x2F;&#x2F;quantumprolog.sgml.io&#x2F;browser-demo&#x2F;browser-demo.html" rel="nofollow">https:&#x2F;&#x2F;quantumprolog.sgml.io&#x2F;browser-demo&#x2F;browser-demo.html</a>
评论 #34655521 未加载
评论 #34662953 未加载
joeatworkover 2 years ago
Hey,folks who are working with Prolog - what sort of work are you doing?
评论 #34655964 未加载
评论 #34660433 未加载
评论 #34655109 未加载
Avshalomover 2 years ago
Nice, this project has been sorely missing some documentation.
eddsh1994over 2 years ago
Are there any nice temporal logic libraries?