<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-13048637</id><updated>2011-07-14T17:34:32.711-07:00</updated><title type='text'>Transformers</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cxx-transformations.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13048637/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://cxx-transformations.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jesus</name><uri>http://www.blogger.com/profile/16000406788840221248</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-13048637.post-111981780299641744</id><published>2005-06-26T13:26:00.000-07:00</published><updated>2005-06-26T14:18:01.743-07:00</updated><title type='text'>On the beach</title><content type='html'>The summer is near. You will certainly want to be seen with Transformers project on the beach (like me), specially with version 0.4 (soon). But 0.4 will need more resources than ever. First, you will have to buy a 512 MB ram chip. But the challenge is not here. You will not want your computer to stop during compilation. But this summer, temperature will be hot, and your CPU may be hurt. I have the solution. Take a bucket. Put some bottle of ice in it like shown on the picture below. Then put you computer on this bucket. Your CPU will always be cold enough. You will ask me how to put ice in the bottle because the hole is too tight. Do not worry, i have the solution too. It is better you to fill the bottle with liquid water and then put it into the freezer. But you can try to put the ice in the hole with strenght as well if you are so masochist to trying to use Transformers on the beach.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1363/1132/1600/img050626-195127.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/1363/1132/320/img050626-195127.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1363/1132/1600/img050626-1951.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/1363/1132/320/img050626-1951.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1363/1132/1600/img050626-1950.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://photos1.blogger.com/blogger/1363/1132/320/img050626-1950.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13048637-111981780299641744?l=cxx-transformations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cxx-transformations.blogspot.com/feeds/111981780299641744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13048637&amp;postID=111981780299641744' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13048637/posts/default/111981780299641744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13048637/posts/default/111981780299641744'/><link rel='alternate' type='text/html' href='http://cxx-transformations.blogspot.com/2005/06/on-beach.html' title='On the beach'/><author><name>Jesus</name><uri>http://www.blogger.com/profile/16000406788840221248</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13048637.post-111773474186846908</id><published>2005-06-02T10:35:00.000-07:00</published><updated>2005-06-02T10:52:21.873-07:00</updated><title type='text'>Attribute grammar evaluation</title><content type='html'>In the &lt;a href="http://transformers.lrde.epita.fr/"&gt;Transformers&lt;/a&gt; project, the disambiguation of C and C++ is made with an attribute grammar. The old system was using a greedy algorithm  just for tests.  But now,  we need a faster system. I have tested to develop  a new system using lazy evaluation. First, i have made a library for &lt;a href="http://www.stratego-language.org/"&gt;Stratego&lt;/a&gt; .  A part was written in Stratego, only strategies to get and call pointers of strategies were written in C. But there is a graph. This graph was written with ATerm hash-tables.  I did not finished to evaluate stdio.h.  1 line of  typedef took 1s of evaluation. When profiling a little exemple that took approximatively 31s on a XP2400+,  about 0.5s where used for the tree traversal (I think less because of problem of approximations during profiling).  0.12s where used for evaluation code. All the rest of time was used by the graph. I have written all the graph dependency resolution in C.  It is not comparable. The evaluation of stdio.h (in asfix) takes now 0.99s.  SGLR takes 7s to parse it, the ambiguity pruning (according to the evaluation results) takes 0.5s and implode-asfix takes 1.40s on the disambiguated tree.&lt;br /&gt;&lt;br /&gt;Now the compilation time has to be resolved.  The generated evaluator for C syntax, is about 16klines of Stratego. It takes 45 minutes to be translated into C.&lt;br /&gt; &lt;a href="http://www.stratego-language.org/"&gt;&lt;span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13048637-111773474186846908?l=cxx-transformations.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cxx-transformations.blogspot.com/feeds/111773474186846908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13048637&amp;postID=111773474186846908' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13048637/posts/default/111773474186846908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13048637/posts/default/111773474186846908'/><link rel='alternate' type='text/html' href='http://cxx-transformations.blogspot.com/2005/06/attribute-grammar-evaluation.html' title='Attribute grammar evaluation'/><author><name>Jesus</name><uri>http://www.blogger.com/profile/16000406788840221248</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
