macOS
brew install xgolocal Homebrew formula metadata
安装
brew install xgolocal Homebrew formula metadata
概览
AI-native programming language that integrates software engineering
历史
XGo is the GoPlus project's programming language and toolchain, presented by the project as an AI-native language that reads closer to plain English while remaining derived from Go. The packaged commands are language tooling: `xgo` for the current toolchain and `gop` for GoPlus-compatible workflows.
The public repository was created on GitHub on 2015-12-12 under the GoPlus organization. Current project materials describe XGo as a language for engineering, STEM education, and data science, with a smaller best-practice syntax set than Go/Python and compatibility with Go packages and mixed Go/XGo code.
The project has broadened from a Go-derived scripting and education language into an ecosystem pitch: the homepage summarizes it as `XGo := C * Go * Python * JavaScript + Scratch`, while the README describes integration with C/C++, Go, Python, and JavaScript/TypeScript through the Go toolchain and the XGo team's LLGo work.
XGo is still niche compared with Go itself, but the GitHub project has visible community attention, with roughly 9.4k stars and several hundred forks at the time this enrichment was written. The project also maintains a website, tutorial site, playground, IDE-plugin links, and platform install instructions, which gives it more infrastructure than a one-off experimental compiler.
Adoption is strongest where the language's goals line up with the packaging story: learners, STEM examples, Scratch-compatible 2D projects, simple DevOps scripts through gsh, and experiments that want Go's engineering base with friendlier surface syntax.
Users install the toolchain, create or enter a module, and run XGo source with commands such as `xgo run .`. The README shows XGo simplifying Go expressions by allowing omitted `package main` and `func main`, command-style calls such as `echo "Hello world"`, list/map literals, keyword-style arguments, and classfile-oriented domain frameworks.
The package matters most as a compiler/runtime entry point rather than as a library. It lets package users try XGo examples, run tutorial code, build small scripts, and experiment with related frameworks such as spx for Scratch-like games, yap for web routes, and gsh for shell-like DevOps tasks.
XGo is significant as a packaged language experiment in the post-Go ecosystem. It packages a compiler, syntax experiment, teaching story, and AI-era branding into a Homebrew-installable toolchain while still leaning on Go's module and compiler infrastructure.
For package nerds, the interesting bit is the boundary: XGo is not a Go library and not just a transpiler demo. It is a parallel language surface that tries to stay close enough to Go to inherit tooling while adding domain-friendly syntax and cross-language integration ambitions.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gop | cli | 全局可执行文件 | |
xgo | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xgo |
|---|---|
| 版本 | 1.7.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xgo |
| 主页 | https://xgo.dev/ |
| 仓库 | https://github.com/goplus/xgo |
| 上游文档 | https://github.com/goplus/xgo/blob/main/doc/docs.md |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/goplus/xgo/archive/refs/tags/v1.7.5.tar.gz |
| 最后更新 | 2026-07-22T05:22:15Z |
| Pulse | updated |
| 依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xgo |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.