Draft of a cot. soc. preprocessor