<?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>Rusty Razor Blade &#187; leex</title>
	<atom:link href="http://www.rustyrazorblade.com/category/leex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rustyrazorblade.com</link>
	<description>Tech Thoughts, Mostly on LAMP - by Jon Haddad</description>
	<lastBuildDate>Wed, 21 Jul 2010 20:42:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Erlang: Installing Leex</title>
		<link>http://www.rustyrazorblade.com/2008/11/erlang-installing-leex/</link>
		<comments>http://www.rustyrazorblade.com/2008/11/erlang-installing-leex/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 01:59:23 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[erlang]]></category>
		<category><![CDATA[leex]]></category>

		<guid isPermaLink="false">http://www.rustyrazorblade.com/?p=348</guid>
		<description><![CDATA[Leex is an erlang version of Lex, a Lexical Analyzer Generator written by Robert Virding.  Robert (and several others in #erlang on freenode) were incredibly helpful and considerate in helping me understand these tools.
Leex is a tokenizer.  It breaks the pieces of your file or text into tokens. You can then use a [...]]]></description>
			<content:encoded><![CDATA[<p>Leex is an erlang version of <a href="http://dinosaur.compilertools.net/lex/">Lex</a>, a Lexical Analyzer Generator written by Robert Virding.  Robert (and several others in #erlang on freenode) were incredibly helpful and considerate in helping me understand these tools.</p>
<p>Leex is a tokenizer.  It breaks the pieces of your file or text into tokens. You can then use a tool like yecc to take these tokens and generate useful parsers.</p>
<p>First, you&#8217;ll need the source.  <a href="http://www.trapexit.org/forum/viewtopic.php?p=43929">Leex source is available here</a>.  Go down to the last post in the forum, download the attached file.</p>
<ol>
<li>Create a directory for your erlang packages.  I chose ~/erlang.</li>
<li>Drop the leex directory in your new erlang package directory.</li>
<li>Edit your ~/.erlang file (it probably doesn&#8217;t exist yet) to include this line, making sure to use the path to your erlang package directory instead of mine:<br />
<blockquote><p>code:add_pathz(&#8221;/Users/jhaddad/erlang/leex/ebin&#8221;).</p></blockquote>
</li>
</ol>
<p>You should be able to use the leex libraries now.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rustyrazorblade.com/2008/11/erlang-installing-leex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
