manually transform PEG to grako syntax