parsing expression grammer generator written in R