Automic VaultAutomic Vault

brew

Install treecc with Homebrew, MacPorts

Aspect-oriented approach to writing compilers. Version 0.3.10 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install treecc

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install treecc

MacPorts ports tree · devel/treecc/Portfile · source: api.github.com

overview

Package summary

Aspect-oriented approach to writing compilers

Commands and aliases

  • treecc

history

Project history and usage

treecc is an older GNU/DotGNU compiler-construction tool for generating tree-building and tree-walking code from declarative input files.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2004: GNU DotGNU news records Portable.NET 0.6.4 and Treecc 0.3.0.
  • 2005: GNU DotGNU news records Portable.NET 0.6.12 and TreeCC 0.3.6.
  • 2009: The published treecc manual HTML was generated from its Texinfo source.
  • 2012: GNU states the DotGNU project was decommissioned except for libjit.

Related projects

  • treecc was related to DotGNU Portable.NET, pnetC, pnetlib, and libjit in the old GNU/DotGNU stack.
  • Conceptually it sits near lex/yacc-style compiler tools, but focuses on tree-building and tree-walking rather than lexical analysis or parsing.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
treecccliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.3.10
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://gnu.org/software/dotgnu/treecc/treecc.html

install metadata

Package metadata

Package keybrew:treecc
Version0.3.10
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/treecc
Homepagehttps://gnu.org/software/dotgnu/treecc/treecc.html
Repositoryhttps://git.savannah.gnu.org/cgit/dotgnu-pnet
Upstream docshttps://www.gnu.org/software/dotgnu/treecc/treecc.html
LicenseGPL-2.0-or-later
Source archivehttps://download.savannah.gnu.org/releases/dotgnu-pnet/treecc-0.3.10.tar.gz
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametreecc
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts95%

treecc

sudo port install treecc
  • normalized package name match
  • Matched by: Treecc
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/treecc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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