Skip to content

Commit 4120970

Browse files
committed
Editorial change: replace quotation marks by italics
1 parent 6bbc62a commit 4120970

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

content/booklets/adacore-technologies-for-railway-software/chapters/technology.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Data Flow Analysis (D.10)
175175
The GNAT Pro toolchain can be configured to detect uninitialized variables
176176
at run-time through the use of the pragma :ada:`Initialize_Scalars`.
177177
With this pragma, all scalars are automatically initialized to either an
178-
out-of-range value (if there is one) or to an "unusual" value (either
178+
out-of-range value (if there is one) or to an *unusual* value (either
179179
the largest or smallest).
180180
This significantly improves detection at test time.
181181

@@ -637,7 +637,7 @@ of :ada:`X` and :ada:`Y`. Again, SPARK will analyze the code to check that
637637
the variable relationships specified are correct.
638638

639639
In this example, an actual variable is used to define data flow.
640-
It's also possible to create an "abstract" state, implemented by a set of
640+
It's also possible to create an *abstract* state, implemented by a set of
641641
variables. Generally speaking, although these notations and verifications
642642
are quite useful on the lower levels of the architecture, they may not be
643643
that pertinent at higher levels. SPARK is flexible with regard to where
@@ -785,7 +785,7 @@ Here is an example:
785785
end Counters;
786786
787787
As a variation on this example, Ada supports encapsulation through
788-
"getter" and "setter" subprograms.
788+
*getter* and *setter* subprograms.
789789
Rather than directly manipulating a global variable declared in a
790790
package specification, the program can be structured to enforce
791791
accesses through a procedural interface:
@@ -965,8 +965,8 @@ levels of coupling, through the notions of *child packages* and
965965
*private packages* as described below.
966966
In addition, the GNAT Pro technology provides the notion of a *project*,
967967
which defines a group of packages, possibly with a defined interface.
968-
These constructs can be used to define a tool-supported notion of "component"
969-
or "module" at the software level.
968+
These constructs can be used to define a tool-supported notion of *component*
969+
or *module* at the software level.
970970

971971
.. index:: Ada language; Coupling between modules
972972

@@ -1025,7 +1025,7 @@ GNATmetric has built-in support for retrieving these numbers.
10251025
.. index:: Project (GNAT Pro); GPR files
10261026

10271027
At a coarser granularity, packages can be grouped together into a
1028-
GNAT Project file ("GPR"), with a clear interface.
1028+
GNAT Project file (*GPR*), with a clear interface.
10291029
An application architecture can be defined as a combination of project files.
10301030

10311031
Collections of subprograms shall be built providing several level of modules

content/booklets/adacore-technologies-for-railway-software/chapters/tools.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ Ada is multi-faceted. From one perspective it is a classical stack-based
7676
general-purpose language, not tied to any specific development methodology.
7777
It has a simple syntax, structured control statements, flexible data
7878
composition facilities, strong type checking, traditional features for code
79-
modularization ("subprograms"), and a mechanism for detecting and responding
80-
to exceptional run-time conditions ("exception handling").
79+
modularization (*subprograms*), and a mechanism for detecting and responding
80+
to exceptional run-time conditions (*exception handling*).
8181
But it also includes much more:
8282

8383
.. index:: single: Ada language; Scalar ranges
@@ -163,10 +163,10 @@ Programming in the large
163163
^^^^^^^^^^^^^^^^^^^^^^^^
164164

165165
The original Ada 83 design introduced the package construct,
166-
a feature that supports encapsulation ("information hiding") and
166+
a feature that supports encapsulation (*information hiding*) and
167167
modularization, and which allows the developer to control the
168168
namespace that is accessible within a given compilation unit. Ada 95
169-
introduced the concept of "child units," adding considerable flexibility
169+
introduced the concept of *child units*, adding considerable flexibility
170170
and easing the design of very large systems.
171171
Ada 2005 extended the language's modularization facilities by allowing
172172
certain kinds of mutual references between package specifications,
@@ -180,7 +180,7 @@ Generic Templates
180180
A key to reusable components is a mechanism for parameterizing modules
181181
with respect to data types and other program entities, for example a
182182
stack package for an arbitrary element type. Ada meets this requirement
183-
through a facility known as "generics"; since the parameterization is done
183+
through a facility known as *generics*; since the parameterization is done
184184
at compile time, run-time performance is not penalized.
185185

186186
.. index:: single: Ada language; Object-Oriented Programming (OOP)
@@ -199,10 +199,10 @@ performance.
199199
However, large real-time systems often have components such as GUIs that do
200200
not have real-time constraints and that could be most effectively developed
201201
using OOP features. In part for this reason, Ada 95 supplies comprehensive
202-
support for OOP, through its "tagged type" facility: classes, polymorphism,
202+
support for OOP, through its *tagged type* facility: classes, polymorphism,
203203
inheritance, and dynamic binding. Ada 95 does not require automatic garbage
204204
collection but rather supplies definitional features allowing the developer
205-
to supply type-specific storage reclamation operations ("finalization").
205+
to supply type-specific storage reclamation operations (*finalization*).
206206
Ada 2005 brought additional OOP features including Java-like interfaces and
207207
traditional :ada:`obj.op(...)` operation invocation notation.
208208

@@ -217,10 +217,10 @@ Concurrent Programming
217217
^^^^^^^^^^^^^^^^^^^^^^
218218

219219
Ada supplies a structured, high-level facility for concurrency. The unit of
220-
concurrency is a program entity known as a "task". Tasks can communicate
220+
concurrency is a program entity known as a *task*. Tasks can communicate
221221
implicitly via shared data or explicitly via a synchronous control mechanism
222222
known as the rendezvous. A shared data item can be defined abstractly as a
223-
"protected object" (a feature introduced in Ada 95), with operations executed
223+
*protected object* (a feature introduced in Ada 95), with operations executed
224224
under mutual exclusion when invoked from multiple tasks.
225225
Protected objects provide the functionality of semaphores and condition
226226
variables but more clearly and reliably (e.g., avoiding subtle race
@@ -237,7 +237,7 @@ multi-core architectures were introduced in Ada 2012.
237237
Systems Programming
238238
^^^^^^^^^^^^^^^^^^^
239239

240-
Both in the "core" language and the Systems Programming Annex, Ada supplies
240+
Both in the *core* language and the Systems Programming Annex, Ada supplies
241241
the necessary features for hardware-specific processing.
242242
For example, the programmer can specify the bit layout for fields in a record,
243243
define alignment and size properties, place data at specific machine
@@ -412,7 +412,7 @@ is compiled.
412412

413413
In addition, the language supports mathematical proof and can thus provide
414414
high confidence that the software meets a range of assurance requirements:
415-
from the absence of run-time errors ("AORTE"), to the enforcement of safety
415+
from the absence of run-time errors (*AORTE*), to the enforcement of safety
416416
or security properties, to compliance with a formal specification of the
417417
program's required behavior.
418418

@@ -446,7 +446,7 @@ automated tools.
446446
Hybrid Verification
447447
~~~~~~~~~~~~~~~~~~~
448448

449-
SPARK supports "hybrid verification", which combines testing and
449+
SPARK supports *hybrid verification*, which combines testing and
450450
formal proofs.
451451
As an example, an existing project in Ada and C can adopt SPARK to implement
452452
new functionality for critical components. The SPARK units can be analyzed
@@ -496,7 +496,7 @@ GNAT Pro Assurance is a specialized version of the GNAT Pro development
496496
environment, available for any of the products in the GNAT Pro family:
497497
GNAT Pro for Ada, GNAT Pro for C, GNAT Pro for C++, and GNAT Pro for Rust.
498498
It is targeted to projects
499-
requiring customized support, including bug fixes and "known problems"
499+
requiring customized support, including bug fixes and *known problems*
500500
analyses, on a specific version of the toolchain. This service is
501501
especially suitable for applications with long maintenance cycles or
502502
certification requirements, since critical updates to the compiler or
@@ -853,7 +853,7 @@ GNATtest
853853
The GNATtest tool helps create and maintain a complete unit testing
854854
infrastructure for complex projects. It captures
855855
the simple idea that each public subprogram (these are known as
856-
"visible" subprograms in Ada) should have at least one corresponding
856+
*visible* subprograms in Ada) should have at least one corresponding
857857
unit test. GNATtest takes a project file as input, and produces two outputs:
858858

859859
* The complete harnessing code for executing all the unit tests under
@@ -1049,7 +1049,7 @@ appearance to be customized in the editor.
10491049

10501050
GNAT Studio is intuitive to new users thanks to its menu-driven interface
10511051
with extensive online help (including documentation on all the
1052-
menu selections) and "tool tips". The Project Wizard makes it simple to get
1052+
menu selections) and *tool tips*. The Project Wizard makes it simple to get
10531053
started, supplying default values for almost all of the project properties.
10541054
For experienced users, it offers the necessary level of control for
10551055
advanced purposes; e.g., the ability to run command scripts. Anything that

0 commit comments

Comments
 (0)