I'm writing this post to inform of my latest GitHub repo, Scheme-to-PHP, which contains the beginnings of a very very naive Scheme to PHP5 translator. It will do so by implementing r4rs (or maybe r5rs) forms and macros in Scheme, that return the equivalent strings of PHP code, hopefully forming a working PHP script. There will be a way of calling native PHP functions and classes, and Scheme functions such as map will be mapped (no pun intended) to the equivalent PHP function (eg. array_map).

This is being written using Chicken Scheme, which I'm currently spending most of my time hacking about with and is totally awesome :)