<?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"
	>
<channel>
	<title>Comments on: Parsing JSON with Scala</title>
	<atom:link href="http://www.hvergi.net/2008/06/parsing-json-with-scala/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hvergi.net/2008/06/parsing-json-with-scala/</link>
	<description>Just another programming weblog</description>
	<pubDate>Tue, 18 Nov 2008 15:06:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: forestman</title>
		<link>http://www.hvergi.net/2008/06/parsing-json-with-scala/#comment-597</link>
		<dc:creator>forestman</dc:creator>
		<pubDate>Wed, 29 Oct 2008 00:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.hvergi.net/?p=22#comment-597</guid>
		<description>&lt;p&gt;&lt;strong&gt;yo...&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;usefull...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>yo&#8230;</strong></p>

<p>usefull&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Arnar</title>
		<link>http://www.hvergi.net/2008/06/parsing-json-with-scala/#comment-39</link>
		<dc:creator>Arnar</dc:creator>
		<pubDate>Tue, 08 Jul 2008 00:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.hvergi.net/?p=22#comment-39</guid>
		<description>&lt;p&gt;@The Superunknown: Yes, I fully acknowledge that comments are not part of the JSON grammar. Consider it an extension if you will. In any case, my parser doesn't parse all JSON strings (in particular ones including floating point numbers) - so I don't claim it is a full JSON parser anyways.&lt;/p&gt;

&lt;p&gt;We might agree to disagree, but I believe that unless you specifically require it, a parser for language X might very well accept &lt;em&gt;more&lt;/em&gt; strings than those of X, hence "language extensions", which are very common in parser/compilers for languages defined by a standard.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@The Superunknown: Yes, I fully acknowledge that comments are not part of the JSON grammar. Consider it an extension if you will. In any case, my parser doesn&#8217;t parse all JSON strings (in particular ones including floating point numbers) - so I don&#8217;t claim it is a full JSON parser anyways.</p>

<p>We might agree to disagree, but I believe that unless you specifically require it, a parser for language X might very well accept <em>more</em> strings than those of X, hence &#8220;language extensions&#8221;, which are very common in parser/compilers for languages defined by a standard.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: The Superunknown</title>
		<link>http://www.hvergi.net/2008/06/parsing-json-with-scala/#comment-37</link>
		<dc:creator>The Superunknown</dc:creator>
		<pubDate>Fri, 27 Jun 2008 14:10:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.hvergi.net/?p=22#comment-37</guid>
		<description>&lt;p&gt;@Arnar
Take a good look at the grammar here(http://www.json.org/); it has no mention of comments whatsoever. Even the official parser by Crockford doesn't deal with comments unless you are talking about something other than JSON... ;-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Arnar
Take a good look at the grammar here(http://www.json.org/); it has no mention of comments whatsoever. Even the official parser by Crockford doesn&#8217;t deal with comments unless you are talking about something other than JSON&#8230; ;-)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Arnar</title>
		<link>http://www.hvergi.net/2008/06/parsing-json-with-scala/#comment-36</link>
		<dc:creator>Arnar</dc:creator>
		<pubDate>Fri, 27 Jun 2008 10:28:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.hvergi.net/?p=22#comment-36</guid>
		<description>&lt;p&gt;Mr. Name,&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;If your parser allows /* or //, then it’s not a working JSON parser.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;By the same argument, GCC is not a working C parser then, since the // comment syntax is not supported by the C standard, but GCC handles them anyways. :)&lt;/p&gt;

&lt;p&gt;A "working parser" imo is a parser that correctly recognizes and parses all strings of a language, even it can parse some strings outside of the language as well as long as it makes sense.&lt;/p&gt;

&lt;p&gt;In any case, Javascript's &lt;code&gt;eval()&lt;/code&gt;function, the original motivation for JSON, supports comments.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Mr. Name,</p>

<blockquote>
  <p>If your parser allows /* or //, then it’s not a working JSON parser.</p>
</blockquote>

<p>By the same argument, GCC is not a working C parser then, since the // comment syntax is not supported by the C standard, but GCC handles them anyways. :)</p>

<p>A &#8220;working parser&#8221; imo is a parser that correctly recognizes and parses all strings of a language, even it can parse some strings outside of the language as well as long as it makes sense.</p>

<p>In any case, Javascript&#8217;s <code>eval()</code>function, the original motivation for JSON, supports comments.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Guðmundur Bjarni</title>
		<link>http://www.hvergi.net/2008/06/parsing-json-with-scala/#comment-34</link>
		<dc:creator>Guðmundur Bjarni</dc:creator>
		<pubDate>Thu, 26 Jun 2008 22:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.hvergi.net/?p=22#comment-34</guid>
		<description>&lt;p&gt;Great! The readers just got a lucky break then! :) I just looked at the parser Arnar wrote and saw that he supported comments. He's a smart guy so I just took his word on it.&lt;/p&gt;

&lt;p&gt;Thanks for pointing out that the Scala parser is smarter than the Haskell parser :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great! The readers just got a lucky break then! :) I just looked at the parser Arnar wrote and saw that he supported comments. He&#8217;s a smart guy so I just took his word on it.</p>

<p>Thanks for pointing out that the Scala parser is smarter than the Haskell parser :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Name</title>
		<link>http://www.hvergi.net/2008/06/parsing-json-with-scala/#comment-33</link>
		<dc:creator>Name</dc:creator>
		<pubDate>Thu, 26 Jun 2008 22:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.hvergi.net/?p=22#comment-33</guid>
		<description>&lt;blockquote&gt;
  &lt;p&gt;I noticed also that this JSON parser does not handle comments, which I leave as an exercise to my good readers.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;JSON itself doesn't support comments. If your parser allows /* or //, then it's not a working JSON parser.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<blockquote>
  <p>I noticed also that this JSON parser does not handle comments, which I leave as an exercise to my good readers.</p>
</blockquote>

<p>JSON itself doesn&#8217;t support comments. If your parser allows /* or //, then it&#8217;s not a working JSON parser.</p>]]></content:encoded>
	</item>
</channel>
</rss>
