the string represents a document, the middle part ...
# announcements
g
the string represents a document, the middle part represents a list of tokens, and the end represents the resulting parse tree