<?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/"
		>
<channel>
	<title>Comments on: A syntactic dilemma (and an intro to Gazelle&#8217;s ambiguity resolution)</title>
	<atom:link href="http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/</link>
	<description>parsing, performance, minimalism with C99</description>
	<lastBuildDate>Mon, 06 Feb 2012 23:44:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Berke Durak</title>
		<link>http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/comment-page-1/#comment-1171</link>
		<dc:creator>Berke Durak</dc:creator>
		<pubDate>Thu, 29 Jan 2009 16:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/#comment-1171</guid>
		<description>Hi,

Thanks for calling me &quot;very smart&quot;!

I have just improved Aurochs&#039; memory consumption by a factor of about ten.  Speed is mostly unchanged.  (Nothing too exotic - a carefully selected hashtable for storing the sparse memo table).

On Javascript, it now takes 25 MB to parse
96 kB file, which is much more acceptable.

I agree that the performance of PEG parsing is lower than what can be obtained by other methods, but I find
it quite OK as a general-purpose parsing
tool, especially in view of its simplicity.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for calling me &#8220;very smart&#8221;!</p>
<p>I have just improved Aurochs&#8217; memory consumption by a factor of about ten.  Speed is mostly unchanged.  (Nothing too exotic &#8211; a carefully selected hashtable for storing the sparse memo table).</p>
<p>On Javascript, it now takes 25 MB to parse<br />
96 kB file, which is much more acceptable.</p>
<p>I agree that the performance of PEG parsing is lower than what can be obtained by other methods, but I find<br />
it quite OK as a general-purpose parsing<br />
tool, especially in view of its simplicity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: orib</title>
		<link>http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/comment-page-1/#comment-1128</link>
		<dc:creator>orib</dc:creator>
		<pubDate>Wed, 05 Nov 2008 19:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/#comment-1128</guid>
		<description>Are you aware of Ometa / Pymeta and friends? It&#039;s PEG based (which I understand you don&#039;t particularly like), but an in-browser JavaScrript implementation takes negligible memory longer than the input itself.

And it makes extending and switching parser extremely simple. Even if you disagree with the whole PEG idea, reading Alex Warth will be worth your time.</description>
		<content:encoded><![CDATA[<p>Are you aware of Ometa / Pymeta and friends? It&#8217;s PEG based (which I understand you don&#8217;t particularly like), but an in-browser JavaScrript implementation takes negligible memory longer than the input itself.</p>
<p>And it makes extending and switching parser extremely simple. Even if you disagree with the whole PEG idea, reading Alex Warth will be worth your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/comment-page-1/#comment-1122</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 03 Oct 2008 04:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/#comment-1122</guid>
		<description>I&#039;d like to second the // option.  Given that an empty regex is not at all useful (at least, I can&#039;t think of any use for one), the syntax can remain unambiguous.  Looking at the rules:

s -&gt; a // b;
s -&gt; a / / b;

and

s -&gt; a /x / b;
s -&gt; a / x  / b;

it would be a good idea disallow whitespace in the // operator, just to make things even more clear.</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to second the // option.  Given that an empty regex is not at all useful (at least, I can&#8217;t think of any use for one), the syntax can remain unambiguous.  Looking at the rules:</p>
<p>s -&gt; a // b;<br />
s -&gt; a / / b;</p>
<p>and</p>
<p>s -&gt; a /x / b;<br />
s -&gt; a / x  / b;</p>
<p>it would be a good idea disallow whitespace in the // operator, just to make things even more clear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/comment-page-1/#comment-1070</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Sat, 23 Aug 2008 18:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/#comment-1070</guid>
		<description>This might be a lame idea, but could you use // for the prioritized choice?  I can not think of a reason why you would want to use // when defining a regular expression.  Everybody knows that two is better then one.

Also, &#124; is OR sometimes and &#124;&#124; is OR other times, so why not / sometimes and // other times....</description>
		<content:encoded><![CDATA[<p>This might be a lame idea, but could you use // for the prioritized choice?  I can not think of a reason why you would want to use // when defining a regular expression.  Everybody knows that two is better then one.</p>
<p>Also, | is OR sometimes and || is OR other times, so why not / sometimes and // other times&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymouse</title>
		<link>http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/comment-page-1/#comment-1050</link>
		<dc:creator>Anonymouse</dc:creator>
		<pubDate>Mon, 18 Aug 2008 17:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.reverberate.org/2008/08/10/a-syntactic-dilemma-and-an-intro-to-gazelles-ambiguity-resolution/#comment-1050</guid>
		<description>re. prioritised choice: How about &#124;&gt;</description>
		<content:encoded><![CDATA[<p>re. prioritised choice: How about |&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

