st_parse.pl -- Template parser

Parses a list of tokens into a template structure.

 st_parse(+Codes, -Templ, +Options) is det
Parses given list of codes into a template.

Throws various parsing errors.