<?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 for What&#039;s up at Control-Q</title>
	<atom:link href="http://www.controlq.com/blog/wordpress/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://www.controlq.com/blog/wordpress</link>
	<description>News and Views from Those What Nose</description>
	<lastBuildDate>Thu, 19 May 2011 22:07:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Very light weight scripting &#8230; in Forth(?). by admin</title>
		<link>http://www.controlq.com/blog/wordpress/?p=352&#038;cpage=1#comment-1500</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 19 May 2011 22:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.controlq.com/blog/wordpress/?p=352#comment-1500</guid>
		<description>Hmmm ... I&#039;d have to look at the ANS spec to be sure, but look for it in 1.0.7.

Thanks.
Rob.</description>
		<content:encoded><![CDATA[<p>Hmmm &#8230; I&#8217;d have to look at the ANS spec to be sure, but look for it in 1.0.7.</p>
<p>Thanks.<br />
Rob.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very light weight scripting &#8230; in Forth(?). by ur2c</title>
		<link>http://www.controlq.com/blog/wordpress/?p=352&#038;cpage=1#comment-1475</link>
		<dc:creator>ur2c</dc:creator>
		<pubDate>Wed, 18 May 2011 09:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.controlq.com/blog/wordpress/?p=352#comment-1475</guid>
		<description>Re: 00-01-06

Shouldn&#039;t comment &quot;(&quot; be immediate?</description>
		<content:encoded><![CDATA[<p>Re: 00-01-06</p>
<p>Shouldn&#8217;t comment &#8220;(&#8221; be immediate?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very light weight scripting &#8230; in Forth(?). by admin</title>
		<link>http://www.controlq.com/blog/wordpress/?p=352&#038;cpage=1#comment-1445</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 12 May 2011 02:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.controlq.com/blog/wordpress/?p=352#comment-1445</guid>
		<description>Actually, the depth thing is an order of operations issue, and differs between clang and gcc.  Any number of definitions might have been simplified, and written as one liners, but to do so, would break clang code.  In keeping, I&#039;ve uglified a bunch of the entries for portability.  Thanks for the input, though, I have applied the requested changes, and removed the clang warnings.</description>
		<content:encoded><![CDATA[<p>Actually, the depth thing is an order of operations issue, and differs between clang and gcc.  Any number of definitions might have been simplified, and written as one liners, but to do so, would break clang code.  In keeping, I&#8217;ve uglified a bunch of the entries for portability.  Thanks for the input, though, I have applied the requested changes, and removed the clang warnings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very light weight scripting &#8230; in Forth(?). by crc</title>
		<link>http://www.controlq.com/blog/wordpress/?p=352&#038;cpage=1#comment-1444</link>
		<dc:creator>crc</dc:creator>
		<pubDate>Thu, 12 May 2011 00:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.controlq.com/blog/wordpress/?p=352#comment-1444</guid>
		<description>Ok. First the issue with depth. You have:

void depth(){
  push( tos - (Cell_t *) StartOf( stack ) - 1 ) ;
}

Which returns -1 if the stack is empty, 0 if one item is on the stack and so on. Removing the - 1 at the end will fix this.

Second, where you have:

#ifdef linux

Needs to be replaced with:

#if defined (linux) &#124;&#124; defined (__APPLE__)

To allow building under OS X.

Third, the compiler warnings can be viewed at http://sprunge.us/HNbS

The unused variables are tolerable, but there&#039;s a few missing casts that should be fixed.

Overall though, this is a nice little thing which I&#039;ll be watching in the future. Thanks for sharing it.</description>
		<content:encoded><![CDATA[<p>Ok. First the issue with depth. You have:</p>
<p>void depth(){<br />
  push( tos &#8211; (Cell_t *) StartOf( stack ) &#8211; 1 ) ;<br />
}</p>
<p>Which returns -1 if the stack is empty, 0 if one item is on the stack and so on. Removing the &#8211; 1 at the end will fix this.</p>
<p>Second, where you have:</p>
<p>#ifdef linux</p>
<p>Needs to be replaced with:</p>
<p>#if defined (linux) || defined (__APPLE__)</p>
<p>To allow building under OS X.</p>
<p>Third, the compiler warnings can be viewed at <a href="http://sprunge.us/HNbS" rel="nofollow">http://sprunge.us/HNbS</a></p>
<p>The unused variables are tolerable, but there&#8217;s a few missing casts that should be fixed.</p>
<p>Overall though, this is a nice little thing which I&#8217;ll be watching in the future. Thanks for sharing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very light weight scripting &#8230; in Forth(?). by crc</title>
		<link>http://www.controlq.com/blog/wordpress/?p=352&#038;cpage=1#comment-1439</link>
		<dc:creator>crc</dc:creator>
		<pubDate>Wed, 11 May 2011 01:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.controlq.com/blog/wordpress/?p=352#comment-1439</guid>
		<description>I found a bug in the depth() function, which was returning one less than the number of items on the stack. Also, the default source fails to build under MacOS X.

I put up a version at http://sprunge.us/FUae which fixes both of these, and also corrects all compiler warnings reported by clang.</description>
		<content:encoded><![CDATA[<p>I found a bug in the depth() function, which was returning one less than the number of items on the stack. Also, the default source fails to build under MacOS X.</p>
<p>I put up a version at <a href="http://sprunge.us/FUae" rel="nofollow">http://sprunge.us/FUae</a> which fixes both of these, and also corrects all compiler warnings reported by clang.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very light weight scripting &#8230; in Forth(?). by admin</title>
		<link>http://www.controlq.com/blog/wordpress/?p=352&#038;cpage=1#comment-1437</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 10 May 2011 20:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.controlq.com/blog/wordpress/?p=352#comment-1437</guid>
		<description>Yes, sorry Ed.  If you download again the glitches for the mingw32 compile have been repaired.  This single file runs primarily on Linux and Unix, and I test Windows *MUCH* less often.  Thanks for the input!</description>
		<content:encoded><![CDATA[<p>Yes, sorry Ed.  If you download again the glitches for the mingw32 compile have been repaired.  This single file runs primarily on Linux and Unix, and I test Windows *MUCH* less often.  Thanks for the input!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Very light weight scripting &#8230; in Forth(?). by Ed Davis</title>
		<link>http://www.controlq.com/blog/wordpress/?p=352&#038;cpage=1#comment-1434</link>
		<dc:creator>Ed Davis</dc:creator>
		<pubDate>Tue, 10 May 2011 17:36:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.controlq.com/blog/wordpress/?p=352#comment-1434</guid>
		<description>I tried to compile this on Windows with MingW.  I get:

miniforth.c:201: error: conflicting types for &#039;eof&#039;
c:/bin/mingw/bin/../lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/io.h:276:
error: previous declaration of &#039;eof&#039; was here
miniforth.c:201: error: conflicting types for &#039;eof&#039;
c:/bin/mingw/bin/../lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/io.h:276:
error: previous declaration of &#039;eof&#039; was here
miniforth.c: In function `outfile&#039;:
miniforth.c:1796: error: `S_IRGRP&#039; undeclared (first use in this function)
miniforth.c:1796: error: (Each undeclared identifier is reported only once
miniforth.c:1796: error: for each function it appears in.)
miniforth.c:1796: error: `S_IWGRP&#039; undeclared (first use in this function)
miniforth.c:1796: error: `S_IROTH&#039; undeclared (first use in this function)

Thanks for any tips!</description>
		<content:encoded><![CDATA[<p>I tried to compile this on Windows with MingW.  I get:</p>
<p>miniforth.c:201: error: conflicting types for &#8216;eof&#8217;<br />
c:/bin/mingw/bin/../lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/io.h:276:<br />
error: previous declaration of &#8216;eof&#8217; was here<br />
miniforth.c:201: error: conflicting types for &#8216;eof&#8217;<br />
c:/bin/mingw/bin/../lib/gcc/i686-pc-mingw32/3.4.2/../../../../include/io.h:276:<br />
error: previous declaration of &#8216;eof&#8217; was here<br />
miniforth.c: In function `outfile&#8217;:<br />
miniforth.c:1796: error: `S_IRGRP&#8217; undeclared (first use in this function)<br />
miniforth.c:1796: error: (Each undeclared identifier is reported only once<br />
miniforth.c:1796: error: for each function it appears in.)<br />
miniforth.c:1796: error: `S_IWGRP&#8217; undeclared (first use in this function)<br />
miniforth.c:1796: error: `S_IROTH&#8217; undeclared (first use in this function)</p>
<p>Thanks for any tips!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

