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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What I Learned from Icon

39 点作者 decklin将近 12 年前

3 条评论

molbioguy将近 12 年前
I wish I had something more important to say, but I just wanted to note that Icon, albeit obscure these days, was&#x2F;is a neat powerful language, especially for complex text processing. I remember using it back in the 80&#x27;s for fun projects like writing a chaos generator and more useful things like scanning for patterns in DNA&#x2F;protein sequences (yes, we had a few sequences even back then). It seemed so exotic with it&#x27;s fancy backtracking pattern matcher, generators and co-routines -- especially for someone coming from a C background. The biggest drawback for me was lack of popularity, which meant I couldn&#x27;t share the programs I wrote and couldn&#x27;t get help from almost anyone I worked with since none of them used Icon or even knew about Icon. For anyone interested, it&#x27;s still available for many platforms at <a href="http:&#x2F;&#x2F;www.cs.arizona.edu&#x2F;icon&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.cs.arizona.edu&#x2F;icon&#x2F;</a> . I got my first Icon distribution on magnetic tape :)
评论 #5917656 未加载
评论 #5916228 未加载
NoodleIncident将近 12 年前
Huh. That&#x27;s a neat language.<p>One thing that struck me was how many of these concepts have been incorporated into Clojure. One of the top Github projects in Clojure is Instaparse, a DSL for parsing grammars like the example at the end of this article.
jhrobert将近 12 年前
Good article that demonstrates how much room for improvement still exist for modern languages.<p>Icon&#x27;s notions of success&#x2F;failure and generators were giant steps that unfortunately went unnoticed.<p>They lead to a level of source code expressiveness that is still unmatched today.<p>Once you get used to that, most current programming languages look like sophisticated assemblers.