Building a Template
The initial template is an example of the desired output
Move values from template to dictionary, leaving keys behind as place holders
Add control keywords to iterate over lists and generate text conditionally
Add directives to redirect output and input.
Notes:
In the next few slides I’ll be describing the process of building an Intercalate dictionary and template from a prototype of the desired output. It starts by making the output text be the initial template. Next we will identify pieces that are properly part of the object rather than the view and move those to the dictionary, leaving behind keys as placeholders in the template. We will add control keywords to repeat portions of the text, and to produce output only if a condition is true. Finally we will look at directives to control the input and output of the generated text.