I also made a r7rs scheme version (which lacks some things, due to portability/unfinished standard). Comments