# 使用 Homebrew 安装 malbolge

查看 malbolge 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:malbolge
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install malbolge
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:malbolge
- **软件包管理器:** Homebrew
- **版本:** 0.1.0
- **来源摘要:** Deliberately difficult to program esoteric programming language
- **主页:** <https://esoteric.sange.fi/orphaned/malbolge/README.txt>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- malbolge (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.1.0
## 项目历史与用法

Malbolge is an esoteric programming language by Ben Olmstead, deliberately designed to be difficult to program in. The Homebrew package provides a `malbolge` interpreter for a language whose original specification describes a trinary virtual machine, self-modifying code, intentionally hostile instruction encoding, and public-domain source.

### 项目历史

The original Malbolge material is dated 1998 and includes `malbolge.c`, `nop.mal`, and a language document titled "Malbolge '98, Ben Olmstead." In that document, Olmstead says existing esolangs were difficult for different reasons but none had been specifically designed to be difficult to program in, so Malbolge was created for that goal.

The orphaned 2004 edition README says a long time had passed since release, useful trivial programs had emerged, and the package bundled the original interpreter with a Perl interpreter plus small example programs by later contributors. That 2004 bundle is the basis for much of the small command-line distribution history around the language.

### 采用历史

Malbolge's adoption is cultural rather than practical. It became a stock example in esoteric language collections because the original document could not even provide a normal example program and stated that no Malbolge programs had yet been written.

Later bundled examples such as `answer.mal`, `copy.mal`, and a 99 Bottles program show how the community treated it as a puzzle language. Package managers carry interpreters like this less for production software and more to preserve runnable artifacts from programming-language folklore.

### 使用方式

Usage is interpreter-oriented: pass a `.mal` program to the `malbolge` executable and observe its input/output behavior. The official specification defines memory, trits, registers A/C/D, instruction decoding, input/output, and the stop instruction rather than a conventional application configuration.

### 为什么软件包爱好者会关心

Malbolge is package-nerd catnip because it is tiny, public domain, historically odd, and easy to build as a single interpreter while representing a famous edge case in language implementation. It also tests whether package collections preserve playful and archival software, not just infrastructure.

### 时间线

- 1998: Ben Olmstead's Malbolge interpreter and specification are published.
- 2004: The orphaned Malbolge bundle adds a Perl interpreter and later example programs.
- 2004: The README records useful trivial programs emerging after the original release.

### Related projects

- Related esoteric languages mentioned by the original document include INTERCAL, Brainfuck, Befunge, FALSE, TWDL, RUBE, and tri-INTERCAL.

### 来源

- <https://esoteric.sange.fi/orphaned/malbolge/>
- <https://esoteric.sange.fi/orphaned/malbolge/README.txt>
- <https://esoteric.sange.fi/orphaned/malbolge/malbolge.c>
- <https://esoteric.sange.fi/orphaned/malbolge/malbolge.txt>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal


## Combined YAML source

View the package source record on GitHub. [combined/malbolge.yml](https://github.com/mxcl/pkgdb/blob/main/combined/malbolge.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
