Parser assignment

Not clear what chain is. Can you add a comment above each one describing the syntax construct which it deals with.