The grammar {name} declaration at the beginning of a grammar file is currently mandatory. We should make it optional for grammar files which are merely used as library. This depends on #83.
For multi-language setups (#96), we should enforce all entry grammars to have the same name because they'd share the same generated types and other generated infrastructure.
The
grammar {name}declaration at the beginning of a grammar file is currently mandatory. We should make it optional for grammar files which are merely used as library. This depends on #83.For multi-language setups (#96), we should enforce all entry grammars to have the same name because they'd share the same generated types and other generated infrastructure.