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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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