This repository contains EBNF grammars for the XQuery language that are aligned with BaseX features .