breval

breval is a small tool to embed Scheme code in normal text files. The current implementation uses scsh.

breval works by defining a new syntax for Scheme: Everything between ] and [, the beginning of the file and [, and ] and the end of the file is considered a string. Everything else is normal scheme code. This might sound funny, but it has a nice effect. The following text:

Hello [(who)] out there!

is transformed to the following Scheme program:

(list "Hello " (who) " out there!")

This again can simply be evaluated and the result printed as the transformed contents. I used to use breval for this web page, but since then switched to a simpler setup.