Category:Polyglot:PL/I and PL/M: Difference between revisions

Content added Content deleted
(More notes)
Line 10: Line 10:
8080 PL/M features of interest:
8080 PL/M features of interest:
* The compiler ignores everything after column 80 of a source line.
* The compiler ignores everything after column 80 of a source line.
* The compiler ignores lower case letters and many "special" characters.
* The compiler treats lower case letters and many "special" characters as spaces.
* PL/M has a parameterless macro facility.
* PL/M has a parameterless macro facility.
* The PL/M source must end with an EOF keyword - everything after it is ignored.
* The PL/M source must end with an EOF keyword - everything after it is ignored.
Line 29: Line 29:
* PL/I has a range of types, none of which are called BYTE or ADDRESS.
* PL/I has a range of types, none of which are called BYTE or ADDRESS.
* Identifiers can contain underscores and some implementations allow dollar signs.
* Identifiers can contain underscores and some implementations allow dollar signs.

===Implementation===
===Implementation===
The following stratagy could be used:
The following stratagy could be used: