Question: How does the BNF work? I don't understand why big high table is the subject or why good table is the object for example. In

How does the BNF work? I don't understand why "big high table" is the subject or why "good table" is the object for example.

How does the BNF work? I don't understand why "big high table"

In class we looked at a BNF for a Very Simple Language. Example: Define a Very Simple Language (VSL) ::= ::= {adjective> | ::= {adjective> | ::= | table | horse computer ::= big | fast | good | high big high table is Good table big high is Good table high Good table Conclusion. Big high table is good table is a valid syntax Example 2: fast big high computer is good fast big high computer good fast big high is Fail!!!! Given the rules above, the object cannot be a single noun. Conclusion: fast big high computer is good is an invalid Syntax

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!