#esolang #ide #interpreter #befunge #run #programs #text-ui

bin+lib fungoid

用 Rust 编写的 Befunge 解释器和文本 UI IDE

5 个版本

0.3.1 2024 年 4 月 15 日
0.3.0 2023 年 10 月 14 日
0.2.2 2023 年 5 月 4 日
0.2.1 2022 年 7 月 2 日
0.2.0 2022 年 6 月 5 日

编程语言 类别中排名第 319

MIT 许可证

40KB
1K SLoC

fungoid

用 Rust 编写的 Befunge 解释器和文本 UI IDE。

安装

fungoid 可以使用 cargo,Rust 软件包管理器 进行安装

cargo install fungoid

使用

Fungoid 提供了一个 CLI 命令 fungoid。使用 --help 选项查看它能做什么

$ fungoid --help
A Befunge interpreter and text-UI IDE written in Rust

Usage: fungoid <COMMAND>

Commands:
  run       Run a program
  ide       Start the TUI IDE
  examples  Interact with the bundled example programs
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

例如

$ fungoid examples run eratosthenes --profile
Executed 4752 instructions in 213us 969ns (22,208,824 instructions/second)
2357111317192329313741434753596167717379

依赖

~7–19MB
~220K SLoC