百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

poetics

> 编程语言
开源

Rubinius VM 上的首个 *原生* CoffeeScript 实现。

162 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Rubinius VM 上的首个 *原生* CoffeeScript 实现。

  1. What is Poetics?

A native implementation of CoffeeScript [1] that runs on the Rubinius VM [2].

Q. Whence comes the name Poetics?

A. Poetics is a partial anagram of the word CoffeeScript. It is also a nod to Jeremy Ashkenas, the author of CoffeeScript, and his interest in code as literature.

Q. Why a native implementation?

A. CoffeeScript is an interesting language in its own right. Rather than merely being a syntax layer on top of Javascript, and bound to expressing its semantics in those of Javascript, it deserves its own implementation. Many of the reasons to use CoffeeScript in Node.js would also apply to using this native implementation.

  1. License

Poetics is MIT licensed. See the LICENSE file.

  1. Installation

First, install Rubinius:

  1. Using RVM (http://rvm.beginrescueend.com).
rvm install rbx
  1. Or directly (http://rubini.us/doc/en/what-is-rubinius/).

Second, install Poetics:

rbx -S gem install poetics
  1. Running Poetics

Poetics provides a REPL for exploratory programming or runs CoffeeScript scripts.

rbx -S poetics -h

The REPL presently just parses code and returns an S-Expression representation:

$ rbx -S poetics
> 42
[:number, 42.0, 1, 1]
> "hello, y'all"
[:string, "hello, y'all", 1, 1]
>

To exit the REPL hit CTRL + d.

  1. Getting Help

Poetics is a work in progress. If you encounter trouble, please file an issue at https://github.com/brixen/poetics/issues

  1. Contributing

If you find Poetics interesting and would like to help out, fork the project on Github and submit a pull request.

  1. People

Poetics was created by Brian Ford (brixen) to force him to really learn Javascript and CoffeeScript.

  1. Credits

Jeremy has created an very interesting language in CoffeeScript. This implementation steals bits and pieces from other projects:

  • Rubinius (https://github.com/rubinius/rubinius/)
  • KPeg (https://github.com/evanphx/kpeg/)
  • Atomy (https://github.com/vito/atomy/)
  • Poison (https://github.com/brixen/poison/)
  • Talon (https://github.com/evanphx/talon/)

[1] CoffeeScript (http://jashkenas.github.com/coffee-script/) [2] Rubinius (http://rubini.us)

Issues· 2 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言