# -*- coding: utf-8 -*-
TITLE: toplevel template
TAG: pi
IN:
Hello
OUT:
Hello world!
TITLE: syntax error
FILE: doc/synerr.html
IN:
bar
baz
ERROR: ^Unknown declarator \(\), at
FILE: doc/nodecl.html
IN: foo bar baz
TITLE: file widget without decl
IN:
OUT: foo bar baz
TITLE: one template, bodyless
IN:
world!
Hello
&perl:x; x &perl:y; =
PARAM[
- 3
- 8
]
OUT:
Hello
3 x 8 = 24
world!
TITLE: one template, with body
IN:
world!
Hello
&perl:x; x &perl:y; =
PARAM[
- 8
- 3
]
OUT:
Hello world!
8 x 3 = 24
# ^Here is trailing newline.
TITLE: one template, with body + arg
IN:
&yatt:p; world! &yatt:q;
Hello
PARAM[
]
OUT:
Hello foo world! bar
TITLE: Misplaced widget declaration.
IN: