<?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: JParser now with Automatic Semicolon Insertion</title>
	<atom:link href="http://timwhitlock.info/blog/2008/06/01/jparser-now-with-automatic-semicolon-insertion/feed/" rel="self" type="application/rss+xml" />
	<link>http://timwhitlock.info/blog/2008/06/01/jparser-now-with-automatic-semicolon-insertion/</link>
	<description>Tim Whitlock&#039;s personal site and blog</description>
	<lastBuildDate>Fri, 03 Feb 2012 12:28:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jermaine</title>
		<link>http://timwhitlock.info/blog/2008/06/01/jparser-now-with-automatic-semicolon-insertion/#comment-2252</link>
		<dc:creator>Jermaine</dc:creator>
		<pubDate>Thu, 16 Sep 2010 08:17:09 +0000</pubDate>
		<guid isPermaLink="false">http://web.2point1.com/2008/06/01/jparser-now-with-automatic-semicolon-insertion/#comment-2252</guid>
		<description>I know this thread is a bit old, but is it possible to get the javascript with the semicolons inserted after it has been parsed?</description>
		<content:encoded><![CDATA[<p>I know this thread is a bit old, but is it possible to get the javascript with the semicolons inserted after it has been parsed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://timwhitlock.info/blog/2008/06/01/jparser-now-with-automatic-semicolon-insertion/#comment-27</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 26 Feb 2009 10:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://web.2point1.com/2008/06/01/jparser-now-with-automatic-semicolon-insertion/#comment-27</guid>
		<description>Actually the parse table generator is also native PHP. I&#039;m loading my own variant of BNF notation. I&#039;ll upload the grammar for your interest to a new post later on.. cheers!

Also with regard to this post specifically: the automatic semicolon insertion is actually handled at parse-time, (i.e. the grammar says it&#039;s mandatory). If the parser is in error in certain situations it inserts a semicolon and tries again. This technique is more-or-less what is described in the ECMAScript specification.

P.S. &lt;a href=&quot;http://web.2point1.com/2009/02/24/jparser-release-in-the-pipeline/&quot; rel=&quot;nofollow&quot;&gt;This post on jParser&lt;/a&gt; is more recent</description>
		<content:encoded><![CDATA[<p>Actually the parse table generator is also native PHP. I&#8217;m loading my own variant of BNF notation. I&#8217;ll upload the grammar for your interest to a new post later on.. cheers!</p>
<p>Also with regard to this post specifically: the automatic semicolon insertion is actually handled at parse-time, (i.e. the grammar says it&#8217;s mandatory). If the parser is in error in certain situations it inserts a semicolon and tries again. This technique is more-or-less what is described in the ECMAScript specification.</p>
<p>P.S. <a href="http://web.2point1.com/2009/02/24/jparser-release-in-the-pipeline/" rel="nofollow">This post on jParser</a> is more recent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://timwhitlock.info/blog/2008/06/01/jparser-now-with-automatic-semicolon-insertion/#comment-26</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Thu, 26 Feb 2009 00:34:54 +0000</pubDate>
		<guid isPermaLink="false">http://web.2point1.com/2008/06/01/jparser-now-with-automatic-semicolon-insertion/#comment-26</guid>
		<description>This is cool. Are you generating the PHP with ANTLR? If so, anyway I could get the ANTLR grammar?

Cheers,
Sean</description>
		<content:encoded><![CDATA[<p>This is cool. Are you generating the PHP with ANTLR? If so, anyway I could get the ANTLR grammar?</p>
<p>Cheers,<br />
Sean</p>
]]></content:encoded>
	</item>
</channel>
</rss>

