macOS
brew install statesmithlocal Homebrew formula metadata
安装
brew install statesmithlocal Homebrew formula metadata
概览
State machine code generation tool suitable for bare metal, embedded and more
历史
StateSmith is an open-source state-machine code generator with a CLI, aimed especially at embedded and bare-metal workflows where generated code should be readable, dependency-free, and allocation-conscious.
The README describes StateSmith as a cross-platform tool for generating state machines in multiple programming languages, with generated code suitable for tiny bare-metal microcontrollers, games, apps, web projects, and computers.
The official About wiki explains the author's motivation: he could not find a state-machine code generator suitable for low-level embedded application use, with an attractive license and enjoyable workflow. It also explains the C# implementation choice as a way to use the open-source Roslyn compiler for parsing and code generation.
The project moved from earlier C# script-oriented examples toward a packaged CLI. The CLI install wiki documents `ss.cli`, installable globally as a .NET tool or downloadable as a standalone binary.
The README states that the author uses StateSmith in production projects and that other companies use it in production as well, while the repository page shows ongoing releases and a sizable GitHub audience for a specialized embedded-code tool.
Users model state machines with diagram tools such as PlantUML or draw.io, then run the CLI to generate source code for supported languages. Tutorials and examples are the main documented entry points.
The project is designed for teams that want diagrams and implementation to stay synchronized: generated code comes from the diagram-backed model rather than from hand-maintained state-machine code.
StateSmith is notable because it packages a traditionally GUI-heavy modeling niche into a command-line generator that can be installed, versioned, and run in build scripts.
For package managers, `ss.cli` is the useful unit: it turns state-machine diagrams into source artifacts without requiring an IDE plugin or proprietary modeling tool.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ss.cli | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:statesmith |
|---|---|
| 版本 | 0.22.2 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/StateSmith/StateSmith |
| 仓库 | https://github.com/StateSmith/StateSmith |
| 最后更新 | 2026-05-24T03:37:42Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.