<?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: tinypy 64k - bootstrapped!</title>
	<atom:link href="http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/</link>
	<description>games, tech, web, stuff, biz, and bilge</description>
	<pubDate>Wed, 27 Aug 2008 23:30:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: kspu</title>
		<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-1805</link>
		<dc:creator>kspu</dc:creator>
		<pubDate>Thu, 27 Mar 2008 15:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-1805</guid>
		<description>About simple permissive license, check , linked from .</description>
		<content:encoded><![CDATA[<p>About simple permissive license, check , linked from .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zooko</title>
		<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-920</link>
		<dc:creator>Zooko</dc:creator>
		<pubDate>Wed, 06 Feb 2008 16:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-920</guid>
		<description>Phil:  Way to go!  This looks very cool.

Don't you want "-Os" instead of "-O2"?

Here's a permissive licence that I created by compressing the MIT licence:

"Permission is hereby granted to any person obtaining a copy of this work to deal in this work without restriction (including the rights to use, modify, distribute, sublicense, and/or sell copies)."

https://zooko.com/simple_permissive_licence.html</description>
		<content:encoded><![CDATA[<p>Phil:  Way to go!  This looks very cool.</p>
<p>Don&#8217;t you want &#8220;-Os&#8221; instead of &#8220;-O2&#8243;?</p>
<p>Here&#8217;s a permissive licence that I created by compressing the MIT licence:</p>
<p>&#8220;Permission is hereby granted to any person obtaining a copy of this work to deal in this work without restriction (including the rights to use, modify, distribute, sublicense, and/or sell copies).&#8221;</p>
<p><a href="https://zooko.com/simple_permissive_licence.html" rel="nofollow">https://zooko.com/simple_permissive_licence.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philhassey</title>
		<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-871</link>
		<dc:creator>philhassey</dc:creator>
		<pubDate>Sat, 02 Feb 2008 06:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-871</guid>
		<description>Rene - I totally designed this with the future in mind.  Actually - since py3k strips out some of the "crufty" syntax of python, I figured I might as well go that way - makes things easier for me.</description>
		<content:encoded><![CDATA[<p>Rene - I totally designed this with the future in mind.  Actually - since py3k strips out some of the &#8220;crufty&#8221; syntax of python, I figured I might as well go that way - makes things easier for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rene Dudfield</title>
		<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-863</link>
		<dc:creator>Rene Dudfield</dc:creator>
		<pubDate>Fri, 01 Feb 2008 22:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-863</guid>
		<description>ah, your tinypy seems to be py3k compatible already ;)

Since print 'hello world' doesn't work, but print ('hello world') does!

Sweet.</description>
		<content:encoded><![CDATA[<p>ah, your tinypy seems to be py3k compatible already <img src='http://www.philhassey.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Since print &#8216;hello world&#8217; doesn&#8217;t work, but print (&#8217;hello world&#8217;) does!</p>
<p>Sweet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rene Dudfield</title>
		<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-862</link>
		<dc:creator>Rene Dudfield</dc:creator>
		<pubDate>Fri, 01 Feb 2008 22:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-862</guid>
		<description>Does hello world work?
print 'hello world'

Might be a better demo for those of us running headless computers :)   ooh... or the ascii SDL driver.

Unfortunately your code breaks with the SDL ascii art backend (at least on my system).


export SDL_VIDEODRIVER=aalib


320 240
[New Thread -1213109872 (LWP 8951)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213109872 (LWP 8951)]
0x08048ffd in real_set_pixel ()
(gdb) where
#0  0x08048ffd in real_set_pixel ()
#1  0x0804d625 in set_pixel ()
#2  0x08048f5c in _dcall ()
#3  0x0804c0ba in _tcall ()
#4  0x0804f5a7 in _vm_call ()
#5  0x08051ab5 in tp_step ()
#6  0x08053158 in vm_run_1 ()
#7  0x080531e9 in vm_call ()
#8  0x080538e2 in main ()</description>
		<content:encoded><![CDATA[<p>Does hello world work?<br />
print &#8216;hello world&#8217;</p>
<p>Might be a better demo for those of us running headless computers <img src='http://www.philhassey.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   ooh&#8230; or the ascii SDL driver.</p>
<p>Unfortunately your code breaks with the SDL ascii art backend (at least on my system).</p>
<p>export SDL_VIDEODRIVER=aalib</p>
<p>320 240<br />
[New Thread -1213109872 (LWP 8951)]</p>
<p>Program received signal SIGSEGV, Segmentation fault.<br />
[Switching to Thread -1213109872 (LWP 8951)]<br />
0&#215;08048ffd in real_set_pixel ()<br />
(gdb) where<br />
#0  0&#215;08048ffd in real_set_pixel ()<br />
#1  0&#215;0804d625 in set_pixel ()<br />
#2  0&#215;08048f5c in _dcall ()<br />
#3  0&#215;0804c0ba in _tcall ()<br />
#4  0&#215;0804f5a7 in _vm_call ()<br />
#5  0&#215;08051ab5 in tp_step ()<br />
#6  0&#215;08053158 in vm_run_1 ()<br />
#7  0&#215;080531e9 in vm_call ()<br />
#8  0&#215;080538e2 in main ()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MIki</title>
		<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-861</link>
		<dc:creator>MIki</dc:creator>
		<pubDate>Fri, 01 Feb 2008 15:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-861</guid>
		<description>Maybe you can use tinyscheme's garbage collector (mark &#38; sweep IIRC).

See http://tinyscheme.sourceforge.net/home.html</description>
		<content:encoded><![CDATA[<p>Maybe you can use tinyscheme&#8217;s garbage collector (mark &amp; sweep IIRC).</p>
<p>See <a href="http://tinyscheme.sourceforge.net/home.html" rel="nofollow">http://tinyscheme.sourceforge.net/home.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis Monroe</title>
		<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-860</link>
		<dc:creator>Curtis Monroe</dc:creator>
		<pubDate>Fri, 01 Feb 2008 15:25:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-860</guid>
		<description>latest svn trunk:

gcc -Wall -O2 tinypy.c `sdl-config --cflags --libs` -lm -lgc -o tinypy
In file included from tp.c:6,
                 from vm.c:1,
                 from tinypy.c:2:
builtins.c: In function â€˜tp_roundâ€™:
builtins.c:180: warning: implicit declaration of function â€˜roundfâ€™
builtins.c:180: warning: incompatible implicit declaration of built-in function â€˜roundfâ€™
In file included from tinypy.c:2:
vm.c: In function â€˜vm_signalâ€™:
vm.c:326: warning: implicit declaration of function â€˜strsignalâ€™
./tinypy tests.py

File "?", line 0, in ?

File "tests.py", line 385, in ?
  ,"OK")
File "tests.py", line 178, in t_render
      if exact: assert(res == ex)

Exception:
assert failed

$ cat tmp.txt

File "tmp1.tpc", line 5, in ?
  C("OK").print()
File "tmp1.tpc", line 4, in C_print
      def print(self): print(self.data)

Exception:
tp_get: KeyError: data</description>
		<content:encoded><![CDATA[<p>latest svn trunk:</p>
<p>gcc -Wall -O2 tinypy.c `sdl-config &#8211;cflags &#8211;libs` -lm -lgc -o tinypy<br />
In file included from tp.c:6,<br />
                 from vm.c:1,<br />
                 from tinypy.c:2:<br />
builtins.c: In function â€˜tp_roundâ€™:<br />
builtins.c:180: warning: implicit declaration of function â€˜roundfâ€™<br />
builtins.c:180: warning: incompatible implicit declaration of built-in function â€˜roundfâ€™<br />
In file included from tinypy.c:2:<br />
vm.c: In function â€˜vm_signalâ€™:<br />
vm.c:326: warning: implicit declaration of function â€˜strsignalâ€™<br />
./tinypy tests.py</p>
<p>File &#8220;?&#8221;, line 0, in ?</p>
<p>File &#8220;tests.py&#8221;, line 385, in ?<br />
  ,&#8221;OK&#8221;)<br />
File &#8220;tests.py&#8221;, line 178, in t_render<br />
      if exact: assert(res == ex)</p>
<p>Exception:<br />
assert failed</p>
<p>$ cat tmp.txt</p>
<p>File &#8220;tmp1.tpc&#8221;, line 5, in ?<br />
  C(&#8221;OK&#8221;).print()<br />
File &#8220;tmp1.tpc&#8221;, line 4, in C_print<br />
      def print(self): print(self.data)</p>
<p>Exception:<br />
tp_get: KeyError: data</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sp3w</title>
		<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-859</link>
		<dc:creator>Sp3w</dc:creator>
		<pubDate>Fri, 01 Feb 2008 14:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-859</guid>
		<description>[...] Linkage 2007.02.012008-02-01 09:20:45 by mike in links (no comments) permalink Tinypy 64k [...]</description>
		<content:encoded><![CDATA[<p>[...] Linkage 2007.02.012008-02-01 09:20:45 by mike in links (no comments) permalink Tinypy 64k [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philhassey</title>
		<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-857</link>
		<dc:creator>philhassey</dc:creator>
		<pubDate>Fri, 01 Feb 2008 09:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-857</guid>
		<description>Curtis - can you give it another svn update and try again?  I did a bit more tweaking on stuff which looked suspicious.  Thanks!</description>
		<content:encoded><![CDATA[<p>Curtis - can you give it another svn update and try again?  I did a bit more tweaking on stuff which looked suspicious.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philhassey</title>
		<link>http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-856</link>
		<dc:creator>philhassey</dc:creator>
		<pubDate>Fri, 01 Feb 2008 06:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.philhassey.com/blog/2008/01/31/tinypy-64k-bootstrapped/#comment-856</guid>
		<description>Maybe .. I've got:
gcc (GCC) 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
and I had the same issue for a while before I did some cleanup on the code.</description>
		<content:encoded><![CDATA[<p>Maybe .. I&#8217;ve got:<br />
gcc (GCC) 4.1.1 20060724 (prerelease) (4.1.1-3mdk)<br />
and I had the same issue for a while before I did some cleanup on the code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
