Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts 安装 nesc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install nesc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install nesc

MacPorts ports tree · lang/nesc/Portfile · 来源: api.github.com

概览

软件包摘要

Programming language for deeply networked systems

命令和别名

  • nescc
  • nescc-mig
  • nescc-ncg
  • nescc-wiring

历史

项目历史与用法

nesC is an extension of C designed for TinyOS and deeply networked embedded systems, especially wireless sensor-network motes. It is historically significant because it was the programming language that embodied TinyOS's component model, event-driven execution, split-phase operations, and whole-program analysis for extremely memory-constrained devices.

项目历史

The nesC home page defines it as a C extension designed to embody TinyOS structuring concepts and execution model. TinyOS targeted sensor network nodes with very limited resources; the nesC page gives examples such as 8 KB of program memory and 512 bytes of RAM. The language built programs from wired components with provided and used interfaces, bidirectional commands/events, static linking, and whole-program compilation.

The 2003 PLDI paper by David Gay, Philip Levis, Robert von Behren, Matt Welsh, Eric Brewer, and David Culler presented nesC as a systems language for motes: tiny low-power nodes running concurrent reactive programs under severe memory and power constraints. The paper states that nesC had been used to implement TinyOS and significant sensor applications, and that nesC and TinyOS had been adopted by a large number of sensor-network research groups. In the introduction it says TinyOS was in use by more than 100 research groups worldwide.

The GitHub repository appears to be a later master repository: GitHub metadata retrieved on 2026-07-01 shows it created on 2012-12-17, archived, written mostly in C, with 107 stars and 54 forks. That repository status reflects the post-peak maintenance state, not the language's early-2000s research impact.

采用历史

nesC's adoption followed TinyOS adoption in academic and embedded-sensor research. It was not a general-purpose C successor; it was a domain-specific language for mote applications where static allocation, event callbacks, interrupt-driven execution, and compile-time race checks mattered. Its examples and papers connect it to TinyDB, Mate, Surge, and other sensor-network applications.

In package-manager terms, nesC is a legacy research/runtime tool kept installable for people building old TinyOS code or studying sensor-network systems. The av.db source record shows Homebrew and MacPorts packaging. The Homebrew formula API reported stable version 1.4.0 and 1 install-on-request event in the prior 30 days when checked on 2026-07-01.

使用方式

Users invoke `nescc` to compile TinyOS/nesC applications, with helper tools such as `nescc-mig`, `nescc-ncg`, and `nescc-wiring` for message/interface generation and wiring inspection. Practical use is mostly historical TinyOS development, reproducing academic sensor-network projects, and maintaining code for mote platforms.

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

nesC is important less because of present install volume and more because it records a complete research-era software stack: a language, compiler, operating system, component model, and hardware class co-designed for wireless sensor networks. It is the opposite of a random CLI; it is a fossil with real lineage.

时间线

  • 2003: PLDI paper 'The nesC Language: A Holistic Approach to Networked Embedded Systems' published.
  • 2012-12-17: tinyos/nesc GitHub repository created as the master repository.
  • 2018-12-16: GitHub metadata showed the repository's last push date when checked on 2026-07-01.
  • 2026-07-01: Homebrew API reported stable version 1.4.0.

Related projects

  • TinyOS
  • TinyDB
  • Mate
  • Surge
  • wireless sensor networks
  • motes

安全态势

风险级别:yellow

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • broad file, network, media, or database tool signal
  • generalized runtime or code generation signal

信号

  • text:network
  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nescccli全局可执行文件
nescc-migcli全局可执行文件
nescc-ncgcli全局可执行文件
nescc-wiringcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.4.0
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本v1.4.0

https://github.com/tinyos/nesc

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:nesc
版本1.4.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/nesc
主页https://github.com/tinyos/nesc
仓库https://github.com/tinyos/nesc
上游文档https://github.com/tinyos/nesc#readme
许可证GPL-2.0-only
源码归档https://github.com/tinyos/nesc/archive/refs/tags/v1.4.0.tar.gz
最后更新2026-06-22T14:05:36-07:00
Pulseupdated
依赖emacs
构建依赖autoconf, automake, openjdk
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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namenesc
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

nesc

sudo port install nesc
  • normalized package name match
  • 匹配方式:Nesc
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/nesc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment