macOS
brew install treecclocal Homebrew formula metadata
sudo port install treeccMacPorts ports tree · devel/treecc/Portfile · source: api.github.com
brew
Aspect-oriented approach to writing compilers. Version 0.3.10 via Homebrew; verified from local package data.
install
brew install treecclocal Homebrew formula metadata
sudo port install treeccMacPorts ports tree · devel/treecc/Portfile · source: api.github.com
overview
Aspect-oriented approach to writing compilers
history
treecc is an older GNU/DotGNU compiler-construction tool for generating tree-building and tree-walking code from declarative input files.
The GNU treecc manual frames the tool as a complement to lex and yacc: traditional parser tools help with tokenizing and parsing, but leave semantic analysis, tree construction, and code generation largely to the programmer.
treecc's approach is to use a simple rule-based language, with embedded implementation code, that a translator converts into ordinary source code. The generated code helps build and walk trees and checks that relevant operations have been implemented for node types.
Historically, treecc lived inside the DotGNU/Portable.NET world. GNU's DotGNU page lists Portable.NET as an implementation of the Common Language Infrastructure and records releases that included TreeCC in the mid-2000s; it also states that DotGNU was decommissioned as of December 2012 except for libjit.
treecc appears to have remained a niche compiler-construction utility rather than becoming a general parser ecosystem. Its package-manager interest is mostly archival and practical: keeping old DotGNU-era source packages buildable and keeping a small AOP-influenced compiler helper available.
The documented command form is `treecc [OPTIONS] INPUT ...`, with options to select output and header files, Java output directories, extensions, forced creation, no-output checking, and option values supplied from the command line.
treecc is significant mainly as a preserved GNU-era compiler tool: small, specific, historically tied to Portable.NET, and useful to package maintainers who care about old language-runtime experiments.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
treecc | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://gnu.org/software/dotgnu/treecc/treecc.html
install metadata
| Package key | brew:treecc |
|---|---|
| Version | 0.3.10 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/treecc |
| Homepage | https://gnu.org/software/dotgnu/treecc/treecc.html |
| Repository | https://git.savannah.gnu.org/cgit/dotgnu-pnet |
| Upstream docs | https://www.gnu.org/software/dotgnu/treecc/treecc.html |
| License | GPL-2.0-or-later |
| Source archive | https://download.savannah.gnu.org/releases/dotgnu-pnet/treecc-0.3.10.tar.gz |
| Bottle | available (on 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 | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | treecc |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
treecc
sudo port install treeccsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.