有没有用APL写的开源项目?

发布于 2024-11-14 02:36:22 字数 1459 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

〃安静 2024-11-21 02:36:22

我也一直在找,还没找到。 APL 是一种非常古老的语言;它完全早于整个开源运动。与同样古老的 Lisp(其历史包括大量人工智能实验室研究和开放协作精神)不同,APL 的文化在历史上一直与 IBM、商业分时系统和金融联系在一起。不过,凯文和我正试图通过科纳来改变这一点。

没有臭循环有相当多的 k 代码。不过,其中一些是为与 Kona 目标版本不同的 k 版本编写的。 Hakan Kjellerstrand 还有一个优秀K 页面

还有几本很棒的 AP​​L/J/K/Q 书籍。我特别推荐 Kenneth Iverson 的编程语言、Henry Rich 的J for C Programmers、Jeffry Borror 的Q for Mortals(Q 是 Kx 的最新版本) K) 和吉尔曼 & Rose 的APL:一种交互式方法。除了最后一个之外,所有这些都可以在网上轻松获得。

请记住,许多人将 APL 用作数学工具(如 R、mathematica、gnuplot 等),而不是用于编程本身。 (恕我直言,J 最适合这个。)K 被设计为一种更通用的编程语言,感觉像是 APL、Lisp 和 C 的综合体。不过,它是该语言家族中的一个异常值。

I've been looking too, and haven't found any yet. APL is a very old language; it completely predates the whole open-source movement. Unlike equally-old Lisp (whose history includes much AI lab research and a spirit of open collaboration), APL's culture has been historically associated with IBM, commercial timesharing systems, and finance. Kevin and I are trying to change this with Kona, though.

There is a fair bit of k code at no stinking loops. Some of it was written for a different version of k than what Kona targets, though. Hakan Kjellerstrand also has an excellent K page.

There are also several great APL/J/K/Q books. I particularly recommend Kenneth Iverson's A Programming Language, Henry Rich's J for C Programmers, Jeffry Borror's Q for Mortals (Q is the newest version of Kx's K), and Gilman & Rose's APL: An Interactive Approach. All but the last are readily available online.

Keep in mind is that many people are using APLs as mathematical tools (like R, mathematica, gnuplot, etc.) rather than for programming, per se. (IMHO, J is best for that.) K is designed to be a more general-purpose programming language, and feels like a synthesis of APL, Lisp, and C. It is an outlier in the language family, though.

旧人 2024-11-21 02:36:22

如果您阅读本文,您将看到 Kona 是“K 编程的开源实现”语言(K3.2)”。不幸的是,如果您访问K 编程语言创建者的主页并在产品下查看,你会发现 K 似乎不受支持。

另外,查看 APL 和 K 的 Wikipedia 文章,语法似乎相当复杂(例如 x@>#:'x 用于按字符串长度对字符串列表进行排序)!我建议学习汇编程序(通过 nasm;最流行的汇编程序之一)、C++、C,也许还有 Python,而不是 APL 或 K(两者似乎不受支持且未使用)。

If you read this, you will see that Kona is "an open-source implementation of the K programming language (K3.2)". Unfortunately for you, if you visit the homepage for the creator of the K Programming Language and look under products, you will see that K seems to be unsupported.

Also, looking at the Wikipedia articles for both APL and K, the syntax seems to be quite complex (e.g. x@>#:'x is used to sort a list of strings by their length)! I recommend learning Assembler (through nasm; one of the most popular assemblers), C++, C, and maybe Python rather than APL or K (both seem to be unsupported and unused).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文