txr
« Back to VersTracker
Description:
Lisp-like programming language for convenient data munging
Type: Formula  |  Latest Version: 11@0  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: lisp text-processing data-munging parsing cli
Install: brew install txr
About:
Txr is a unique, Lisp-like programming language specifically designed for parsing text and extracting data from unstructured sources like log files and data streams. It features a powerful, built-in pattern matching facility that allows users to describe the structure of the input text directly in the code. This approach makes complex data munging tasks significantly more concise and expressive than with traditional scripting languages.
Key Features:
  • Native pattern matching for text and data extraction
  • Lisp-like syntax and semantics with a focus on data
  • Concise syntax for common data munging tasks
  • Functional programming paradigm
Use Cases:
  • Parsing and extracting data from log files
  • Processing semi-structured text like CSV or custom formats
  • Automating text-based data transformation pipelines
Alternatives:
  • awk – Txr offers a more powerful and expressive pattern matching syntax than awk's simple field-based processing.
  • sed – While sed is for stream editing, Txr is focused on data extraction and transformation using a full programming language.
  • Perl – Txr's pattern matching is more integrated and declarative than Perl's regular expressions, leading to more readable code for complex tasks.
Version History
Detected Version Rev Change Commit
Sep 12, 2025 12:19am 11 0 VERSION_BUMP 1c88ecac
Dec 18, 2024 5:14am 0 VERSION_BUMP 5f13e6d6
Dec 16, 2024 9:13pm 0 VERSION_BUMP 39069651