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 上发布,强调了 rhombus-lang.org 上提供的最新更新,并在 Racket 官方博客文章中详述了更多信息。 然而,此次发布在社区内引发了批评性的讨论。评论者对 Racket 软件包生态系统提出了担忧,特别指出其缺乏管理,且存在“垃圾”或欺诈性提交泛滥的问题,这使得用户难以识别高质量、可靠的库。此外,用户还表达了对 Rhombus 相关项目 Shplait 现状的关注,并指出了 Racket 库与 Rhombus/Shplait 生态系统之间在互操作性方面持续存在的挑战。
相关文章

原文

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