TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Picat 3.0 released (logic-based multi-paradigm programming language)

140 点作者 callmekit超过 4 年前

9 条评论

rurban超过 4 年前
I use it to reverse engineer the DWG format as described here: <a href="https:&#x2F;&#x2F;savannah.gnu.org&#x2F;forum&#x2F;forum.php?forum_id=9203" rel="nofollow">https:&#x2F;&#x2F;savannah.gnu.org&#x2F;forum&#x2F;forum.php?forum_id=9203</a><p>It&#x27;s perfect to declare the known facts, and let it find the best possible answers automatically. Not as strict as with prolog, but with loops. Much easier to work with and extremely fast. I create the facts automatically.
评论 #24611039 未加载
mncharity超过 4 年前
PySwip[1] makes SWI Prolog more accessible, by allowing much of a system to be written in more familiar python. Something analogous for Picat might be interesting, but seemingly stumbles a bit on lack of dynamic predicates.[2][3]<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;yuce&#x2F;pyswip" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yuce&#x2F;pyswip</a> [2] <a href="http:&#x2F;&#x2F;picat-lang.org&#x2F;download&#x2F;picat_compared_to_prolog_haskell_python.html" rel="nofollow">http:&#x2F;&#x2F;picat-lang.org&#x2F;download&#x2F;picat_compared_to_prolog_hask...</a> [3] <a href="https:&#x2F;&#x2F;www.swi-prolog.org&#x2F;pldoc&#x2F;man?section=declare" rel="nofollow">https:&#x2F;&#x2F;www.swi-prolog.org&#x2F;pldoc&#x2F;man?section=declare</a>
marmaduke超过 4 年前
&gt; it allows to directly convert the problem statement into an efficiently solvable declarative problem specification without inventing an imperative algorithm. -- Sergii Dymchenko<p>This quote from the front page reminds me of the motivation for Autograd (and other AD frameworks)<p>&gt; just write down the loss function using a standard numerical library like Numpy, and Autograd will give you its gradient.<p>or even probabilistic programming languages like Stan, where you can write down a Bayesian model and get posterior samples.<p>Working backwards (as I know Stan but not Picat), I guess to really put the language to work you need to be aware of limits of the implementations, and how to dance around them.
评论 #24617619 未加载
mncharity超过 4 年前
Source LICENSE is mozilla.org&#x2F;MPL&#x2F;2.0&#x2F; (for anyone else who did &quot;wat?&quot; on <a href="http:&#x2F;&#x2F;picat-lang.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;picat-lang.org&#x2F;</a> &#x27;s &quot;Picat can be used for any fair purpose,&quot;).
hrishios超过 4 年前
I&#x27;m glad that logic programming isn&#x27;t completely dead. I think once gradient descent has filled it&#x27;s niches well and the AI summer quietens a little, we might see a return to knowledge engines and decision trees as a useful complement (if not a supplement) to solving the class of problems not well served by neural nets.
srean超过 4 年前
I think a discussion on Picat would be a little incomplete without one on Mercury. It combines pure functional programming with logic programming and is plenty fast.<p><a href="https:&#x2F;&#x2F;mercurylang.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mercurylang.org&#x2F;</a>
The_rationalist超过 4 年前
New logical programming only languages have very few chance of adoption. What I would like to see more would be to enable logic programming related futures on current mainstream multi paradigm languages like in kotlin <a href="https:&#x2F;&#x2F;github.com&#x2F;Kotlin&#x2F;KEEP&#x2F;pull&#x2F;199" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Kotlin&#x2F;KEEP&#x2F;pull&#x2F;199</a>
评论 #24609343 未加载
The_rationalist超过 4 年前
What does it bring over prolog?
评论 #24609271 未加载
评论 #24609331 未加载
dfischer超过 4 年前
This is interesting. Thanks.