Split out the definition of the nearley BNF variant language from the compiler