Implements LR(0) based Earley-like parser driver