ISO 7185:1990 PDF
Information technology — Programming languages — Pascal
Information technology — Programming languages — Pascal
- Статус документа:
- Действующий
- Формат:
- Электронный (PDF)
- Количество страниц:
- 78
- Дата публикации:
- 25 октября 1990 г.
- Издание:
- ISO IS 7185 edition 2 version 1
- ICS:
- 35.060
Abstract
Overview
ISO 7185:1990 (formally ISO/IEC 7185:1990) is the international standard that defines the Pascal programming language. The standard specifies precise syntax and execution semantics for core Pascal constructs - notably structured statements, control-flow (case, repeat, while, for), the with-statement, and text I/O procedures (read, readln, write, writeln). ISO 7185:1990 is the authoritative reference for compiler implementers, tool vendors, and organizations maintaining or porting Pascal code.
Key Topics and Requirements
- Structured statements and case operator: formal syntax and semantic examples for case statements and alternatives.
- Repetitive statements: formal definitions for repeat, while, and for statements, including execution rules (e.g., a repeat ... until evaluates its Boolean expression after the statement-sequence so the body executes at least once).
- For-statement constraints:
- The control-variable must be an entire-variable declared in the closest variable-declaration part.
- Control-variable must have an ordinal type; initial and final values must be compatible.
- After normal completion the control-variable becomes undefined (except when left by goto).
- The standard defines what it means for a statement to “threaten” the control-variable and restricts such statements inside the loop or surrounding declarations.
- Equivalence semantics: canonical expansion of for ... to ... do body into temporaries and while loops (both to and downto).
- With-statement semantics:
- Defines how field identifiers are bound to record components and how nested with-statements are equivalent to nested single with constructs.
- Specifies access and lifetime of the reference established by the with.
- Text input/output (I/O):
- Precise syntax and behavior for read, readln, write, writeln when applied to textfiles.
- Rules for parameter types (integer, real, char, boolean, string) and parsing/formatting semantics.
- Detailed formatting rules for write: default field widths, integer/real representations (floating-point and fixed-point modes), string and boolean output, and error conditions.
- read/readln behavior including how input tokens are parsed into integers and reals, and how readln advances to end-of-line.
Applications and Who Uses It
- Compiler and interpreter implementers: implement correct parsing, code generation, and runtime behavior per ISO 7185:1990.
- Language tool and static analysis developers: ensure tools respect Pascal semantics and I/O behavior.
- Legacy system maintainers and porting teams: preserve program behavior across platforms and modernize Pascal code safely.
- Academic and training programs: reference for teaching precise language semantics and structured programming.
Related Standards
- ISO/IEC programming-language standards generally address language definition and portability. implementers often consult other ISO/IEC language standards and regional language extensions when integrating Pascal into toolchains.
Keywords: ISO 7185:1990, ISO/IEC 7185, Pascal standard, Pascal syntax, Pascal I/O, repeat while for, with-statement, read write writeln, programming languages standard.
Технические детали
- Технический комитет
- ISO/IEC JTC 1/SC 22 - Programming languages, their environments and system software interfaces
- SKU
- ISO 7185:1990
Похожие стандарты
Другие стандарты ISO
ISO 8689-1:2000
ДействующийWater quality — Biological classification of rivers — Part 1: Guidance on the interpretation of biological qu…
Overview ISO 8689-1:2000, titled Water quality - Biological classification of rivers - Part 1: Guidance on the interpretation of biological quality data from surveys of benthic macroinvertebrates, is…
ISO/ASTM51540-04(2012)
ОтменёнStandard Practice for Use of a Radiochromic Liquid Dosimetry System (Withdrawn 2020)
Significance and Use4.1 The radiochromic liquid dosimetry system provides a means of measuring absorbed dose in materials (5-7). Under the influence of ionizing radiation, chemical reactions take pla…
ISO/ASTM51204-04
ДействующийStandard Practice for Dosimetry in Gamma Irradiation Facilities for Food Processing (Withdrawn 2013)
Significance and Use4.1 Food products may be treated with ionizing radiation, such as gamma-rays from 60Co or 137Cs sources, for numerous purposes, including control of parasites and pathogenic micro…
ISO/ASTM51431-05
ОтменёнStandard Practice for Dosimetry in Electron Beam and X-Ray (Bremsstrahlung) Irradiation Facilities for Food P…
Significance and Use4.1 Food products may be treated with acceleratorgenerated radiation (electrons and X-rays) for numerous purposes, including control of parasites and pathogenic microorganisms, in…
ISO/ASTM52628-20e1
ДействующийStandard Practice for Dosimetry in Radiation Processing
1.1 This practice describes the basic requirements that apply when making absorbed dose measurements in accordance with the ASTM E61 series of dosimetry standards. In addition, it provides guidance o…
ISO/ASTM52921-13(2019)
ДействующийStandard Terminology for Additive Manufacturing—Coordinate Systems and Test Methodologies
Significance and Use 3.1 Although many additive manufacturing systems are based heavily upon the principles of Computer Numerical Control (CNC), the coordinate systems and nomenclature specific to CN…
ISO/ASTMTR52917-EB
ДействующийAdditive Manufacturing — Round Robin Testing — General Guidelines
This document outlines the steps with regard to aspects of design to conduct and run a round robin study (RRS) to assess the degree of variability in an additive manufacturing material or process. Th…
ISO/ASTM52901-17(2023)
ДействующийStandard Guide for Additive Manufacturing – General Principles – Requirements for Purchased AM Parts
Scope 1.1 This document defines and specifies requirements for purchased parts made by additive manufacturing. 1.2 It gives guidelines for the elements to be exchanged between the customer and the pa…