Extensible grammars