Python implementation of the earley-parser for general CFGs.