Hey Guy,<br><br><div class="gmail_quote">On Sat, Jun 14, 2008 at 3:10 AM, Guy Hulbert <<a href="mailto:gwhulbert@eol.ca">gwhulbert@eol.ca</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You also said (response below written first):<br>
<div class="Ih2E3d"><br>
"excited about how easy it is to add C extensions to Io"<br>
<br>
</div>Is that based on reading something specific from the Io site or is it<br>
from one of the links?<br>
<br>
Could you provide a more specific reference?</blockquote><div> <br>
No, not really. There doesn't appear to be any 'proper' documentation on extending and embedding Io yet, but there are several examples of extensions in the distribution. It looks a lot less complicated than in Python (to me anyway, again lacking C experience). You may look at the documentation for '<a href="http://www.iolanguage.com/scm/git/checkout/Io/docs/IoReference.html#CFunction">CFunction</a>'.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
On Fri, 2008-13-06 at 19:45 -0700, Phoenix Sol wrote:<br>
</div><div class="Ih2E3d">> Missing from the 'bindings' section on the first page at<br>
> <a href="http://iolanguage.com" target="_blank">http://iolanguage.com</a> is Python<br>
<br>
</div>Now I've looked at this again, I'm not quite sure whether 'bindings'<br>
"means what you think it means"[1]. Unfortunately,<br>
<br>
<a href="http://iolanguage.com/scm/git/checkout/Io/docs/IoGuide.html#Bindings" target="_blank">http://iolanguage.com/scm/git/checkout/Io/docs/IoGuide.html#Bindings</a><br>
Documentation on how to write bindings/addons forthcoming..<br>
<br>
So I'm not sure what 'bindings' means in Io nor what you expect it to<br>
mean. From the examples listed on the Io front page it looks more like<br>
"libraries" ... except for the "objective-c bridge".<br>
<br>
[1] You keep using that word ... [the princess bride]</blockquote><div><br>You are probably right. Please forgive my 'cowboy coder' conventions. ;-)<br>What I mean is that you can call Python from Io. Here is a quick example:<br>
_____________________________________________________________<br><br>phoenix@pyre:~$ io<br>Io 20080120<br>Io> mt := Python import("mimetypes")<br>==> Python_0x8338c58:<br><br>Io> mt init<br>==> Python_0x8338c58:<br>
<br>Io> mt knownfiles<br>==> list("/etc/mime.types", "/etc/httpd/mime.types", "/etc/httpd/conf/mime.types", "/etc/apache/mime.types", "/etc/apache2/mime.types", "/usr/local/etc/httpd/conf/mime.types", "/usr/local/lib/netscape/mime.types", "/usr/local/etc/httpd/conf/mime.types", "/usr/local/etc/mime.types")<br>
<br>___________________________________________________________________________________________________________________________________<br></div></div><br clear="all"><br>-- <br>Phoenix Sol<br>541-646-8612<br>130 'A' Street,<br>
Suite 6<br>Ashland, Oregon<br>97520