Design a NEW programming language called ifONLY

Assignment Help Programming Languages
Reference no: EM132113226 , Length: word count:2500

Assignment -

You are to design a NEW programming language called "ifONLY". This new language will be directed to the general purpose problem solving domain space. It need not be Object-Oriented or support concurrency as part of the user syntax.

The language does not have to be computable (able to write a compiler for), or at least you are not required to figure out how you may implement your features other than at the user level. Also the language does not have to be complete in terms of total coverage. I would like you to address the major issues in the chapters (3,6,7,8) in terms of how they may affect your language.

It is up to you to decide the options you would like to have in your language. What form of the control flows; what data structure constructs. I would like examples of your proposed syntax. Again, you should focus on the higher level user issues and not on the underlying compiler requirements. That is to say; you do not have to be overly concerned about possible conflicts in your design.

Think of your language as a DRAFT of a language "ifONLY" that would do it like YOU would like it done (from the programmer's point of view). You do not need to limit yourself to things found in other languages. Is there something you have always wanted but you have not seen? Now is your chance to include it! Or maybe it is just a better (in your opinion) syntax for the way something is expressed.

Through the course you will see that many of the design decisions may have just been at the whim of the creator and that there are many ways to express the logic the programmer wants. Remember Knuth's observation paraphrased by the author in Chapter 1 "programming should be regarded as the art of telling another human being what one wants the computer to do"

Along with the language, I would like you to comment on some of your thought process on why you have chosen to go one way or another in your design.

Use the sections of the chapters (3,6,7,8) to help guide the issues you may need to (or not) address in your language.

Also, include a summary of the language at the end of the report.

Other comments:

1. You should not take your design down to an implementation level. Think in terms of addressing things at the user of the language level when taking about features. YOU ARE NOT creating the new language semantic or syntax diagrams ... This is to be done at a high level. Think conceptual level. If there is a particular thing you want go deeper into that is fine but again; this is not a formal language design!!!!!

2. As it relates to 1. you should have, aside from the features themselves, some discussion on your choices. This is where you can demonstrate your reasoning in terms of the particular concept. For example, for scoping, 1. Would address the "WHAT" but you should have something about the "WHY". Somethings will not take much at all but some you may want to go into deeper.

You should not feel that you have to address everything or include everything. It is your language and I want to leave you the freedom to make your own choices (i.e. there are no wrong choices). What I want is some discussion on why you did what you did.

3. Also, include a summary of the language at the end of the report.

For References in question/assignment use the book: Programming Language Pragmatics, fourth edition by Michael Scott.

Word limit : 2500 (500 report + 2000 other).

Reference no: EM132113226

Questions Cloud

Discuss a contemporary educational issue : Write a paper that critically discusses a contemporary educational issue in which biblical principles conflict with legal and societal expectations.
How your own gender identity may have been influenced : What do you think influenced the children in each video? Next, explain how your own gender identity may have been influenced by gender stereotypes.
Discuss australian gdp components and economic growth : Discuss Australian GDP components and economic growth during the last 10 years. Which industries have the highest growth and what are the main drivers
Focus on stimulating the social development : Research has shown that in addition to physical exercise, other activities focus on stimulating the social development .
Design a NEW programming language called ifONLY : You are to design a NEW programming language called "ifONLY". It need not be Object-Oriented or support concurrency as part of the user syntax
Describe what you learned from your play : Describe what you learned from your play and how it enhanced your development as a child.
Research tells us that viewing violent television programs : Research tells us that viewing violent television programs or playing violence-themed games contributes to increased aggressiveness in children.
What are the critical issues : What are the Critical Issues we must think about while designing a Lexical Scanner? The results of that development, e.g., discuss both process and product.
What are some of the legal considerations : What are some of the legal considerations that should take place when implementing a honeypot?

Reviews

Write a Review

Programming Languages Questions & Answers

  What is programming

What is programming? Why it is so important in today environment?

  Write standalone program with recursive method string

Write a standalone program "TransformCharacters.java" with a recursive method String string changeCharacters(String string) that takes as an argument a string.

  Write a function that computes a taxi fare.

Write a function that computes a taxi fare. In some cities, taxi fares are calculated based on start and end zones plus a per-minute charge. In this city, there are three zones (1, 2, and 3) and a graduated scale for time. Thus, your function shou..

  Determines the aproximate number

Show how this can be done in a loop so the user can see resuts in a table. Let the output display and have headings for Day and Number of Bacteria Present on that day?

  Write program a childs selection game

Programing C a child's selection game

  Write a program to find minimum and maximum values

Write a program to find minimum and maximum values for third-degree polynomials of the form:

  Implement the factorial function in the io monad

Use imperative-style programming to implement the factorial function in the IO monad. In other words, create and initialize variables (references) using newIORef, modify their values using a while loop with ,readIORef and writeIORef, then have th..

  Write a program that allows a user to enter a string

Write a program that allows a user to enter a string containing a day of the week (`Sunday', 'Monday', `Tuesday', etc.), and uses a switch construct to convert.

  Write a program that reads a string

Write a program that reads a string and outputs the number of times each lowercase vowel appears in it. Your program must contain a function with one of its parameters as a string variable.

  Create a dtd for a small xml data set

Create a DTD for a small XML data set drawn from the Stanford course catalog. There are multiple departments, each with a department chair.

  Write the program which processes test data

Write the program which processes test data. Output must be student's ID, followed by answers, followed by test score, followed by test grade. Suppose the following grade scale.

  Write a python program to implement the bank operations

Write a python program to implement the bank operations. The following operations must be considered: Deposit the money

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