[SOLVED] A BNF grammar for the language consisting of your first name, space, and last name

20.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (3 votes)

Using Java and the parboiled Java library, implement the question 2 in the Quiz 2. Please note that you had already designed the grammar of that question.
Let’s remember the question 2 in the quiz 2:
Write a BNF grammar for the language consisting of your first name, space, and last name. Examples:
Fatih Sen John Smith Mary Doe

When your program receives an input in the mentioned format above, it should run using the grammar without any errors and draw the parse tree.
When submitting, include screenshots of the input and output (parse tree) processes and your program folder along with its source files in a zipped file.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.