Describe the purpose of the app

Assignment Help Computer Engineering
Reference no: EM133238459

Case: Design, implement and test a grammar for a data language.

A source file (input.txt file) for the language is composed of one or more lines, where each line is a comma-separated list of the following fields
- Field 1: An arbitrary string of one or more letters and digits, no spaces allowed
- Field 2: An integer
- Field 3: A Boolean value (true/false)
- Field 4: A sentence (an arbitrarily long string of ASCII characters that allows spaces but does not allow a new line)

Develop and then test a grammar for this language. Your grammar's generated parser must recognize the following 2-line sample input file as being syntactically correct.
Your parse tree for this input file must have 7 tokens (i.e., nodes) for each line: one token for each of the three commas, one token for Field 1, one token for Field 2, one token for Field 3 and one token for Field 4.

John, 45, true, Did this person come to see me the other day?
Jane, 41, false, I have yet to meet this person!

 Your grammar correctly describes Field 1 as described above.
 Your grammar correctly describes Field 2 as described above.
 Your grammar correctly describes Field 3 as described above.
 Your grammar correctly describes Field 4 as described above.
 Your parser correctly parses the above sample input file with the John and Jane entries.
A Multi-Domain Language - Racket (15 points)

Use Racket to code a web app or a systems app. Refer to our resources on Racket programming.

Describe the purpose of the app. Explain why you consider it to be a web app (or a systems app).

 Your source code must implement the described functionality.

 Your source code must show (in an inline comment section) that you have improved its readability. Use an authoritative source (like a peer-reviewed article) to show that your effort is indeed known to improve the readability of a program written in a functional programming language. Cite your source within the source code.

 Your source code must show (in an inline comment section) that you have improved its cost (i.e., the time and work it would take to maintain it or add some functionalities to it). Use an authoritative source (like a peer-reviewed article) to show that your effort is indeed known to improve the cost of a program written in a functional programming language. Cite your source within the source code.

 Your source code must show (in an inline comment section) that you have improved its efficiency (i.e., use less space and/or time to execute a task). Use an authoritative source (like a peer-reviewed article) to show that your effort is indeed known to improve the efficiency of a program written in a functional programming language. Cite your source within the source code.

Reference no: EM133238459

Questions Cloud

Describe the rainbow series what is it, and why : CGS MISC Miami Dade College, describe the "Rainbow Series" What is it, and why should the government be publishing it?
List ethical challenge that could impact a u.s. company : List ethical challenge that could impact a U.S. company that wants to acquire a non-U.S.-based company - The right to private phone conversations
What do you think about social stratification : What do you think about social stratification based on the intersections of age and race? What can you say about an aging society
How long can the calculations be between the 3 pictures : how long can the calculations be between the 3 pictures being taken and the robot commencing motion if it is guaranteed to hit the ball? In solving this problem
Describe the purpose of the app : CS 5331 Texas State University Describe the purpose of the app. Explain why you consider it to be a web app (or a systems app) and Your source code
Why people would risk leaving their native land : What do you think is the rudimentary cause of why people would risk leaving their native land to immigrate to other countries, like the U.S.,
What is science technology and society : CS 30 Ateneo de Manila University List five technological products. Discuss how these helps make life more comfortable and What is Science Technology
Evaluates students on a 5-point scale : CS323 Harvard University - evaluates students on a 5-point scale (0-failed ... 5-excellent)University B evaluates students on a 100 point scale
Describe massively parallel processing : Describe Massively Parallel Processing (MPP) and its architecture and components. Research a company in the industry that provides such MPP solution

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write application that will enable you to display ph level

Write an application that will enable you to display an aquarium's pH level. The pH is a measure of the aquarium water's alkalinity and is typically given on a

  Identify the role of it as a contributor to the business

respond to the followingidentify multiple business pressures on xerox.describe some of the companys response

  Identify one cryptographic attack

Malicious individuals have discovered several methods to attack and defeat cryptosystems. It's important that understand the threats posed by cryptographic.

  What procedures would you follow if you were told

Create role customer_entry. Grant role customer_entry permission to update OE.CUSTOMERS table.

  Calculate the average stock price stored in the prices array

Create a Program that will calculate the average stock price stored in the prices array.

  How are the issues different for each part of organization

How do you tackle this assignment? How are the issues surrounding content different for each part of the organization? Make sure to include not only your ideas.

  A program that continuously takes strings to standard input

You have a unique ID number, which is represented by the variable id, containing a string of numbers.

  Complete an overview of the article

Identify one interesting topic that you learned about or thought was noteworthy for additional discussion and why you chose this subject

  Define firewall security techniques

Using the Web or other resources, do a bit of research on the methodologies that Microsoft Windows firewall uses. Define a firewall. Define firewall security.

  Explain the pki process in detail

Public Key Infrastructure (PKI) is a combination of software, hardware, and policies used to secure communications over an insecure medium.

  How long a human user can assign dish duties among children

Write a program in java that determines how long a human user can assign dish duties among the children in a family before making a mistake.

  Display total cost of their selection including sales tax

Create Web site that allows users to enter their first and last names phone number and e-mail. Display the total cost of their selection including 7% sales tax.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd