You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This indicates which non-terminal (or non-terminals, see bellow) is used as the goal for parsing. If no entry point is explicitly declared, the non-terminal on the left hand side of the first production will be used by default.
For some target languages (e.g. haskell), the BNF Converter generates, by default, a parser for every category in the grammar. This is unnecessarily rich in most cases, and makes the parser larger than needed. If the size of the parser becomes critical, the entry points pragma enables the user to define which of the parsers are actually exported:
For instance, the following pragma defines Stm and Exp to be the only entry points: