<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: Too much to do and not enough time</title>
	<atom:link href="http://www.fieryfred.org.uk/2007/08/20/too-much-to-do-and-not-enough-time/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fieryfred.org.uk/2007/08/20/too-much-to-do-and-not-enough-time/</link>
	<description>Random meanderings of a software developer</description>
	<lastBuildDate>Mon, 23 Mar 2009 09:10:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: David</title>
		<link>http://www.fieryfred.org.uk/2007/08/20/too-much-to-do-and-not-enough-time/comment-page-1/#comment-7</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 22 Aug 2007 09:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://fieryfred.org.uk/?p=16#comment-7</guid>
		<description>Thanks for the example code Tom. I&#039;ll give it a go</description>
		<content:encoded><![CDATA[<p>Thanks for the example code Tom. I&#8217;ll give it a go</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrben</title>
		<link>http://www.fieryfred.org.uk/2007/08/20/too-much-to-do-and-not-enough-time/comment-page-1/#comment-6</link>
		<dc:creator>mrben</dc:creator>
		<pubDate>Tue, 21 Aug 2007 09:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://fieryfred.org.uk/?p=16#comment-6</guid>
		<description>Presumably you&#039;re aware of lolcode? www.lolcode.com .....</description>
		<content:encoded><![CDATA[<p>Presumably you&#8217;re aware of lolcode? <a href="http://www.lolcode.com" rel="nofollow">http://www.lolcode.com</a> &#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Copeland</title>
		<link>http://www.fieryfred.org.uk/2007/08/20/too-much-to-do-and-not-enough-time/comment-page-1/#comment-5</link>
		<dc:creator>Tom Copeland</dc:creator>
		<pubDate>Tue, 21 Aug 2007 02:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://fieryfred.org.uk/?p=16#comment-5</guid>
		<description>Er, hm, let&#039;s try that with some HTML escaping:

$ cat pirate.jj 
options {
  IGNORE_CASE=true;
}
PARSER_BEGIN(Pirate)
import java.io.*;
public class Pirate {
  public static void main(String[] args) throws ParseException{
    Pirate p = new Pirate(new StringReader(args[0]));
    p.ahoy();
  }
}
PARSER_END(Pirate)
SKIP : {
  &quot; &quot;
}
TOKEN : {
  &lt;AHOY : &quot;ahoy&quot;&gt;
  &#124; &lt;STRING : &quot;&#039;&quot; ([&quot;a&quot;-&quot;z&quot;])+ &quot;&#039;&quot; &gt;
}
void ahoy() : {
  String s;
  } {
  &lt;AHOY&gt; s=&lt;STRING&gt;.image 
  {System.out.println(&quot;A pirate said: Ahoy &quot; + s + &quot; !&quot;);}
}

$ javacc pirate.jj &amp;&amp; javac *.java &amp;&amp; java Pirate &quot;Ahoy &#039;matey&#039;&quot;
Java Compiler Compiler Version 4.0 (Parser Generator)
(type &quot;javacc&quot; with no arguments for help)
Reading from file pirate.jj . . .
Parser generated successfully.
Note: Pirate.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
A pirate said: Ahoy &#039;matey&#039; !</description>
		<content:encoded><![CDATA[<p>Er, hm, let&#8217;s try that with some HTML escaping:</p>
<p>$ cat pirate.jj<br />
options {<br />
  IGNORE_CASE=true;<br />
}<br />
PARSER_BEGIN(Pirate)<br />
import java.io.*;<br />
public class Pirate {<br />
  public static void main(String[] args) throws ParseException{<br />
    Pirate p = new Pirate(new StringReader(args[0]));<br />
    p.ahoy();<br />
  }<br />
}<br />
PARSER_END(Pirate)<br />
SKIP : {<br />
  &#8221; &#8221;<br />
}<br />
TOKEN : {<br />
  &lt;AHOY : &#8220;ahoy&#8221;&gt;<br />
  | &lt;STRING : &#8220;&#8216;&#8221; (["a"-"z"])+ &#8220;&#8216;&#8221; &gt;<br />
}<br />
void ahoy() : {<br />
  String s;<br />
  } {<br />
  &lt;AHOY&gt; s=&lt;STRING&gt;.image<br />
  {System.out.println(&#8220;A pirate said: Ahoy &#8221; + s + &#8221; !&#8221;);}<br />
}</p>
<p>$ javacc pirate.jj &amp;&amp; javac *.java &amp;&amp; java Pirate &#8220;Ahoy &#8216;matey&#8217;&#8221;<br />
Java Compiler Compiler Version 4.0 (Parser Generator)<br />
(type &#8220;javacc&#8221; with no arguments for help)<br />
Reading from file pirate.jj . . .<br />
Parser generated successfully.<br />
Note: Pirate.java uses unchecked or unsafe operations.<br />
Note: Recompile with -Xlint:unchecked for details.<br />
A pirate said: Ahoy &#8216;matey&#8217; !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Copeland</title>
		<link>http://www.fieryfred.org.uk/2007/08/20/too-much-to-do-and-not-enough-time/comment-page-1/#comment-4</link>
		<dc:creator>Tom Copeland</dc:creator>
		<pubDate>Tue, 21 Aug 2007 02:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://fieryfred.org.uk/?p=16#comment-4</guid>
		<description>Here&#039;s a start!

$ cat pirate.jj 
options {
  IGNORE_CASE=true;
}
PARSER_BEGIN(Pirate)
import java.io.*;
public class Pirate {
  public static void main(String[] args) throws ParseException{
    Pirate p = new Pirate(new StringReader(args[0]));
    p.ahoy();
  }
}
PARSER_END(Pirate)
SKIP : {
  &quot; &quot;
}
TOKEN : {
  
  &#124; 
}
void ahoy() : {
  String s;
  } {
   s=.image 
  {System.out.println(&quot;A pirate said: Ahoy &quot; + s + &quot; !&quot;);}
}

$ javacc pirate.jj &amp;&amp; javac *.java &amp;&amp; java Pirate &quot;Ahoy &#039;matey&#039;&quot;
Java Compiler Compiler Version 4.0 (Parser Generator)
(type &quot;javacc&quot; with no arguments for help)
Reading from file pirate.jj . . .
Parser generated successfully.
Note: Pirate.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
A pirate said: Ahoy &#039;matey&#039; !</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a start!</p>
<p>$ cat pirate.jj<br />
options {<br />
  IGNORE_CASE=true;<br />
}<br />
PARSER_BEGIN(Pirate)<br />
import java.io.*;<br />
public class Pirate {<br />
  public static void main(String[] args) throws ParseException{<br />
    Pirate p = new Pirate(new StringReader(args[0]));<br />
    p.ahoy();<br />
  }<br />
}<br />
PARSER_END(Pirate)<br />
SKIP : {<br />
  &#8221; &#8221;<br />
}<br />
TOKEN : {</p>
<p>  |<br />
}<br />
void ahoy() : {<br />
  String s;<br />
  } {<br />
   s=.image<br />
  {System.out.println(&#8220;A pirate said: Ahoy &#8221; + s + &#8221; !&#8221;);}<br />
}</p>
<p>$ javacc pirate.jj &amp;&amp; javac *.java &amp;&amp; java Pirate &#8220;Ahoy &#8216;matey&#8217;&#8221;<br />
Java Compiler Compiler Version 4.0 (Parser Generator)<br />
(type &#8220;javacc&#8221; with no arguments for help)<br />
Reading from file pirate.jj . . .<br />
Parser generated successfully.<br />
Note: Pirate.java uses unchecked or unsafe operations.<br />
Note: Recompile with -Xlint:unchecked for details.<br />
A pirate said: Ahoy &#8216;matey&#8217; !</p>
]]></content:encoded>
	</item>
</channel>
</rss>

