<?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: Improving LOL</title>
	<atom:link href="http://blog.mozilla.com/seth/2009/08/28/improving-lol/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/seth/2009/08/28/improving-lol/</link>
	<description>localization and community at mozilla</description>
	<lastBuildDate>Tue, 07 Jun 2011 10:48:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Gerv</title>
		<link>http://blog.mozilla.com/seth/2009/08/28/improving-lol/comment-page-1/#comment-143405</link>
		<dc:creator>Gerv</dc:creator>
		<pubDate>Thu, 03 Sep 2009 11:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/seth/?p=555#comment-143405</guid>
		<description>If we are set on LOL, I think it would be great for someone to look at the current format in the light of the issues raised in the chapter from The Art of Unix Programming.

Gerv</description>
		<content:encoded><![CDATA[<p>If we are set on LOL, I think it would be great for someone to look at the current format in the light of the issues raised in the chapter from The Art of Unix Programming.</p>
<p>Gerv</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel Hecht</title>
		<link>http://blog.mozilla.com/seth/2009/08/28/improving-lol/comment-page-1/#comment-143394</link>
		<dc:creator>Axel Hecht</dc:creator>
		<pubDate>Wed, 02 Sep 2009 13:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/seth/?p=555#comment-143394</guid>
		<description>Gerv, the format shootout is just a few posts back on Seth&#039;s blog, http://blog.mozilla.com/seth/2009/08/24/the-l20n-format-shootout/ (cross posted from Jeremy again).

As you can see, we did look at other popular formats, with significant drawbacks.</description>
		<content:encoded><![CDATA[<p>Gerv, the format shootout is just a few posts back on Seth&#8217;s blog, <a href="http://blog.mozilla.com/seth/2009/08/24/the-l20n-format-shootout/" rel="nofollow">http://blog.mozilla.com/seth/2009/08/24/the-l20n-format-shootout/</a> (cross posted from Jeremy again).</p>
<p>As you can see, we did look at other popular formats, with significant drawbacks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerv</title>
		<link>http://blog.mozilla.com/seth/2009/08/28/improving-lol/comment-page-1/#comment-143393</link>
		<dc:creator>Gerv</dc:creator>
		<pubDate>Wed, 02 Sep 2009 11:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/seth/?p=555#comment-143393</guid>
		<description>Again, I implore you, please move heaven and earth to avoid designing your own file format and syntax. Is it really the case that no-one in computing history has come up with a suitable format for encoding grouped sets of key-value pairs?

&quot;Among the hardest things to get right in designing any text file format are issues of quoting, whitespace and other low-level syntax details. Custom file formats often suffer from slightly broken syntax that doesn&#039;t quite match other similar formats. Using a standard format ..., which is verifiable and parsed by a standard library, eliminates most of these issues.
	 
-- Keith Packard&quot;

However, if you are absolutely determined to roll your own, &quot;The Art of Unix Programming&quot; has some really good chapters on designing file formats, which are required reading.
http://www.faqs.org/docs/artu/ch05s02.html

Gerv</description>
		<content:encoded><![CDATA[<p>Again, I implore you, please move heaven and earth to avoid designing your own file format and syntax. Is it really the case that no-one in computing history has come up with a suitable format for encoding grouped sets of key-value pairs?</p>
<p>&#8220;Among the hardest things to get right in designing any text file format are issues of quoting, whitespace and other low-level syntax details. Custom file formats often suffer from slightly broken syntax that doesn&#8217;t quite match other similar formats. Using a standard format &#8230;, which is verifiable and parsed by a standard library, eliminates most of these issues.</p>
<p>&#8211; Keith Packard&#8221;</p>
<p>However, if you are absolutely determined to roll your own, &#8220;The Art of Unix Programming&#8221; has some really good chapters on designing file formats, which are required reading.<br />
<a href="http://www.faqs.org/docs/artu/ch05s02.html" rel="nofollow">http://www.faqs.org/docs/artu/ch05s02.html</a></p>
<p>Gerv</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel Hecht</title>
		<link>http://blog.mozilla.com/seth/2009/08/28/improving-lol/comment-page-1/#comment-143336</link>
		<dc:creator>Axel Hecht</dc:creator>
		<pubDate>Sun, 30 Aug 2009 13:19:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/seth/?p=555#comment-143336</guid>
		<description>Robert, sorry, but I don&#039;t get the first sentence at all. Can you rephrase that?

Regarding your second comment, we kinda decoupled the question of performance and format by being introducing the compilation of lol into js, which solves more bottlenecks than just parsing, AFAICT right now.</description>
		<content:encoded><![CDATA[<p>Robert, sorry, but I don&#8217;t get the first sentence at all. Can you rephrase that?</p>
<p>Regarding your second comment, we kinda decoupled the question of performance and format by being introducing the compilation of lol into js, which solves more bottlenecks than just parsing, AFAICT right now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Kaiser</title>
		<link>http://blog.mozilla.com/seth/2009/08/28/improving-lol/comment-page-1/#comment-143293</link>
		<dc:creator>Robert Kaiser</dc:creator>
		<pubDate>Fri, 28 Aug 2009 22:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/seth/?p=555#comment-143293</guid>
		<description>Actually, there is one case where we refer to just &quot;button&quot;: In XUL, where this notation should enable use to just not list accesskey explicitely but through the L20n object.

In general, as noted on an earlier post, I think the LOL format is surely open to modification and not set in stone yet, and your changes surely look friendlier, and I&#039;m not sure it&#039;s really worse for a parser. I think we need something different than a dumb regexp parser in any case if we want to be performant.</description>
		<content:encoded><![CDATA[<p>Actually, there is one case where we refer to just &#8220;button&#8221;: In XUL, where this notation should enable use to just not list accesskey explicitely but through the L20n object.</p>
<p>In general, as noted on an earlier post, I think the LOL format is surely open to modification and not set in stone yet, and your changes surely look friendlier, and I&#8217;m not sure it&#8217;s really worse for a parser. I think we need something different than a dumb regexp parser in any case if we want to be performant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://blog.mozilla.com/seth/2009/08/28/improving-lol/comment-page-1/#comment-143292</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Fri, 28 Aug 2009 22:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.com/seth/?p=555#comment-143292</guid>
		<description>The newly suggested code style looks a little awkward to read - though I understand the reason to move away from the angle brackets. Perhaps consider following basic pseudo-CSS grammar with something like:

appName{
  string: &quot;Jägermeister&quot;;
  gender: &quot;male&quot;;
}

complex(appName.gender){
  male: &quot;Ein hübscher ${appName}s.&quot;;
  female: &quot;Ein hübsches ${appName}s.&quot;;
}

This way the code reads a little more naturally and regularly than having an = here and a : there.</description>
		<content:encoded><![CDATA[<p>The newly suggested code style looks a little awkward to read &#8211; though I understand the reason to move away from the angle brackets. Perhaps consider following basic pseudo-CSS grammar with something like:</p>
<p>appName{<br />
  string: &#8220;Jägermeister&#8221;;<br />
  gender: &#8220;male&#8221;;<br />
}</p>
<p>complex(appName.gender){<br />
  male: &#8220;Ein hübscher ${appName}s.&#8221;;<br />
  female: &#8220;Ein hübsches ${appName}s.&#8221;;<br />
}</p>
<p>This way the code reads a little more naturally and regularly than having an = here and a : there.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

