expose `grammar`