<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Willian Mitsuda.com &#187; Logo</title>
	<atom:link href="http://www.willianmitsuda.com/category/logo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.willianmitsuda.com</link>
	<description></description>
	<lastBuildDate>Sun, 24 Aug 2008 03:58:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Remembering the Logo Language</title>
		<link>http://www.willianmitsuda.com/2008/01/01/remembering-the-logo-language/</link>
		<comments>http://www.willianmitsuda.com/2008/01/01/remembering-the-logo-language/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 02:37:59 +0000</pubDate>
		<dc:creator>Willian Mitsuda</dc:creator>
				<category><![CDATA[Logo]]></category>
		<category><![CDATA[apple II]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[cdt]]></category>
		<category><![CDATA[djgpp]]></category>
		<category><![CDATA[dosbox]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[grx]]></category>
		<category><![CDATA[mingw]]></category>
		<category><![CDATA[programming language]]></category>
		<category><![CDATA[rhide]]></category>
		<category><![CDATA[wascana]]></category>

		<guid isPermaLink="false">http://www.willianmitsuda.com/2008/01/01/remembering-the-logo-language/</guid>
		<description><![CDATA[Jeff Atwood from Coding Horror just posted about the Logo language. Like him, and many of the commenters in his post, that language had a great influence in my own career. I could say that my contact with Logo was responsible for making me gain interest for software development. And yes, I didn&#39;t know it [...]]]></description>
			<content:encoded><![CDATA[<p>Jeff Atwood from Coding Horror <a href="http://www.codinghorror.com/blog/archives/001026.html">just posted</a> about the <a href="http://en.wikipedia.org/wiki/Logo_(programming_language)">Logo language</a>. Like him, and many of the commenters in his post, that language had a great influence in my own career. I could say that my contact with Logo was responsible for making me gain interest for software development. And yes, I didn&#39;t know it was a easy-to-read LISP language too&#8230;</p>
<p>Everything began in 1990, when I was 10 years old. I started to have computer classes in my college. At that time, computer classes meant to learn a programming language: the first year was Logo, some Basic variant on next year. After that, we would learn to use Wordstar and then some database programming with dBase III. Ah, good old days!</p>
<p>It was my first contact with computers. We used a Apple II clone, <a href="http://eufiz.kit.net/FMU/apple2.html">Exato</a>, with a Logo implementation called MLogo. According to my professor, it was Microsoft Logo; unfortunately I couldn&#39;t find any references on this to confirm&#8230; If you have some MLogo disk image lost somewhere that can be emulated, please comment!&nbsp;</p>
<p><img src="http://www.willianmitsuda.com/wp-content/uploads/exato-pro.gif" border="0" alt="Exato PRO" title="Exato PRO" width="261" height="263" align="right" />Thanks to Logo is was able to learn and practice things &quot;normal people&quot; only learn years later, for example, mathematical concepts like angles and some basic trigonometry. I remember being surprised to know that a circle is just a polygon with some many sides you just don&#39;t notice. I also learned procedural programming by breaking bigger problems into small procedures.</p>
<p>It was very funny to spend some hours just drawing pictures and playing with the repeat command.&nbsp;</p>
<p>In 1999 I had another contact with Logo during my graduation in Computer Science. Apparently my C professors were fans of Logo too, and they proposed a exercise to make a simple Logo interpreter, consisting of a simple shell and basic drawing operations: forward, left, right and the repeat command.</p>
<p>I was so excited while implementing it, that I ended up implementing a lot more features than previously planned. I implemented most drawing functions, color changing, pen modes, and repeat (loop) command with nested blocks.</p>
<p>That code was left hibernating in my old HD until now. After reading that nostalgic post from Jeff, I decided to release it under GPL at <a href="http://code.google.com/p/minilogo/">Google Code</a>, so it doesn&#39;t got lost someday. It uses a portuguese Logo dialect, and the source code comments are also in portuguese.</p>
<p>I don&#39;t plan to evolve that code, but maybe I would rewrite it in another language or platform when I have time. The source is just for study purposes (but don&#39;t forget it is a beginner C programmer&#39;s code, so be aware that it may contain some <a href="http://thedailywtf.com/">WTF code</a> <img src="http://www.willianmitsuda.com/wp-content/plugins/Wysi-Wordpress/plugins/emotions/images/smiley-embarassed.gif" border="0" alt="Embarassed" title="Embarassed" />).</p>
<p>Impressively, I was able to run the original 1999 executable using <a href="http://www.dosbox.com/">DOSBox</a>, an MS-DOS emulator. I was even able to run <a href="http://www.rhide.com/">RHIDE</a>, the IDE which comes with DJGPP I used to develop the original code! It is not just for running old games <img src='http://www.willianmitsuda.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I did some minor modifications to make it work in win32. Originally the code was written using the free <a href="http://www.delorie.com/djgpp/">DJGPP</a>/<a href="http://www.gnu.org/">GNU</a> toolchain and the <a href="http://grx.gnu.de/">GRX</a> graphics library for DOS environment, so the executable was not working in Windows Vista.</p>
<p>Thankfully, GRX is multi-platform, and with some little modifications I was able to make it compile and run under <a href="http://wascana.sourceforge.net/">Wascana</a> (an <a href="http://www.eclipse.org/">Eclipse</a>/<a href="http://www.eclipse.org/cdt/">CDT</a>/<a href="http://www.mingw.org/">MinGW</a> bundle). So, the executable available for download can be run directly on Windows.</p>
<p>You can download it and see some screenshots <strong><a href="http://www.willianmitsuda.com/mini-logo/">here</a></strong>.&nbsp;</p>
<p><em>Credit for the Exato PRO photo: <a href="http://eufiz.kit.net/FMU/index.html">Idalio Manuel</a>.&nbsp;</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.willianmitsuda.com/2008/01/01/remembering-the-logo-language/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.182 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-20 09:58:45 -->
