An experiment in code generation