by Kaz Kylheku
Combination of pattern-based text extraction language and an innovative Lisp dialect.

TXR provides a pattern language for multi-line matching through whole documents, extended in power with a general purpose language called TXR Lisp. TXR Lisp can be used stand-alone also, and has an API for calling into the pattern language.

In the pattern language, everything is literal text, except for variables or directives, which are prefixed by the @ character, and except for a single space, which denotes a match for one or more spaces.

@; Extremely simple translation of comma-separated pairs
@; to a HTML table
@(output :filter :tohtml)
@  (repeat)
@  (end)
Information updated 04/04/16
View Comments