Goal may be one of the following predicates:
text(Text)
- text sent to the output as isescape(Num,Colon,Action)
- a format escapeNum represents the optional numeric portion of an esape. Colon represents the optional colon in an escape. Action is an atom representing the action to be take by this escape.