Golang port of munificent's Pratt parsing demo