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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Picat 1.0 has been released

13 点作者 callmekit大约 10 年前

2 条评论

emmanueloga_大约 10 年前
These slides [1] do a better job than the website explaining what Picat is.<p>One of the slides explains the main features of the language:<p>* Pattern-matching: Predicates and functions are defined with pattern-matching rules<p>* Intuitive: Assignments, loops, list comprehensions<p>* Constraints: CP, SAT and LP&#x2F;MIP<p>* Actors: Action rules, event-driven programming, actor-based concurrency<p>* Tabling: Memoization, dynamic programming, planning, model-checking<p>Now you know why it is called picat...<p>I think this website could make a better job on &quot;selling&quot; Picat to potential users. Some suggestions for the author of the site, in case he reads HN:<p>* Do not put the sources behind a wall (Google Form), that only decreases the chance someone will try your language.<p>* Let people know how you license the project more visibly [2], may be in the footer of your site.<p>* Use syntax highlighting to improve the readability of the code examples.<p>* If possible, get a designer to help you with the aesthetics. If the source of Picat&#x27;s site was hosted somewhere it would make it easier to fix it by a volunteer.<p>1: <a href="http:&#x2F;&#x2F;picat-lang.org&#x2F;download&#x2F;picat_tutorial.pdf" rel="nofollow">http:&#x2F;&#x2F;picat-lang.org&#x2F;download&#x2F;picat_tutorial.pdf</a><p>2: <a href="http:&#x2F;&#x2F;mozilla.org&#x2F;MPL&#x2F;2.0&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mozilla.org&#x2F;MPL&#x2F;2.0&#x2F;</a>
评论 #9320505 未加载
callmekit大约 10 年前
<i>From the announcement on the Picat mailing list:</i><p>We are pleased to announce the release of Picat version 1.0.<p>Picat (<a href="http:&#x2F;&#x2F;picat-lang.org" rel="nofollow">http:&#x2F;&#x2F;picat-lang.org</a>) is a new programming language that integrates logic programming, functional programming, dynamic programming with tabling, constraint programming, and scripting. Picat incorporates many language features for better productivity of software development, including pattern-matching rules, explicit non-determinism, explicit unification, functions, constraints, and tabling. It is not rare to find problems for which Picat requires an order of magnitude fewer lines of code than many other languages.<p>Since the first release in Februrary 2014, Picat has been growing steadily, and many users have had very positive experiences with the language: Hakan Kjellerstrand&#x27;s Picat page (<a href="http:&#x2F;&#x2F;www.hakank.org&#x2F;picat" rel="nofollow">http:&#x2F;&#x2F;www.hakank.org&#x2F;picat</a>) has about 775 programs written by Hakan; the page <a href="http:&#x2F;&#x2F;picat-lang.org&#x2F;projects.html" rel="nofollow">http:&#x2F;&#x2F;picat-lang.org&#x2F;projects.html</a> has a collection of over one hundred programs for a variety of projects and competitions; as part of the VK Cup, the site <a href="http:&#x2F;&#x2F;codeforces.com" rel="nofollow">http:&#x2F;&#x2F;codeforces.com</a> featured Picat in a surprise round of a competition, and more than 500 teams competed.<p>Picat&#x27;s tabled planner has been shown to be an efficient tool for modeling and solving planning problems. Roman Bartak, Agostino Dovier, and Neng-Fa Zhou have hand-coded several models in Picat for the IPC competition problems (<a href="http:&#x2F;&#x2F;picat-lang.org&#x2F;ipc14" rel="nofollow">http:&#x2F;&#x2F;picat-lang.org&#x2F;ipc14</a>). These declarative models exploit Picat&#x27;s features by using structural state representations and common-sense domain knowledge. These Picat models significantly outperform PDDL encodings run by the best PDDL planners. Sergii Dymchenko has also demonstrated the promise of Picat&#x27;s planner through several AI planning problems, including problems from the Google Code Jam competition (<a href="http:&#x2F;&#x2F;sdymchenko.com&#x2F;blog&#x2F;2015&#x2F;01&#x2F;31&#x2F;ai-planning-picat" rel="nofollow">http:&#x2F;&#x2F;sdymchenko.com&#x2F;blog&#x2F;2015&#x2F;01&#x2F;31&#x2F;ai-planning-picat</a>).<p>One of the major additions made since version 0.1 is an optimizing SAT compiler, which translates high-level constraints into efficient CNF codes to be solved by a SAT solver. The SAT compiler is offered as a separate module, which has the same interface as the CP module. The SAT module is complementary to the CP module, and, for many problems, significantly outperforms the CP module. The SAT compiler has been tested by using hundreds of benchmarks and tens of thousands of instances that have been used in CSP and Minizinc competitions.<p>Another major addition in version 1.0 is an external language interface with C, through which Picat programs can call deterministic predicates that are written as functions in C. This interface can be used to link Picat with other systems, such as database, GUI programming, mobile computing, game programming, networking, and web programming libraries.<p>Since the release of version 0.1 about one year ago, hundreds of improvements have been incorporated into the design and the implementation. The updates log can be seen at: <a href="http:&#x2F;&#x2F;picat-lang.org&#x2F;updates.html" rel="nofollow">http:&#x2F;&#x2F;picat-lang.org&#x2F;updates.html</a>. Picat will continue to grow, and we look forward to your input and feedback. Send your questions, comments, and requests to:<p><a href="https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!forum&#x2F;picat-lang" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!forum&#x2F;picat-lang</a>