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

steel

> 编程语言
开源

Rust 中的嵌入式方案解释器

2.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Rust 中的嵌入式方案解释器

# Steel ## About `Steel` is an embeddable scheme interpreter, with a standalone interpreter/REPL included as well. The language is implemented as a bytecode virtual machine. At the moment, it is mostly compliant with R5RS, only missing `let-syntax` support. Support for R7Rs is underway. > **Warning** > The API is relatively stable, however it may change at any time while pre 1.0. > Care will be taken to keep things backwards compatible where possible. ## Features - [R5RS](https://standards.scheme.org/official/r5rs.pdf) support - Modules, using `require` and `provide` much like Racket. - `syntax-rules` and `syntax-case` macros. - Easy integration with native Rust functions and structs, either through embedding or via FFI. - Higher order Contracts - Built in immutable data structures, including: - lists - vectors - hashmaps - hashsets For more details, see the [book](https://mattwparas.github.io/steel/book). ## Getting Started This github repository contains a CLI interpreter. To try it out on the online playground, go to the [Steel playground](https://mattwparas.github.io/steel-playground/). To get started using a REPL with the crates, make sure you first have Rust installed. Then, clone the repo and run the following command: ```bash cargo run ``` This will launch a REPL instance that looks something like this:

### Full install If you'd like to install everything, just run the following command: ```bash cargo xtask install ``` This will install: - The steel interpreter, `steel` - The package manager, `forge` - The dylib installer, `cargo-steel-lib` (also available via the interpreter) - The steel language server - The standard library, found under the `cogs` directory #### Nix Steel can also be installed with Nix. Add the following to your Home Manager config: ```nix home.packages = [ pkgs.steel ]; ``` ### Packages If you would like to customize the location of installed packages, please set the `STEEL_HOME` environment variable. Steel currently follows XDG if present, and otherwise assumes the default of `$HOME/.steel` if the `STEEL_HOME` environment variable is not already set. ## License Licensed under either of - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) at your option. ## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. See [CONTRIBUTING.md](./CONTRIBUTING.md).

Issues· 0 开放

查看全部 Issues在 GitHub 打开

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

> 标签

Rustcontractslispprogramming-languageracket

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

> 工具信息

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

> 相关工具

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