2 |
7u83 |
1 |
<!-- Crown Copyright (c) 1998 -->
|
|
|
2 |
<HTML>
|
|
|
3 |
<HEAD>
|
|
|
4 |
<TITLE>PL_TDF Definition</TITLE>
|
|
|
5 |
</HEAD>
|
|
|
6 |
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000FF" VLINK="#400080" ALINK="#FF0000">
|
|
|
7 |
<H1>PL_TDF Definition</H1>
|
|
|
8 |
<H3>January 1998</H3>
|
|
|
9 |
<A HREF="pl3.html"><IMG SRC="../images/next.gif" ALT="next section"></A>
|
|
|
10 |
<IMG SRC="../images/no_prev.gif" ALT="previous section">
|
|
|
11 |
<IMG SRC="../images/no_top.gif" ALT="current document">
|
|
|
12 |
<A HREF="../index.html"><IMG SRC="../images/home.gif" ALT="TenDRA home page">
|
|
|
13 |
</A>
|
|
|
14 |
<IMG SRC="../images/no_index.gif" ALT="document index"><P>
|
|
|
15 |
<HR>
|
|
|
16 |
<P>
|
|
|
17 |
<P>
|
|
|
18 |
<DL>
|
|
|
19 |
<DT><A HREF="#intro"><B>1 </B> - Introduction</A><DD>
|
|
|
20 |
<DT><A HREF="pl3.html#S2"><B>2 </B> - Notation</A><DD>
|
|
|
21 |
<DT><A HREF="pl4.html#S6"><B>3 </B> - The Language</A><DD>
|
|
|
22 |
<DT><A HREF="pl5.html#S41"><B>4 </B> - Example PL_TDF programs</A><DD>
|
|
|
23 |
<DT><A HREF="pl6.html#S47"><B>5 </B> - Use of the PL_TDF compiler</A><DD>
|
|
|
24 |
</DL>
|
|
|
25 |
|
|
|
26 |
<HR>
|
|
|
27 |
<H1><A NAME="intro">1 Introduction</A></H1>
|
|
|
28 |
PL_TDF is a language in the lineage of Wirth's PL360 and its later
|
|
|
29 |
derivatives. The basic idea in PL360 was to give one an assembler
|
|
|
30 |
in which one could express all of the order-code of the IBM 360 while
|
|
|
31 |
still preserving the logical structure of the program using familiar
|
|
|
32 |
programming constructs. If one had to produce a program at the code
|
|
|
33 |
level, this approach was much preferable to writing "flat"
|
|
|
34 |
assembly code using a traditional assembler, as anyone who has used
|
|
|
35 |
both can testify.<P>
|
|
|
36 |
In the TDF "machine" the problem is not lack of structure
|
|
|
37 |
at its "assembly" level, but rather too much of it; one
|
|
|
38 |
loses the sense of a TDF program because of its deeply nested structure.
|
|
|
39 |
Also the naming conventions of TDF are designed to make them tractable
|
|
|
40 |
to machine manipulation, rather than human reading and writing. However,
|
|
|
41 |
the approach is basically the same. PL_TDF provides shorthand notations
|
|
|
42 |
for the commonly occuring control structures and operations while
|
|
|
43 |
still allowing one to use the standard TDF constructors which, in
|
|
|
44 |
turn, may have shorthand notations for their parameters. The naming
|
|
|
45 |
is always done by identifiers where the sort of the name is determined
|
|
|
46 |
by its declaration, or by context.<P>
|
|
|
47 |
The TDF derived from PL_TDF is guaranteed to be SORT correct; however,
|
|
|
48 |
there is no SHAPE checking, so one can still make illegal TDF.<P>
|
|
|
49 |
<HR>
|
|
|
50 |
<P><I>Part of the <A HREF="../index.html">TenDRA Web</A>.<BR>Crown
|
|
|
51 |
Copyright © 1998.</I></P>
|
|
|
52 |
</BODY>
|
|
|
53 |
</HTML>
|