09. June 2022

Cond-expand and #ifdef

In the C programming language you can ask the macro preprocessor to keep or remove part of a source file. This is done with #ifdef. The equivalent in Scheme is called cond-expand. R7RS Scheme has two different instances of cond-expand, while R6RS Scheme does not have it all. What does R6RS do instead, and is cond-expand a bad idea?

more

05. February 2022

Valve Index in Infrared

I was visiting a friend over the new year and at one point we were playing around with his Leap Motion camera. I realized that the Valve Index uses infrared (IR) and should look cool in the camera.

more