Measures Concepts
GitHub icon

PL/I

PL/I - Programming language

< >

PL/I, aka Programming Language One, is a programming language created in 1964.

#215on PLDB 60Years Old

PL/I (Programming Language One, pronounced ) is a procedural, imperative computer programming language designed for scientific, engineering, business and system programming uses. It has been used by various academic, commercial and industrial organizations since it was introduced in the 1960s, and continues to be actively used. PL/I's main domains are data processing, numerical computation, scientific computing, and system programming; it supports recursion, structured programming, linked data structure handling, fixed-point, floating-point, complex, character string handling, and bit string handling. Read more on Wikipedia...


Example from Wikipedia:
/* Read in a line, which contains a string, /* and then print every subsequent line that contains that string. */ find_strings: procedure options (main); declare pattern character (100) varying; declare line character (100) varying; declare line_no fixed binary; on endfile (sysin) stop; get edit (pattern) (L); line_no = 1; do forever; get edit (line) (L); if index(line, pattern) > 0 then put skip list (line_no, line); line_no = line_no + 1; end; end find_strings;

Language features

Feature Supported Token Example
Fixed Point Numbers ✓
Assignment ✓ =
Comments ✓
/* A comment
*/
MultiLine Comments ✓ /* */
/* A comment
*/
Threads ✓
Pointers ✓
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout