Automic VaultAutomic Vault

brew

Install thrax with Homebrew

Tools for compiling grammars into finite state transducers. Version 1.3.10 via Homebrew; verified 2026-06-26.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install thrax

local Homebrew formula metadata

overview

Package summary

Tools for compiling grammars into finite state transducers

Commands and aliases

  • thraxcompiler
  • thraxmakedep
  • thraxrandom-generator
  • thraxrewrite-tester

history

Project history and usage

OpenGrm Thrax is a grammar compiler toolkit for compiling grammars written as regular expressions and context-dependent rewrite rules into weighted finite-state transducers using the OpenFst format.

Project history

The official OpenGrm README presents Thrax as release 1.2 and ties it directly to OpenFst: users need OpenFst with FAR, PDT, and MPDT support or the OpenFst `--enable-grm` option. The documentation is hosted on the OpenFst/OpenGrm TWiki rather than a public GitHub repository.

Adoption history

Thrax's adoption is specialized: it serves finite-state grammar, language-processing, and computational-linguistics workflows rather than broad application development. Its Homebrew package makes the OpenGrm tools available to macOS users who want command-line programs such as `thraxcompiler`, `thraxmakedep`, and `thraxrewrite-tester` without building the OpenFst-related stack manually.

How it is used

The quick tour recommends copying the installed sample grammars from `/usr/local/share/thrax/grammars`, running `thraxmakedep`, building with `make`, and testing the resulting FAR archive with `thraxrewrite-tester`. The same page documents grammar features for tokenization, rewrite rules, PDT/MPDT usage, and morphological paradigms.

Why package nerds care

For package nerds, Thrax is a good example of a niche research-grade CLI where packaging matters because the dependency and build flags are the hard part. The official README calls out C++11, POSIX, bison, OpenFst, and specific OpenFst features, so a package manager saves users from reproducing a fragile local build recipe.

Timeline

  • 2017: Official OpenGrm README revision documents Thrax release 1.2.
  • 2019: Official quick tour revision documents the OpenGrm Thrax grammar compiler workflow.
  • Thrax 1.1.0: Official quick tour notes added support for linguistic features and aspects of paradigmatic morphology.
  • Thrax 1.2.4: Official quick tour notes a more bash-friendly separator for PDT/parens/assignments triples.

Related projects

  • Related projects include OpenFst, OpenGrm, weighted finite-state transducer tools, grammar compilers, and language-processing toolkits that use rewrite rules and finite-state archives.

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 4 platform targets.
  • Installs with 1 runtime dependencies.

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
thraxcompilercliglobal executable
thraxmakedepcliglobal executable
thraxrandom-generatorcliglobal executable
thraxrewrite-testercliglobal 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 version1.3.10
manager updated2026-06-26
local dataok
upstreamnot checked
latest detectednot detected

https://www.openfst.org/twiki/bin/view/GRM/Thrax

install metadata

Package metadata

Package keybrew:thrax
Version1.3.10
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/thrax
Homepagehttps://www.openfst.org/twiki/bin/view/GRM/Thrax
Upstream docshttps://www.openfst.org/twiki/bin/view/GRM/ReadMe
LicenseApache-2.0
Source archivehttps://www.openfst.org/twiki/pub/GRM/ThraxDownload/thrax-1.3.10.tar.gz
Last updated2026-06-26T12:23:28-04:00
Pulseupdated
Dependenciesopenfst
Uses from macOSpython
Bottleavailable (on arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

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
  • package relationship graph
  • package version freshness
  • package-page enrichment