Exemple #1
0
        /// <summary>
        /// Render the template specified in constructor.
        /// </summary>
        /// <param name="output">TextWriter to hold program output.</param>
        public void Render(TextWriter output)
        {
            var chunks = new Parser(TemplateString).Parse();

            language.ComposeCode(chunks);
            language.CompileAndRun(output);
        }