<?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: A tiny interpreter for a stack-based language</title>
	<atom:link href="http://4.flowsnake.org/archives/252/feed" rel="self" type="application/rss+xml" />
	<link>http://4.flowsnake.org/archives/252</link>
	<description>A Pythoneer&#039;s adventures with Scheme, etc.</description>
	<lastBuildDate>Mon, 18 Jul 2011 14:37:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Link Backlog &#124; Programmer's Log</title>
		<link>http://4.flowsnake.org/archives/252/comment-page-1#comment-448</link>
		<dc:creator>Link Backlog &#124; Programmer's Log</dc:creator>
		<pubDate>Tue, 06 Jan 2009 22:34:55 +0000</pubDate>
		<guid isPermaLink="false">http://4.flowsnake.org/?p=252#comment-448</guid>
		<description>[...] A tiny interpreter for a stack-based language Writing an interpreter in Python. [...]</description>
		<content:encoded><![CDATA[<p>[...] A tiny interpreter for a stack-based language Writing an interpreter in Python. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans Nowak</title>
		<link>http://4.flowsnake.org/archives/252/comment-page-1#comment-445</link>
		<dc:creator>Hans Nowak</dc:creator>
		<pubDate>Mon, 05 Jan 2009 23:38:42 +0000</pubDate>
		<guid isPermaLink="false">http://4.flowsnake.org/?p=252#comment-445</guid>
		<description>Ah, yes, Poplog... I wrote about it a few years ago. Here are the links to those posts:

http://zephyrfalcon.org/weblog2/arch_e10_00560.html#e562

http://zephyrfalcon.org/weblog2/arch_e10_00560.html#e563

I wonder if it has evolved since then? I&#039;ll have to take a look.</description>
		<content:encoded><![CDATA[<p>Ah, yes, Poplog&#8230; I wrote about it a few years ago. Here are the links to those posts:</p>
<p><a href="http://zephyrfalcon.org/weblog2/arch_e10_00560.html#e562" rel="nofollow">http://zephyrfalcon.org/weblog2/arch_e10_00560.html#e562</a></p>
<p><a href="http://zephyrfalcon.org/weblog2/arch_e10_00560.html#e563" rel="nofollow">http://zephyrfalcon.org/weblog2/arch_e10_00560.html#e563</a></p>
<p>I wonder if it has evolved since then? I&#8217;ll have to take a look.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://4.flowsnake.org/archives/252/comment-page-1#comment-444</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Mon, 05 Jan 2009 23:34:55 +0000</pubDate>
		<guid isPermaLink="false">http://4.flowsnake.org/?p=252#comment-444</guid>
		<description>Another not very known but mature stack-based language is Pop-11. It&#039;s the base of the Poplog VM that also include implementations of Common Lisp, Prolog, Scheme and SML. Used for many years for AI, it was open sourced some years ago. Available for a number of OSs, can be found at: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html

Pop-11 is very funny to program in, allowing things that are impossible in most other languages.

A curious detail is that assignement is done from left to right:

    5 -&gt; x;

It&#039;s done through the user stack, so it could be splitted:

    5;
    -&gt; x;

Although its called VM, Poplog isn&#039;t an interpreter or uses bytecode, but it&#039;s incrementally compiled.</description>
		<content:encoded><![CDATA[<p>Another not very known but mature stack-based language is Pop-11. It&#8217;s the base of the Poplog VM that also include implementations of Common Lisp, Prolog, Scheme and SML. Used for many years for AI, it was open sourced some years ago. Available for a number of OSs, can be found at: <a href="http://www.cs.bham.ac.uk/research/poplog/freepoplog.html" rel="nofollow">http://www.cs.bham.ac.uk/research/poplog/freepoplog.html</a></p>
<p>Pop-11 is very funny to program in, allowing things that are impossible in most other languages.</p>
<p>A curious detail is that assignement is done from left to right:</p>
<p>    5 -&gt; x;</p>
<p>It&#8217;s done through the user stack, so it could be splitted:</p>
<p>    5;<br />
    -&gt; x;</p>
<p>Although its called VM, Poplog isn&#8217;t an interpreter or uses bytecode, but it&#8217;s incrementally compiled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans Nowak</title>
		<link>http://4.flowsnake.org/archives/252/comment-page-1#comment-412</link>
		<dc:creator>Hans Nowak</dc:creator>
		<pubDate>Mon, 22 Dec 2008 17:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://4.flowsnake.org/?p=252#comment-412</guid>
		<description>Yes, the Python VM is stack-based as well... but people don&#039;t usually program in it directly.</description>
		<content:encoded><![CDATA[<p>Yes, the Python VM is stack-based as well&#8230; but people don&#8217;t usually program in it directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evgueni</title>
		<link>http://4.flowsnake.org/archives/252/comment-page-1#comment-411</link>
		<dc:creator>Evgueni</dc:creator>
		<pubDate>Mon, 22 Dec 2008 16:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://4.flowsnake.org/?p=252#comment-411</guid>
		<description>I could be mistaken, but isn&#039;t Python itself uses a stack machine inside (with appropriate bytecodes for it)</description>
		<content:encoded><![CDATA[<p>I could be mistaken, but isn&#8217;t Python itself uses a stack machine inside (with appropriate bytecodes for it)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans Nowak</title>
		<link>http://4.flowsnake.org/archives/252/comment-page-1#comment-408</link>
		<dc:creator>Hans Nowak</dc:creator>
		<pubDate>Sun, 21 Dec 2008 19:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://4.flowsnake.org/?p=252#comment-408</guid>
		<description>You are right. I renamed this class, but forgot the __main__ block. Will fix.</description>
		<content:encoded><![CDATA[<p>You are right. I renamed this class, but forgot the __main__ block. Will fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sidhath</title>
		<link>http://4.flowsnake.org/archives/252/comment-page-1#comment-407</link>
		<dc:creator>Sidhath</dc:creator>
		<pubDate>Sun, 21 Dec 2008 19:23:06 +0000</pubDate>
		<guid isPermaLink="false">http://4.flowsnake.org/?p=252#comment-407</guid>
		<description>Possible Bug.

if __name__ == &quot;__main__&quot;:

    e = Engine()

Shouldn&#039;t this be:

e = Interpreter()

Sorry if I&#039;m wrong...</description>
		<content:encoded><![CDATA[<p>Possible Bug.</p>
<p>if __name__ == &#8220;__main__&#8221;:</p>
<p>    e = Engine()</p>
<p>Shouldn&#8217;t this be:</p>
<p>e = Interpreter()</p>
<p>Sorry if I&#8217;m wrong&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Hoffman</title>
		<link>http://4.flowsnake.org/archives/252/comment-page-1#comment-406</link>
		<dc:creator>Tim Hoffman</dc:creator>
		<pubDate>Sun, 21 Dec 2008 13:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://4.flowsnake.org/?p=252#comment-406</guid>
		<description>Hi Hans

One very widely available (though most people don&#039;t use it directly ;-)
stacked based language that you should mention is postscript.

Whole OO systems including mutliple inheritance and delegation have been built in it.  (A really good example was TNT which ran on NeWS from Sun) a totally awesome system imho ;-)

Cheers

T</description>
		<content:encoded><![CDATA[<p>Hi Hans</p>
<p>One very widely available (though most people don&#8217;t use it directly ;-)<br />
stacked based language that you should mention is postscript.</p>
<p>Whole OO systems including mutliple inheritance and delegation have been built in it.  (A really good example was TNT which ran on NeWS from Sun) a totally awesome system imho ;-)</p>
<p>Cheers</p>
<p>T</p>
]]></content:encoded>
	</item>
</channel>
</rss>

