ADDED: codegen.c, codegen.h

Skeleton copied from pretty.c and pretty.h
To be modified.