<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cornerstone Blog &#187; 1</title>
	<atom:link href="http://blog.cornerstonenw.com/category/1/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cornerstonenw.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 02 Jun 2009 20:05:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.cornerstonenw.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a9550e9aa1cafa062e9458365a663af9?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Cornerstone Blog &#187; 1</title>
		<link>http://blog.cornerstonenw.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.cornerstonenw.com/osd.xml" title="Cornerstone Blog" />
	<atom:link rel='hub' href='http://blog.cornerstonenw.com/?pushpress=hub'/>
		<item>
		<title>doctestjs</title>
		<link>http://blog.cornerstonenw.com/2009/06/02/doctestjs/</link>
		<comments>http://blog.cornerstonenw.com/2009/06/02/doctestjs/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 19:26:28 +0000</pubDate>
		<dc:creator>Peter Rust</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://blog.cornerstonenw.com/?p=62</guid>
		<description><![CDATA[Ian Bicking has written a doctest for Javascript. This is exactly what I was looking for, so I&#8217;ve plugged it in and it&#8217;s working great so far — except that the docs have to be coded by hand. I guess the next stop is to port jsdoc-toolkit from Javascript/Rhino to Python, so I can auto-generate [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.cornerstonenw.com&blog=4810299&post=62&subd=csnw&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.ianbicking.org">Ian Bicking</a> has written a <a href="http://blog.ianbicking.org/javascript-doctest.html">doctest</a> for Javascript. This is exactly what I was looking for, so I&#8217;ve plugged it in and it&#8217;s working great so far — except that the docs have to be coded by hand. I guess the next stop is to port <a href="http://code.google.com/p/jsdoc-toolkit/">jsdoc-toolkit</a> from Javascript/Rhino to Python, so I can auto-generate the docs.</p>
<p>There was small fix I had to make in order for doctestjs to read the tests appropriately because I&#8217;m sometimes sloppy in whether my files use Unix/Mac/Dos line termination. I replaced <strong>text.split(/\n/)</strong> with <strong>text.split(/(\r\n|\r|\n)/)</strong>. (don&#8217;t you love reading regex? Wonder how long it&#8217;ll be before somebody ports pyparsing to JS&#8230;)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/csnw.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/csnw.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/csnw.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/csnw.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/csnw.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/csnw.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/csnw.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/csnw.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/csnw.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/csnw.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.cornerstonenw.com&blog=4810299&post=62&subd=csnw&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.cornerstonenw.com/2009/06/02/doctestjs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8487c9b384917933d01bbdd2651cdaf1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">peterrust</media:title>
		</media:content>
	</item>
	</channel>
</rss>