Just a quick link to the lecture notes for now...
optional notation before data
optional stuff at the end of an input
optional data at the beginning of the input