setup initial parser and grammar with mpc