<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.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>Nuo Yan : 7. Writing and Project Samples</title><link>http://msmvps.com/blogs/nuoyan/archive/tags/7.+Writing+and+Project+Samples/default.aspx</link><description>Tags: 7. Writing and Project Samples</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Notes on Compiler Constructions</title><link>http://msmvps.com/blogs/nuoyan/archive/2007/01/29/notes-on-compiler-constructions-cse-class-compiler-project-report.aspx</link><pubDate>Tue, 30 Jan 2007 01:13:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:527655</guid><dc:creator>Nuo Yan</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/nuoyan/rsscomments.aspx?PostID=527655</wfw:commentRss><comments>http://msmvps.com/blogs/nuoyan/archive/2007/01/29/notes-on-compiler-constructions-cse-class-compiler-project-report.aspx#comments</comments><description>&lt;H2 style="MARGIN:13pt 0in;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;SPAN style="FONT-SIZE:12pt;LINE-HEIGHT:173%;"&gt;&lt;FONT face=Cambria&gt;Table of Contents:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P class=MsoListParagraph style="MARGIN:0in 0in 0pt 0.25in;TEXT-INDENT:-0.25in;mso-char-indent-count:0;mso-list:l0 level1 lfo1;"&gt;&lt;SPAN style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;SPAN style="mso-list:Ignore;"&gt;1.&lt;SPAN style="FONT:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Introduction&lt;/P&gt;
&lt;P class=MsoListParagraph style="MARGIN:0in 0in 0pt 0.25in;TEXT-INDENT:-0.25in;mso-char-indent-count:0;mso-list:l0 level1 lfo1;"&gt;&lt;SPAN style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;SPAN style="mso-list:Ignore;"&gt;2.&lt;SPAN style="FONT:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Overview of Compilers&lt;/P&gt;
&lt;P class=MsoListParagraph style="MARGIN:0in 0in 0pt 0.25in;TEXT-INDENT:-0.25in;mso-char-indent-count:0;mso-list:l0 level1 lfo1;"&gt;&lt;SPAN style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;SPAN style="mso-list:Ignore;"&gt;3.&lt;SPAN style="FONT:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Scanner&lt;/P&gt;
&lt;P class=MsoListParagraph style="MARGIN:0in 0in 0pt 0.25in;TEXT-INDENT:-0.25in;mso-char-indent-count:0;mso-list:l0 level1 lfo1;"&gt;&lt;SPAN style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;SPAN style="mso-list:Ignore;"&gt;4.&lt;SPAN style="FONT:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Parser and Code Generation&lt;/P&gt;
&lt;P class=MsoListParagraph style="MARGIN:0in 0in 0pt 0.25in;TEXT-INDENT:-0.25in;mso-char-indent-count:0;mso-list:l0 level1 lfo1;"&gt;&lt;SPAN style="mso-fareast-font-family:Calibri;mso-bidi-font-family:Calibri;"&gt;&lt;SPAN style="mso-list:Ignore;"&gt;5.&lt;SPAN style="FONT:7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Conclusions&lt;/P&gt;
&lt;P class=MsoListParagraph style="MARGIN:0in 0in 0pt 0.25in;TEXT-INDENT:0in;mso-char-indent-count:0;"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;H2 style="MARGIN:13pt 0in;"&gt;&lt;SPAN style="FONT-SIZE:12pt;LINE-HEIGHT:173%;"&gt;&lt;FONT face=Cambria&gt;Introduction:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;This document briefly introduces the concepts and construction of programming language compilers. The document uses a simple programming language we named “D” for the purposes of this project, then goes through the process of constructing a full compiler for the “D” programming language. “D” only represents the name of the sample programming language used in this project, and has no relationship with any popular existing programming language. Code samples will be included in this document; however, since this document will be published on the Internet, to prevent future computer science students with similar assignments from plagiarizing any part of this paper, the full source code for the compiler project will not be included in this document. All source codes for the compiler in this document are written in C, and compiled using &lt;B style="mso-bidi-font-weight:normal;"&gt;gcc&lt;/B&gt; in Unix/Linux. The source code has also been tested for compilation under Windows NT (including 2000, XP, and Vista) using Visual C++ (including 6.0, 2003, and 2005). The X86 assembly language code presented in this documents uses the Microsoft/ Intel standard, which is different from the GNU/AT&amp;amp;T standard in some respects. This document is neither a course requirement, nor an assignment. All contents represent the author’s personal interests and the author provides no warranty.&lt;/P&gt;&lt;/FONT&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;STRONG&gt;To view the full document, either:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;Download the attachment of this post, which is in *.zip format.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;Click on the following link: &lt;/FONT&gt;&lt;FONT face=Calibri size=3&gt;&lt;A href="http://students.washington.edu/~nuoyan/compiler.pdf"&gt;http://students.washington.edu/~nuoyan/compiler.pdf&lt;/A&gt;.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=527655" width="1" height="1"&gt;</description><enclosure url="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.52.76.55/Revised_5F00_Final_5F00_Notes-on-Compiler-Constructions.zip" length="417628" type="application/x-zip-compressed" /><category domain="http://msmvps.com/blogs/nuoyan/archive/tags/7.+Writing+and+Project+Samples/default.aspx">7. Writing and Project Samples</category><category domain="http://msmvps.com/blogs/nuoyan/archive/tags/5.+Programming/default.aspx">5. Programming</category></item></channel></rss>