<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: T4 and CodeDOM - Better Together</title>
	<link>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/</link>
	<description>Interfaces are like alcohol - they are a lot of fun when used in moderation.</description>
	<pubDate>Sat, 04 Feb 2012 05:22:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: John</title>
		<link>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/#comment-3405</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 21 Apr 2011 09:10:38 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/#comment-3405</guid>
		<description>Jenda; you can't mix languages within a project, so if your project is C# then C# is the language that must be produced by the code generator.</description>
		<content:encoded><![CDATA[<p>Jenda; you can&#8217;t mix languages within a project, so if your project is C# then C# is the language that must be produced by the code generator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jenda</title>
		<link>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/#comment-3304</link>
		<dc:creator>Jenda</dc:creator>
		<pubDate>Wed, 10 Nov 2010 23:00:01 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/#comment-3304</guid>
		<description>Erm ... what do I care what language did the template produce? I ain't supposed to touch the results anyway. 
As far as I am concerned it could generate Brainfuck, as long as I can compile it and use and extend the classes I could not care less.
Besides there's so little difference between C# and VB.Net that it doesn't matter which I get.</description>
		<content:encoded><![CDATA[<p>Erm &#8230; what do I care what language did the template produce? I ain&#8217;t supposed to touch the results anyway.<br />
As far as I am concerned it could generate Brainfuck, as long as I can compile it and use and extend the classes I could not care less.<br />
Besides there&#8217;s so little difference between C# and VB.Net that it doesn&#8217;t matter which I get.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/#comment-3035</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 04 May 2010 09:19:36 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/#comment-3035</guid>
		<description>Well that just makes my brain hurt. But in a good way. This is helpful for creating ASP.NET BuildProviders based on T4.</description>
		<content:encoded><![CDATA[<p>Well that just makes my brain hurt. But in a good way. This is helpful for creating ASP.NET BuildProviders based on T4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Sych</title>
		<link>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/#comment-2420</link>
		<dc:creator>Oleg Sych</dc:creator>
		<pubDate>Thu, 05 Nov 2009 15:20:52 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/#comment-2420</guid>
		<description>Updated content and source code to be compatible with version 9.10 of the T4 Toolbox.</description>
		<content:encoded><![CDATA[<p>Updated content and source code to be compatible with version 9.10 of the T4 Toolbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Chase</title>
		<link>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/#comment-2256</link>
		<dc:creator>Justin Chase</dc:creator>
		<pubDate>Tue, 15 Sep 2009 16:31:11 +0000</pubDate>
		<guid>http://www.olegsych.com/2009/09/t4-and-codedom-better-together/#comment-2256</guid>
		<description>Howdy. Check out this project:
http://metasharp.codeplex.com

It's specifically designed to solve this problem. There are multiple types of transformations supported, Text-&#62;AST, AST-&#62;AST, AST-&#62;Text are just some common scenarios. Specifically, in this case, you generate code in a T4 style MetaSharp templating language which compiles to CodeDom...

Additionally, you could get the same results by creating a C# T4 template then using NRefactory to parse the C# and convert it into CodeDom objects so it can compile in VB projects.

MetaSharp does the same thing essentially, except the language is intentionally part way between C# and VB and is just slightly more complex than bare bones CLS compliance. Also, you can use it to compile to dynamic code or anything else. 

But I agree with your line of thinking for the most part, for what it's worth.</description>
		<content:encoded><![CDATA[<p>Howdy. Check out this project:<br />
<a href="http://metasharp.codeplex.com" rel="nofollow">http://metasharp.codeplex.com</a></p>
<p>It&#8217;s specifically designed to solve this problem. There are multiple types of transformations supported, Text-&gt;AST, AST-&gt;AST, AST-&gt;Text are just some common scenarios. Specifically, in this case, you generate code in a T4 style MetaSharp templating language which compiles to CodeDom&#8230;</p>
<p>Additionally, you could get the same results by creating a C# T4 template then using NRefactory to parse the C# and convert it into CodeDom objects so it can compile in VB projects.</p>
<p>MetaSharp does the same thing essentially, except the language is intentionally part way between C# and VB and is just slightly more complex than bare bones CLS compliance. Also, you can use it to compile to dynamic code or anything else. </p>
<p>But I agree with your line of thinking for the most part, for what it&#8217;s worth.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

