pkg.soopen package index

brew / rank 17560

Install treecc with Homebrew, MacPorts

Aspect-oriented approach to writing compilers. Version 0.3.10 via Homebrew; verified from local package data. Also installable with macports: sudo port install treecc.

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 bottle metadata was recorded.

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
treeccexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version0.3.10
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:treecc
Version0.3.10
Package managerHomebrew
Homepagehttps://gnu.org/software/dotgnu/treecc/treecc.html
Bottlenot recorded
Servicenone declared

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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation