macOS
brew install txrlocal Homebrew formula metadata
brew
Lisp-like programming language for convenient data munging. Version 302 via Homebrew; verified from local package data.
install
brew install txrlocal Homebrew formula metadata
sudo apk add txrAlpine Linux edge package indexes · txr · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#txrnixpkgs package indexes · pkgs/by-name/tx/txr/package.nix · source: api.github.com
overview
Lisp-like programming language for convenient data munging
history
TXR is Kaz Kylheku's programming language and command-line tool for convenient data munging, combining a whole-document pattern language with TXR Lisp.
The official homepage says the TXR project started in 2009 and describes it as a pragmatic tool for daily data-munging tasks. Its first identity is the TXR Pattern Language, which matches loosely structured text and binds variables using a template-like syntax; its second identity is TXR Lisp, a full Lisp dialect for data processing and scripting.
Over time TXR grew from a compact extraction language into a large language runtime. The homepage notes a substantial reference manual, an optimizing bytecode compiler, deployable saved executables, low external dependencies, and influences from Common Lisp, Scheme, Awk, shell, Prolog, Ruby, Python, Arc, Clojure, and other languages.
TXR remains niche, but its official homepage lists packaging by GNU Guix, NixOS, Chimera Linux, Alpine Linux, Void Linux, EasyBuild, and T2 SDE. The supplied Homebrew record also shows Homebrew, Alpine, and Nix formulas, though the upstream page warns users not to use the Homebrew package.
The homepage also documents a practical user history through accepted TXR-based answers on Stack Overflow and Unix StackExchange. That is a useful signal for a package-nerd niche: TXR spread as a sharp text-processing answer to hard one-off problems more than as a mainstream application platform.
TXR is used from the command line for scraping, extracting, transforming, and reporting on arbitrary text. Users can write compact one-liners, pattern files that act like reverse templates, or larger TXR Lisp programs and scripts.
TXR matters in package collections because it sits between awk, sed, Perl, and Lisp: a small executable with a large manual, a distinctive pattern language, and enough runtime to solve messy text problems without pulling in a larger language stack.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
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 |
|---|---|---|---|
txr | cli | global executable | |
txrlisp | cli | global executable | |
txrvm | 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.
install metadata
| Package key | brew:txr |
|---|---|
| Version | 302 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/txr |
| Homepage | https://www.nongnu.org/txr/ |
| Repository | https://www.kylheku.com/cgit/txr |
| Upstream docs | https://www.nongnu.org/txr |
| License | BSD-2-Clause |
| Source archive | https://www.kylheku.com/cgit/txr/snapshot/txr-302.tar.bz2 |
| Build dependencies | pkgconf |
| Uses from macOS | libffi, libxcrypt |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | txr |
| 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.
txr
nix profile install nixpkgs#txrtxr 302-r2
Programming language for convenient data munging
sudo apk add txrtxr-doc 302-r2
Programming language for convenient data munging (documentation)
sudo apk add txr-doctxr-vim 302-r2
Vim syntax for txr
sudo apk add txr-vimsource 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.