Category:TXR: Difference between revisions

Content added Content deleted
(Link to colorized all-in-one page.)
Line 18: Line 18:


<pre>This is some literal text to be matched.
<pre>This is some literal text to be matched.
@# this is a comment in the pattern language.
This text matches and binds @variable.
This text matches and binds @variable.
@(require ;; this is the start of a directive in the TXR matching language
@(bind y ;; this is the start of a directive in the TXR pattern language
@(> x 42) ;; this is an expression in TXR Lisp
@(> x 42) ;; this is an expression in TXR Lisp
)
)@# This is a comment in the pattern language.
Back to text.</pre>
Back to text.</pre>