cppgen now factored out from parser (parser functions put into scripts/cppparse.py)