TXR Combines Pattern Matching and Lisp for Text Data Extraction
TXR is a programming language created by Kaz Kylheku in 2009 that pairs a whole-document pattern-matching and extraction system with a full data-processing language, letting users run quick one-liners or write complex scripts to pull structured data out of messy text. The project has grown substantially over the years, with its reference manual now spanning hundreds of pages and offering many ways to solve the same extraction problem.
GoKawiil's interpretation of the reporting above, not reported fact.
Text scraping and munging remain everyday chores for developers dealing with logs, PDFs, and unstructured output, and most existing tools force a choice between regex-style pattern matching or a general scripting language. TXR's attempt to fuse both into one tool, built on a Lisp dialect, points to a niche but persistent demand for specialized text-processing languages outside mainstream scripting languages like Python or Perl. Its longevity since 2009 and enthusiastic niche following suggest it has found real users despite never breaking into mainstream adoption.
- TXR merges pattern-matching extraction with a Lisp-based data-processing language.
- The project, started by Kaz Kylheku in 2009, has grown into a large, complex system with an extensive manual.
- Users cite it as especially useful for parsing messy converted documents like PDFs into ASCII text.
Source: nongnu.org, 2026-09-21
Published there as: “TXR: An Original, New Programming Language for Convenient Data Munging”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.