<?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>Robert Horvick &#187; Windows</title>
	<atom:link href="http://www.roberthorvick.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.roberthorvick.com</link>
	<description>Things my wife doesn&#039;t want on the family blog...</description>
	<lastBuildDate>Mon, 01 Aug 2011 14:38:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Syntax Highlighing for Erlang in NotePad++</title>
		<link>http://www.roberthorvick.com/2009/07/08/syntax-highlighing-for-erlang-in-notepad/</link>
		<comments>http://www.roberthorvick.com/2009/07/08/syntax-highlighing-for-erlang-in-notepad/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 18:02:42 +0000</pubDate>
		<dc:creator>robert</dc:creator>
				<category><![CDATA[Erlang]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.roberthorvick.com/?p=64</guid>
		<description><![CDATA[Update: The definition has been updated to include support for atoms, variables and function names as well as additional file extensions.  Screen shot and downloadable content have been updated. Thus far I&#8217;ve done all of my Erlang development on Fedora using vim or KWrite (which does a decent job in Ruby mode). But today I [...]]]></description>
			<content:encoded><![CDATA[<p><em>Update: The definition has been updated to include support for atoms, variables and function names as well as additional file extensions.  Screen shot and downloadable content have been updated.</em></p>
<p>Thus far I&#8217;ve done all of my Erlang development on Fedora using vim or KWrite (which does a decent job in Ruby mode).</p>
<p>But today I found myself on a windows box and wanted a basic syntax highlighting editor for Erlang that was free and worked on Windows.  Oh &#8211; and not Eclipse+Erlide.  I wanted something small and fast.</p>
<p>I grabbed the &#8220;<a href="http://en.wikipedia.org/wiki/Free_as_in_beer">free as in beer</a>&#8221; and &#8220;<a href="http://en.wikipedia.org/wiki/Free_as_in_beer#.22Free_as_in_beer.22_vs_.22Free_as_in_speech.22">free as in speech</a>&#8221; editor <a href="http://notepad-plus.sourceforge.net">NotePad++</a> and created a simple syntax file that is a bit hokey but will serve my needs fine.</p>
<p>Here&#8217;s a screen shot &#8230;<br />
<img class="aligncenter size-medium wp-image-65" title="Windows Erlang Syntax Highlighting Editor" src="http://www.roberthorvick.com/wp-content/uploads/2009/07/screenshot1.jpg" alt="Windows Erlang Syntax Highlighting Editor" width="550" height="449" /></p>
<p>NotePad++ has pretty weak syntax highlighting but was sufficent to do most of what I wanted.  Some regex based rules would make this a more robust.</p>
<p>Highlighted entities include</p>
<ul>
<li>Erlang reserved words (and named operators)</li>
<li>Variables</li>
<li>Atoms</li>
<li>function names (same coloring as atoms)</li>
<li>Operators</li>
<li>Comments</li>
<li>Kernal, stdlib, mnesia and odbc modules.</li>
<li>Support for *.erl, *.hrl and *.htp extentions</li>
</ul>
<p>I&#8217;ve probably missed several things.</p>
<p>Looks a lot better than nothing and it took all of <span style="text-decoration: line-through;">10</span> 15 minutes.</p>
<p>If you are using NotePad++ here is the file:</p>
<p><a href="http://www.roberthorvick.com/wp-content/uploads/2009/07/erlangSyntaxDefinition.zip">http://www.roberthorvick.com/wp-content/uploads/2009/07/erlangSyntaxDefinition.zip</a></p>
<p>And here are the instructions on how to install it:</p>
<p><a href="http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Syntax_Highlighting_Sharing">http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Syntax_Highlighting_Sharing</a></p>
<p>And here&#8217;s the instructions on modifying or creating your own:</p>
<p><a href="http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages">http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages</a></p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.roberthorvick.com%2F2009%2F07%2F08%2Fsyntax-highlighing-for-erlang-in-notepad%2F&amp;partner=sociable" title="Print"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Syntax%20Highlighing%20for%20Erlang%20in%20NotePad%2B%2B%20-%20http%3A%2F%2Fwww.roberthorvick.com%2F2009%2F07%2F08%2Fsyntax-highlighing-for-erlang-in-notepad%2F" title="Twitter"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.roberthorvick.com%2F2009%2F07%2F08%2Fsyntax-highlighing-for-erlang-in-notepad%2F&amp;title=Syntax%20Highlighing%20for%20Erlang%20in%20NotePad%2B%2B&amp;bodytext=Update%3A%20The%20definition%20has%20been%20updated%20to%20include%20support%20for%20atoms%2C%20variables%20and%20function%20names%20as%20well%20as%20additional%20file%20extensions.%20%C2%A0Screen%20shot%20and%20downloadable%20content%20have%20been%20updated.%0D%0A%0D%0AThus%20far%20I%27ve%20done%20all%20of%20my%20Erlang%20development%20on%20" title="Digg"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.roberthorvick.com%2F2009%2F07%2F08%2Fsyntax-highlighing-for-erlang-in-notepad%2F&amp;title=Syntax%20Highlighing%20for%20Erlang%20in%20NotePad%2B%2B" title="Reddit"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.roberthorvick.com%2F2009%2F07%2F08%2Fsyntax-highlighing-for-erlang-in-notepad%2F&amp;title=Syntax%20Highlighing%20for%20Erlang%20in%20NotePad%2B%2B&amp;notes=Update%3A%20The%20definition%20has%20been%20updated%20to%20include%20support%20for%20atoms%2C%20variables%20and%20function%20names%20as%20well%20as%20additional%20file%20extensions.%20%C2%A0Screen%20shot%20and%20downloadable%20content%20have%20been%20updated.%0D%0A%0D%0AThus%20far%20I%27ve%20done%20all%20of%20my%20Erlang%20development%20on%20" title="del.icio.us"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.roberthorvick.com%2F2009%2F07%2F08%2Fsyntax-highlighing-for-erlang-in-notepad%2F&amp;t=Syntax%20Highlighing%20for%20Erlang%20in%20NotePad%2B%2B" title="Facebook"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.roberthorvick.com%2F2009%2F07%2F08%2Fsyntax-highlighing-for-erlang-in-notepad%2F&amp;title=Syntax%20Highlighing%20for%20Erlang%20in%20NotePad%2B%2B&amp;annotation=Update%3A%20The%20definition%20has%20been%20updated%20to%20include%20support%20for%20atoms%2C%20variables%20and%20function%20names%20as%20well%20as%20additional%20file%20extensions.%20%C2%A0Screen%20shot%20and%20downloadable%20content%20have%20been%20updated.%0D%0A%0D%0AThus%20far%20I%27ve%20done%20all%20of%20my%20Erlang%20development%20on%20" title="Google Bookmarks"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.roberthorvick.com%2F2009%2F07%2F08%2Fsyntax-highlighing-for-erlang-in-notepad%2F&amp;title=Syntax%20Highlighing%20for%20Erlang%20in%20NotePad%2B%2B" title="StumbleUpon"><img src="http://www.roberthorvick.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.roberthorvick.com/2009/07/08/syntax-highlighing-for-erlang-in-notepad/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

