Archive for the ‘Thousand Parsec’ Category

This week in Schemepy: Test suites and benchmarks

Saturday, May 17th, 2008

I’m really borrowing the title of the popular series This week in Ruby from Zen and the Art of Programming. But in fact, there are really some interesting progress related to Schemepy this week.

Test suites

I just switched from py.test to nose for doing unit test. I arranged the tests directory so that now it contains two sub-directories. One of them focuses on testing the Schemepy interface. The other focuses on testing the Scheme backend implementation, we’ll cover some basic aspect of Scheme here. Because we want to make sure a unique behavior no matter which backend is used.

Read the rest of this page »

Schemepy status: Guile and Python inter-callable

Saturday, May 10th, 2008

It’s the 2nd week of Schemepy. I’m glad to say that I have a roughly finished guile back-end now. All existing (including some newly added ones) passed without any problem. However, I’ve also make some non-trivial interface changes:

  • toscheme is an instance method instead of a static method of VM now.
  • fromscheme and type is instance methods of VM instead of SCM now.

Those changes (as long as some other interface change, like a Symbol class for Scheme symbols) make it impossible to run mithro’s oldguile back-end unless some non-trivial patches applied.

Read the rest of this page »

First week of Schemepy

Friday, May 2nd, 2008

As I mentioned in my last post, I’ll work on Schemepy in this summer. Though the official begin coding time of GSoC is May 26, I’ve already do some initial research on this the last summer. I’ll try to keep a weekly progress report in my blog.

There were already two backend for Schemepy: guile and pyscheme. I haven’t looked much at pyscheme yet, and it seems that backend isn’t ported to the Schemepy interface yet. I took a look at the guile backend implementation by mithro, discussed with him the interface of Schemepy. I found I was trying to get the final interface designed before start writing the code, which proved to be a bad idea. One won’t be able to find some problems until he gets down to coding. That’s why I get a awkward design of the type mapping from Scheme cons pair to a Python value first.

Read the rest of this page »

Google Summer of Code 2008: First Chapter

Wednesday, April 23rd, 2008

Google Summer of Code 2008Finally, I was accepted by Thousand Parsec and will work on Schemepy with Timothy Robert Ansell this summer. I hope this would be an enjoyable summer. :)

It’s been a fairly long time since the announcement of Google Summer of Code 2008. I’ll try to write something about that period. I learned a lot from this and it’s really (some what) by coincidence that I ended up working with Schemepy. :p


It was roughly summer of 2007 when Jack told me about Google Summer of Code. But applying period for GSoC2007 has ended that time. Then when I read the announcement of GSoC2008 this year in the Google Reader in late February, I was excited. I checked the website of GSoC and some projects accepted in year 2007, 2006 and 2005.

Read the rest of this page »