rewrote PEG parser to produce a ralik grammar