macOS
brew install chaiscriptlocal Homebrew formula metadata
sudo port install chaiMacPorts ports tree · devel/chai/Portfile · 来源: api.github.com
安装
brew install chaiscriptlocal Homebrew formula metadata
sudo port install chaiMacPorts ports tree · devel/chai/Portfile · 来源: api.github.com
概览
Easy to use embedded scripting language for C++
历史
ChaiScript is an embedded scripting language designed for C++ applications. Its package identity is closer to a language runtime and embeddable library than to a standalone command, though package managers commonly expose a chai executable as well.
The public GitHub repository dates to January 2011. The README describes ChaiScript as a language designed from the ground up to target C++ and modern C++ development, with a header-only integration style and type-safe bindings between C++ and scripts.
GitHub releases show mature 4.x and 5.x releases by 2014, a 6.0.0 release in 2017, and 6.1.0 in 2018. The README states that building ChaiScript requires a C++17 compiler.
ChaiScript is packaged in Homebrew as chaiscript and appears in the input package facts for Debian, Ubuntu, MacPorts, and vcpkg-oriented usage. The README specifically documents vcpkg installation, which is important for C++ developers consuming it as a library dependency.
Typical usage is to add the ChaiScript include directory, include chaiscript/chaiscript.hpp, instantiate chaiscript::ChaiScript, then evaluate script strings or files. Host applications register C++ functions with the engine so scripts can call into native code.
ChaiScript is package-nerd interesting because it is a C++-native embeddable language distributed across general-purpose package managers and C++ dependency managers. It represents the small but persistent category of scripting runtimes packaged primarily so native applications can embed them.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
chai | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ChaiScript/ChaiScript
安装元数据
| 软件包键 | brew:chaiscript |
|---|---|
| 版本 | 6.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/chaiscript |
| 主页 | https://chaiscript.com/ |
| 仓库 | https://github.com/ChaiScript/ChaiScript |
| 上游文档 | https://chaiscript.com/docs.html |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://github.com/ChaiScript/ChaiScript/archive/refs/tags/v6.1.0.tar.gz |
| 构建依赖 | cmake |
| 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 | chaiscript |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
chai
sudo port install chaichai 4.3.7~ds1+~cs9.7.21-1
assertion library for Node.js
sudo apt install chaichai 4.3.7~ds1+~cs9.7.21-1
assertion library for Node.js
sudo apt install chai来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.