1. What are three reasons why syntax analyzers are based on grammars?
– BNF descriptions of the syntax of programs
are clear and concise, both for humans and for software systems that use them.
– the BNF description can be used as the direct basis for the syntax
analyzer.
– implementations based on BNF are relatively easy to maintain
because of their modularity.
ใใใใใใใใใใใ
-BNF descriptions of the syntax of programs are clear and concise, both for humans and for software systems that use them.
- BNF description can be used as the direct basis for the syntax analyzer.
- Implementations based on BNF are relatively easy to maintain because of their modularity