def __init__(self, grammar, trace=False):
update(self, grammar=grammar, trace=trace)<EOL>
A datastructure for parsing a string; and methods to do the parse.
        self.chart[i] holds the edges that end just before the i'th word.
        Edges are 5-element lists of [start, end, lhs, [found], [expects]].