Parser for general context free grammars with layout annotations.