TXR is a new data munging language to replace the likes of awk and Perl. TXR's special pattern language provides template-based matching of entire documents or large sections of documents. It also contains a language for functional and imperative programming. It is written in C and takes the form of a utility that is portable to Unix-like platforms and Windows.
| Tags | text analysis text formatting Text Processing parsing pattern matching Lisp Interpreters unix tool functional language pipes template processor Template engine |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | Linux |
| Implementation | C Flex Bison |
| Translations | English |
Recent releases


Release Notes: This release has been ported to OS X, FreeBSD, and NetBSD, supports a few popular regex tokens, exposes the regex compiler as a function (allowing programs to build and use regular expression syntax trees), provides new ways of iterating over hash tables with lazy lists, adds some time functions, improves seeding of PRNG, and fixes a bug related to argument processing in @(next) directive.


Release Notes: An generational garbage collector has been implemented. There are two small improvements in the pattern language and caching optimizations in hash tables.


Release Notes: Garbage collector performance improvements. Numeric library documentation, fixes, and semantics tweaks. A new @(rebind) directive. New functions, mostly in the numerical area. Bugfixes.


Release Notes: Floating point support has been introduced, allowing TXR to be more suitable for scientific data munging, making this a major milestone. Some new functional combinators have been added. There is a small refinement in URL/percent encoding/decoding. A showstopper bug in recently introduced quicksort routine has been repaired, affecting vector/string sorting.


Release Notes: This release adds a syntax change in the block directive, new regex gadgets in TXR Lisp, hash table literals, quasiquotation with unquote and splicing which works into vectors and hash literals, URL encoding and decoding filters, output string streams which accept and decode UTF8 bytes, a minor memory leak fix, and a minor fix in the lexical syntax.