Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 1: Introduction - Coggle Diagram
Chapter 1: Introduction
-
-
-
-
-
LEXICAL STRUCTURE
- Lexical structure specifies set of some basic rules about how a code should be written in it.
- Rules like what variable names looks like, the delimiter characters for comments, and how one program statement is separated from the next.
- It is the lowest-level syntax of a language.
Language Translation
A programming language must have a translator that accept other programs written in the language in question and that either execute them directly or transform them to a form suitable for execution.
-
-
PSEUDOINTERPRETER
Execute the program without producing a target program, but they process the entire source program before execution begin
Translation Process
Runtime
environment
Suitable memory space for program data is allocated and that record the progress of the execution of the program
-
-
Language
design
Readability
It is a challenge of programming language design to achieve the power, expressiveness & comprehensibility that human readability requires while at the same time retaining the precision and simplicity that is needed for machine translation
Abstractions
- natural expression of the structure of data (data
abstraction).
- structure of the computational process for the solution
of a problem (control abstraction)
Complexity
- •Building abstraction that hide details when appropriate
- •Establishing conventional interface
- •Establishing new language when describing a design.