REIMPLEMENTATION grammata v0.2.0.27

more comments in Grammata/Machine.hs