Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

PLZ

< >

PLZ is a programming language created in 1979.

#2264on PLDB 45Years Old


Example from the web:
bubble sort MODULE CONSTANT false : .. 0 true := 1 EXTERNAL printarray PROCEDURE (first tWORD count BYTE) INTERNAL a ARRAY [10 WORD] := [33 10 2000 400 410 3 3 33 500 1999] sort PROCEDURE (n BYTE) LOCAL i j limit BYTE temp WORD switched BYTE ENTRY DO switched := false i := 0 limit := n-2 DO IF i > limit THEN EXIT FI j := i + 1 IF a[i] > a[j] THEN switched := true temp :'" a [i) a[i] := a[j] a [j] : .. temp FI i +- 1 OD IF switched .. false THEN RETURN FI END sort GLOBAL main PROCEDURE ENTRY sort (10) printarray(ta[O] 10) END main END bubble sort

Language features

Feature Supported Token Example
Booleans ✓ true false

View source

- Build the next great programming language · About · Acknowledgements · Extensions · Day 630 · Donate · feedback@pldb.io