Category:PL/M: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Minor addition to the statements list and differences from PL/1)
m (A little more info.)
Line 1: Line 1:
{{stub}}{{language}}
{{stub}}{{language}}


PL/M (Programming Language for Microcomputers) is (as the name suggests) a language designed for microcomputer software, particularly system software.
Designed and implemented in 1973 by Gary Kildall, PL/M (Programming Language for Microcomputers) is (as the name suggests) a language designed for microcomputer software, particularly system software.
<br>
<br>
<br>
<br>
Line 18: Line 18:
There are no built-in I/O statements - calls to appropriate routines would be made instead.
There are no built-in I/O statements - calls to appropriate routines would be made instead.
<br><br>
<br><br>
Unlike PL1, PL/M keywords are reserved and so cannot be used as identifiers. The Boolean operators are reserved words: AND, OR and NOT instead of the symbols: &, |, ¬.
Unlike PL/1, PL/M keywords are reserved and so cannot be used as identifiers. The Boolean operators are reserved words: AND, OR and NOT instead of the symbols: &, |, ¬.
<br>
<br>
Available datatypes (BYTE, WORD, etc.) reflected the available types of the microprocessors.
Available datatypes (BYTE, WORD, etc.) reflected the available types of the microprocessors.
Line 30: Line 30:
<br>
<br>
Compilers were available for a number of microprocessors including the 8080 Z80.
Compilers were available for a number of microprocessors including the 8080 Z80.
<br>
<br>
Kildall's original PL/M compiler was implemented entirely in standard Fortran 66.
<br>
<br>
<br>
<br>

Revision as of 15:34, 24 May 2020

This page is a stub. It needs more information! You can help Rosetta Code by filling it in!
Language
PL/M
This programming language may be used to instruct a computer to perform a task.
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using PL/M.

Designed and implemented in 1973 by Gary Kildall, PL/M (Programming Language for Microcomputers) is (as the name suggests) a language designed for microcomputer software, particularly system software.

It is approximately a very small subset of PL/1 (though not a strict subset).
The following statements from PL/1 (with some changes) were available:

  • assignment
  • CALL
  • DECLARE
  • DO-END
  • IF-THEN-ELSE
  • GOTO
  • PROCEDURE-END
  • RETURN

Additionally, a HALT statement, interrupt related statements and a number of compiler directive statements existed.
There are no built-in I/O statements - calls to appropriate routines would be made instead.

Unlike PL/1, PL/M keywords are reserved and so cannot be used as identifiers. The Boolean operators are reserved words: AND, OR and NOT instead of the symbols: &, |, ¬.
Available datatypes (BYTE, WORD, etc.) reflected the available types of the microprocessors.

The declaration of structures in PL/M does not use level-numbers, instead a syntax more like C structs is used, e.g.: <lang PLM>DECLARE A STRUCTURE ( B BYTE, C WORD );</lang> declares a structure A with two members, B and C.

PL/M was used in the development of the CP/M operating system and associated applications.
Compilers were available for a number of microprocessors including the 8080 Z80.

Kildall's original PL/M compiler was implemented entirely in standard Fortran 66.

See Also

Subcategories

This category has the following 3 subcategories, out of 3 total.

Pages in category "PL/M"

The following 165 pages are in this category, out of 165 total.