2 %[#] This is a template comment
3 %[#] This is stripped out by the template parser
6 %[#] This is an include statement, it loads the file as if it were
7 %[#] a part of this one. This should generate an error since missing.yatt
8 %[#] isn't actually included with the example.
9 %include [missing.yatt]
11 %[#] This begins a block of text, blocks can be inside of other blocks.
14 Here is some static text to be printed when 'faz' is parsed.
16 This is a variable: %[CRACK]
18 %[#] Another random block of text: parsed with 'faz.test'
21 recursive variable substitution in action:
22 this is recursive: %[CORK_%[FNORK]] wheee!
27 some other stuff: %[FOO]
28 some other stuff: %[BAR]
30 undefined variables are bad: this should generate an error: %[UNDEFINED]
32 %[#] How about another example?
46 and some stuff down here!