<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Creating specialized compilers with the Flex Compiler API</title>
	<atom:link href="http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/</link>
	<description></description>
	<pubDate>Fri, 21 Nov 2008 13:05:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: TK</title>
		<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7649</link>
		<dc:creator>TK</dc:creator>
		<pubDate>Fri, 07 Nov 2008 21:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7649</guid>
		<description>&lt;p&gt;Awesome. Well that's great to know. Thanks for the great post, Theo!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Awesome. Well that&#8217;s great to know. Thanks for the great post, Theo!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7648</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Fri, 07 Nov 2008 20:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7648</guid>
		<description>&lt;p&gt;Not unless you really know what you're doing. But the whole thing is open source now so there's nothing stopping you in that respect.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Not unless you really know what you&#8217;re doing. But the whole thing is open source now so there&#8217;s nothing stopping you in that respect.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: TK</title>
		<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7647</link>
		<dc:creator>TK</dc:creator>
		<pubDate>Fri, 07 Nov 2008 18:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7647</guid>
		<description>&lt;p&gt;Theo, thanks for getting back to me. So it's pretty safe to say that the compiler API only supports creating simple "marker" metadata tags, like [Font] or [Test] as you mentioned in your post. Dang, I was actually thinking I could finally create my own system of data binding and build my own AS3 annotation implementation ... :(&lt;/p&gt;

&lt;p&gt;Is there any way to crack into the actual compiler? I've really got the itch to do some crazy stuff with metadata and AS3 :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Theo, thanks for getting back to me. So it&#8217;s pretty safe to say that the compiler API only supports creating simple &#8220;marker&#8221; metadata tags, like [Font] or [Test] as you mentioned in your post. Dang, I was actually thinking I could finally create my own system of data binding and build my own AS3 annotation implementation &#8230; :(</p>

<p>Is there any way to crack into the actual compiler? I&#8217;ve really got the itch to do some crazy stuff with metadata and AS3 :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7646</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Fri, 07 Nov 2008 13:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7646</guid>
		<description>&lt;p&gt;@TK&lt;/p&gt;

&lt;p&gt;Don't expect a full code example =)&lt;/p&gt;

&lt;p&gt;If I remember correctly the compiler API doesn't have callbacks for the code parser (or for any part of the compilation for that matter, it's just a front to the compiler), so you can't just plug in and replace metadata tags on the fly while the compiler is parsing the code. Instead you will have to implement your own preprocessor that just scans the code for your metadata tags, and replace these with your generated code.&lt;/p&gt;

&lt;p&gt;The nice thing about the compiler API is that you don't have to save the preprocessed code, you can use it from memory via "virtual files" (as I seem to remember the name was, you have to look it up in the documentation).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@TK</p>

<p>Don&#8217;t expect a full code example =)</p>

<p>If I remember correctly the compiler API doesn&#8217;t have callbacks for the code parser (or for any part of the compilation for that matter, it&#8217;s just a front to the compiler), so you can&#8217;t just plug in and replace metadata tags on the fly while the compiler is parsing the code. Instead you will have to implement your own preprocessor that just scans the code for your metadata tags, and replace these with your generated code.</p>

<p>The nice thing about the compiler API is that you don&#8217;t have to save the preprocessed code, you can use it from memory via &#8220;virtual files&#8221; (as I seem to remember the name was, you have to look it up in the documentation).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: TK</title>
		<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7643</link>
		<dc:creator>TK</dc:creator>
		<pubDate>Fri, 07 Nov 2008 02:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7643</guid>
		<description>&lt;p&gt;Theo, how would I create my own implementation of Bindable in the flex compiler API? I'm kind of confused by the whole metadata thing.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Theo, how would I create my own implementation of Bindable in the flex compiler API? I&#8217;m kind of confused by the whole metadata thing.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: TK</title>
		<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7642</link>
		<dc:creator>TK</dc:creator>
		<pubDate>Fri, 07 Nov 2008 01:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-7642</guid>
		<description>&lt;p&gt;This is absolutely brilliant. I've been wanting to crack open the compiler and change some stuff, and this is exactly what I need to get started. Thanks so much!&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;TK&lt;/li&gt;
&lt;/ul&gt;
</description>
		<content:encoded><![CDATA[<p>This is absolutely brilliant. I&#8217;ve been wanting to crack open the compiler and change some stuff, and this is exactly what I need to get started. Thanks so much!</p>

<ul>
<li>TK</li>
</ul>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-6210</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Sun, 13 Apr 2008 14:25:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-6210</guid>
		<description>&lt;p&gt;I've thought about doing something like that. I was going to go for a Java app because I'd like to automate the naming of the fonts and so on and I think there are libraries for doing that in Java (after all the Flex compiler does it). Then there is the issue that the compiler has to be a Java app and AIR applications can't call external applications so that seems to make Java the only choice. I'd rather do it in AIR, of course.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve thought about doing something like that. I was going to go for a Java app because I&#8217;d like to automate the naming of the fonts and so on and I think there are libraries for doing that in Java (after all the Flex compiler does it). Then there is the issue that the compiler has to be a Java app and AIR applications can&#8217;t call external applications so that seems to make Java the only choice. I&#8217;d rather do it in AIR, of course.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Bjorn Schultheiss</title>
		<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-6209</link>
		<dc:creator>Bjorn Schultheiss</dc:creator>
		<pubDate>Sun, 13 Apr 2008 14:00:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-6209</guid>
		<description>&lt;p&gt;Champion article..&lt;/p&gt;

&lt;p&gt;One of the best i've read in a while.&lt;/p&gt;

&lt;p&gt;I wonder if you could bundle the compiler in an air application.
Coupled with File system access you could probably have an app where you select a few ttf files and can generate the final swf?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Champion article..</p>

<p>One of the best i&#8217;ve read in a while.</p>

<p>I wonder if you could bundle the compiler in an air application.
Coupled with File system access you could probably have an app where you select a few ttf files and can generate the final swf?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jun Heider</title>
		<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-5801</link>
		<dc:creator>Jun Heider</dc:creator>
		<pubDate>Wed, 19 Mar 2008 23:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-5801</guid>
		<description>&lt;p&gt;Theo,&lt;/p&gt;

&lt;p&gt;This is an intensely rocking article!  Other than the very good information on custom compiler api, you put in one of the best explainations of custom metadata and it's benefits that I've seen.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Theo,</p>

<p>This is an intensely rocking article!  Other than the very good information on custom compiler api, you put in one of the best explainations of custom metadata and it&#8217;s benefits that I&#8217;ve seen.</p>

<p>Thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ethan</title>
		<link>http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-5799</link>
		<dc:creator>ethan</dc:creator>
		<pubDate>Tue, 18 Mar 2008 18:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/03/18/creating-specialized-compilers-with-the-flex-compiler-api/#comment-5799</guid>
		<description>&lt;p&gt;Do you think that this could be used for user defined css? I'm thinking of an app allowing the user to select colors and other stuff to style a flex runtime swf. I was stumped on how to take the css code and convert it to an swf that could be targeted by the flex runtime swf without having me converting each one for my users.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Do you think that this could be used for user defined css? I&#8217;m thinking of an app allowing the user to select colors and other stuff to style a flex runtime swf. I was stumped on how to take the css code and convert it to an swf that could be targeted by the flex runtime swf without having me converting each one for my users.</p>]]></content:encoded>
	</item>
</channel>
</rss>
