Update parser and examples to match pretty print syntax