integrated pre-process into the parser + documentation