Languages We Will Study As a Class

Languages We Will Study As a Class

<p>Languages we will study as a class Compiled Procedural languages (imperative languages)  FORTRAN – small team – mid 50s IBM John Backus High level language to produce code as efficient & fast as assembly language</p><p> Pascal – single person – Nicklaus Wirth – 70’s teaching language</p><p> Ada – 1983 – large scale design and development effort sponsored by DOD</p><p>String Processing - Snobol – Ralph Griswold</p><p>Interpreted Functional Language John McCarthy – Lisp – list processing – MIT artificial intelligence lab – interpreted</p><p>Logic Language - Prolog – programming in logic - alain colmaureur</p><p>Compilers and interpreters are translators The most significant distinction between them is that compilers translate the source code once and interpreters translate the code every time program is run. Most languages are either compiled or interpreted. Java and UCSD Pascal are examples of languages that are both translated and interpreted. The source code is compiled into an intermediate for which is stored. That intermediate form is interpreted every time the program is run</p><p>Why take a survey of programming languages course?  Required  To recognize common features of programming languages  To learn about the different flavors of programming languages  Makes it easier to find a job where one of the old languages is being used by the employer  To learn how to determine what the most appropriate langue for the task at hand is  Helps you develop the ability to learn a new programming language</p><p>Types of statements found in all programming languages 1. Input 2. Output 3. Assignment 4. Selection 5. Iteration \Characteristics of all programming languages - suggested by students (to be discussed)  Syntax  Logical structures  Ability to solve problem  Documentation  Storage capabilities</p><p>Handout on MiniLanguage Core</p><p>BNF grammar – terminals, non-terminals, productions (rules), start symbol (goal symbol)</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us