Archive for the ‘scheme’ Category

Gambit Scheme PHP backend, milestone 1: proof of concept

Wednesday, February 9th, 2011

The goal of this release is to mark the milestone 1 (on github, as .tar.gz). I wanted to understand the GVM and to check if compilation to PHP is possible. This is done. While the current gambit-php version is very limited (only a few primitives are partially implemented), it covers all the important functionality:

(more…)

scheme as a virtual machine – III

Friday, November 12th, 2010

After experimenting with CPSCM, I have to drop it. The final now consists of two implementations: Chicken and Gambit.

(more…)

CPSCM, how the compiled code looks like

Tuesday, November 2nd, 2010

I spent time understanding the result of CPSCM conversion from Scheme to Scheme and JavaScript backends. Notes are here: http://github.com/olpa/cpscm/blob/master/doc/driving-functions.

scheme as a virtual machine – II

Monday, October 4th, 2010

Closing a TODO, I’ve filtered the list of Scheme implementations to find candidates for experimenting with using Scheme as a VM. The winners are:

(more…)

r5rs scheme as a virtual machine – I

Tuesday, September 28th, 2010

Some time ago I advocated that the programming language Scheme is a new portable assembler. We can code something in Scheme and then compile it to PHP or Python. Now I want to try this idea. First, an explanation why Scheme:

(more…)