New input format - using python metalanguage so that we can simlify the parser