Templating systems
There is a large number of templating systems available for any programming language, with a different set of features and syntax.
Recursive syntax:
[[ FOREACH $article @articles unmodified_content [[ $article.name ]] unmodified_content ]]
Flat syntax:
[[ FOREACH $article @articles ]] unmodified_content [[ $article.name ]] unmodified_content [[ END FOREACH ]]
Embeding template directives into the text:
Name is <% =$name %>
Embeding text into the template directives:
<% foreach $article (@articles) { print $article->title, "<br>" } %>