<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Update to Text Templating syntax for May 2005 CTP</title><link>http://blogs.msdn.com/garethj/archive/2005/06/01/T4Syntax.aspx</link><description>In April, I posted a summary of the syntax for the code generation engine supplied with the DSL Tools March CTP. As we've now released our May CTP based on Visual Studio 2005 Beta 2, it seems it's time to update that post for our new text templating syntax.</description><dc:language>en-GB</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Martin Fowler on Language Workbenches</title><link>http://blogs.msdn.com/garethj/archive/2005/06/01/T4Syntax.aspx#431026</link><pubDate>Tue, 21 Jun 2005 12:29:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:431026</guid><dc:creator>Stuart Kent's WebLog</dc:creator><description>Martin has just put up an article on Language Workbenches - IDEs for creating and using DSLs.&lt;br&gt;As you'd...</description></item><item><title>My June Backlog - Software Factories Stuff</title><link>http://blogs.msdn.com/garethj/archive/2005/06/01/T4Syntax.aspx#435457</link><pubDate>Tue, 05 Jul 2005 03:26:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:435457</guid><dc:creator>Rob Caron's Blog</dc:creator><description>&lt;br&gt;On Language Workbenches: &lt;br&gt;&lt;br&gt;Martin Fowler’s original post x and additional readings x &lt;br&gt;Brad Appleton’s...</description></item><item><title>My June Backlog - Software Factories Stuff</title><link>http://blogs.msdn.com/garethj/archive/2005/06/01/T4Syntax.aspx#435588</link><pubDate>Tue, 05 Jul 2005 09:48:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:435588</guid><dc:creator>Rob Caron's Blog</dc:creator><description>&lt;br&gt;On Language Workbenches: &lt;br&gt;&lt;br&gt;Martin Fowler’s original post &amp;amp;amp;oplus; and additional readings &amp;amp;amp;oplus;...</description></item><item><title>My June Backlog - Software Factories Stuff</title><link>http://blogs.msdn.com/garethj/archive/2005/06/01/T4Syntax.aspx#436126</link><pubDate>Wed, 06 Jul 2005 20:26:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:436126</guid><dc:creator>Rob Caron's Blog</dc:creator><description>&lt;br&gt;On Language Workbenches: &lt;br&gt;&lt;br&gt;Martin Fowler’s original post ⊕ and additional readings ⊕ &lt;br&gt;Brad Appleton’s...</description></item><item><title>re: Update to Text Templating syntax for May 2005 CTP</title><link>http://blogs.msdn.com/garethj/archive/2005/06/01/T4Syntax.aspx#614419</link><pubDate>Fri, 02 Jun 2006 20:15:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:614419</guid><dc:creator>Adam Miller</dc:creator><description>A caching question: Using the standard templating engine (Microsoft.VisualStudio.TextTemplating.Engine), &amp;nbsp;is there a way to cache the same template file between generations? Specifically, the engine.ProcessTemplate seems to recompile the template each time. Is there a way to cache it? It's taking us minutes to generate 200-300 templates all based on a single template file with &amp;nbsp;different arguments being passed to it.&lt;br&gt;&lt;br&gt;The code is as easy as: engine.ProcessTemplate(contentStr, new TemplateHost(&amp;quot;.&amp;quot;, templateArgs).&lt;br&gt;&lt;br&gt;The T4 engine is fantastic, but becoming harder and harder to work with as we generate more and more. You seem to have lots of good info on this topic, thus my post.&lt;br&gt;&lt;br&gt;Thanks!</description></item><item><title>re: Update to Text Templating syntax for May 2005 CTP</title><link>http://blogs.msdn.com/garethj/archive/2005/06/01/T4Syntax.aspx#666018</link><pubDate>Fri, 14 Jul 2006 22:34:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:666018</guid><dc:creator>Jim Hamilton</dc:creator><description>I am new to GAT and templating. I was recently assigned to making sure our package still worked with the June release of the GAT. &amp;nbsp;When processing our template, I received the error:&lt;br&gt;&lt;br&gt;A Statement cannot appear after the first class feature in the template. Only boilerplate, expressions and other class features are allowed after the first class feature block.&lt;br&gt;&lt;br&gt;I resolved this by moving the class feature block to the end of the template. &amp;nbsp; However, this seems to contradict what you wrote in your April 7th entry:&lt;br&gt;&lt;br&gt;Limitations&lt;br&gt;There can only be one class feature block and it must come immediately after the directives.&lt;br&gt;Code in control blocks has to be C#. We'll add VB.Net support in our next release.&lt;br&gt;&lt;br&gt;Should class feature blocks now be at the end of the template so that control blocks (in our case a loop) can call a function in the class feature block? &amp;nbsp;Thanks!&lt;br&gt;&lt;br&gt;</description></item><item><title>T4 Syntax for DSL Tools</title><link>http://blogs.msdn.com/garethj/archive/2005/06/01/T4Syntax.aspx#8961889</link><pubDate>Tue, 23 Sep 2008 06:48:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8961889</guid><dc:creator>GarethJ's WebLog</dc:creator><description>&lt;p&gt;I've been fielding questions about the syntax of our Text Templating technology (whose codename is &amp;quot;T4&amp;quot;)&lt;/p&gt;
</description></item></channel></rss>