macOS
brew install oaklocal Homebrew formula metadata
安装
brew install oaklocal Homebrew formula metadata
nix profile install nixpkgs#oaknixpkgs package indexes · pkgs/by-name/oa/oak/package.nix · 来源: api.github.com
概览
Expressive, simple, dynamic programming language
历史
Oak is Linus Lee's small dynamically typed programming language, distributed as a single oak command that includes an interpreter, formatter, bundler, JavaScript compiler path, test runner, documentation tooling, and standard library.
The GitHub repository was created on 2021-07-09. The Oak website says Lee had been building Oak since early July 2021 and frames it as a sequel to Ink: not an Ink 2.0 upgrade, but a different language meant to keep Ink's small-language feel while fixing shortcomings that appeared after using Ink for personal productivity tools, compilers, ray tracers, and other projects.
Oak is intentionally niche. Its website says it was designed for Lee's hobby projects and had become his main language for simple scripts, side projects, and personal knowledge tools since late 2021. Homebrew reported stable version 0.3 with 68 installs over the 365-day analytics window queried on 2026-07-01.
Users run oak as a REPL, pass .oak files to execute scripts, use oak fmt for formatting, and use oak build to bundle programs or cross-compile Oak bundles to JavaScript for browser, Node.js, or Deno environments. The examples emphasize functional-style code, pattern-matching if expressions, callback-oriented asynchronous I/O, and a built-in HTTP server/router in the standard library.
Oak matters less as a mainstream language and more as a well-packaged personal language runtime: Go implementation, single executable, Homebrew availability, self-hosted standard-library examples, and a public website documenting the design tradeoffs of a solo language project.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
oak | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/thesephist/oak
安装元数据
| 软件包键 | brew:oak |
|---|---|
| 版本 | 0.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/oak |
| 主页 | https://oaklang.org/ |
| 仓库 | https://github.com/thesephist/oak |
| 上游文档 | https://oaklang.org/ |
| 许可证 | MIT |
| 源码归档 | https://github.com/thesephist/oak/archive/refs/tags/v0.3.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | oak |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
oak
nix profile install nixpkgs#oak来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.