Girish Mahajan (Editor)

PLEX (programming language)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Developer
  
Göran Hemdahl

OS
  
Ericsson APZ

First appeared
  
1970s

License
  
Proprietary

Paradigm
  
procedural, imperative, concurrent

Stable release
  
Server: 1.3.3.3148-b38628e () [±]

PLEX (Programming Language for EXchanges) is a special-purpose, concurrent, real-time programming language. The PLEX language is closely tied to the architecture of Ericsson's AXE telephone exchanges which it was designed to control. PLEX was developed by Göran Hemdahl at Ericsson in the 1970s, and it has been continuously evolving since then. PLEX was described in 2008 as "a cross between Fortran and a macro assembler."

Contents

The language has two variants: Plex-C used for the AXE Central Processor (CP) and Plex-M used for Extension Module Regional Processors (EMRP).

Execution model

A system is divided into separately compiled and loaded units of code called "blocks." A block waits for one more signals sent from elsewhere in the system which triggers code execution.

Pre-compilers

Several precompilers or code generators exist, to produce source code in Plex-C from higher level languages or graphical models. These can generate Plex-C from:

  • Specification and Description Language graphical representation (SDL/GR)
  • Plex-SQL, an extension of Plex-C with database facilities
  • High Level Plex (HLPLEX) another extension of Plex-C
  • Source code in Plex-C is compiled into the assembly language ASA210C. The binary form of ASA210C is either interpreted by a combination of hardware and microcode, or is compiled by a Just-In-Time compiler into native machine code for a high-capacity microprocessor.

    References

    PLEX (programming language) Wikipedia