Rhombus 1.1 现已发布
Rhombus 1.1 is now available

原始链接: https://blog.racket-lang.org/2026/08/rhombus-v1.1.html

Rhombus 1.1 现已可在 rhombus-lang.org 下载。此次更新为这门通用、可定制的语言带来了多项增强功能,包括: * **语法与定义:** 新增的 `annot` 和 `annot.def` 形式简化了注解定义;新的 `as` 绑定形式提升了代码可读性,并改进了标识符遮蔽机制。 * **语言优化:** 更新了 `class` 继承绑定,并对 `space.enforest` 的作用域进行了调整。 * **库更新:** `ffi` 库新增了初始化数组变体;`pict` 库增强了动画工具(`magic_move`、`cross_fade`)并更新了重构行为;此外,`slideshow` 库现已支持页面切换特效及连续页码。 Rhombus 团队感谢社区成员的贡献。该语言的开发保持开放与协作,欢迎用户通过 Racket Discourse 或 Discord 频道参与设计讨论并提供反馈。团队强调包容性原则,诚邀所有开发者通过提交 Issue、Pull Request 及参与讨论来共同推动语言的演进。

**Rhombus 1.1** 的发布在 Hacker News 上引发了关于 Racket 语言演进的热烈讨论。 Rhombus 旨在提供 Racket 的全部功能与可扩展性——包括其独特的开放编译器 API 和面向语言的编程能力——同时摆脱传统 Lisp 中对括号语法的过度依赖。支持者称赞其更现代、基于缩进的语法,并认为这有望降低那些不习惯传统 Lisp 标记法的开发者的入门门槛。 讨论重点涵盖了以下几个方面: * **人工编码与 AI 编码:** 用户探讨了更“简洁”的语法和强类型是否真的更适合“大模型(LLM)”,并指出当前的 AI 模型已能越来越好地处理各种编程范式。 * **生态系统与实用性:** 尽管许多人赞赏 Racket 在图形界面(GUI)和系统开发方面的庞大生态,但也有人对包仓库的发现机制以及 GUI 工具的完善程度表示不满。 * **语言设计的未来:** 讨论涉及了学术“纯粹主义”与向 Python 等语言靠拢的实用性企业导向之间的张力,许多人好奇 Rhombus 是否能够开辟出一片既对人类友好又具备工具可扩展性的利基市场。
相关文章

原文

Rhombus version 1.1 is now available!

We are pleased to announce Rhombus 1.1 is now available from https://rhombus-lang.org/.

Rhombus is a general-purpose programming language that is easy to use and uniquely customizable.

As of this release:

  • Add annot and annot.def as ways to define an annotation without directly writing meta-time (i.e., macro) code.

  • Add as as a binding form, which is sometimes more readable for naming than using && and provides a way to shadow an identifier that is bound as a binding form.

  • Change class to bind inherited names using the corresponding superclass or interface reference.

  • Change space.enforest to adjust scopes in the same way as for a macro transformer when applying an identifier handler.

  • ffi: Add an initialized-array variant of new.

  • pict: Change explain_anim to add a ~label_as argument. Change Pict.rebuilt to replace as rebuilt, and also add a ~as_rebuilt argument to select the old or new bevavior. The Pict.rebuild method also supports ~as_rebuilt. Improve magic_move and cross_fade to better handle paragraph points and multiple instances of a child pict.

  • slideshow: Add slide_transition and continued page numbering.

Thank you to community members who contributed this release.

Feedback Welcome

Questions and discussion welcome at the Racket community on Discourse or Discord (#rhombus channel)

Anyone can participate in Rhombus design discussions. The Racket team’s unofficial motto is anything we can do, you can do: programmers should feel empowered to participate in the creation of the languages they use. Discussions, pull requests, and issues are open to all, and a wide variety of perspectives is especially beneficial.

联系我们 contact @ memedata.com