PLEX (programming language)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Plex
Paradigm procedural, imperative, concurrent
Developer Göran Hemdahl
First appeared 1970s
Stable release
  • Server:

1.4.4.3495-edef59192 ([1]) [±]

OS Ericsson APZ
License Proprietary
Dialects
Plex-C, Plex-M

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,[2] and it has been continuously evolving since then.[3] PLEX was described in 2008 as "a cross between Fortran and a macro assembler."[4]

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

Execution model[edit]

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.[5]

Pre-compilers[edit]

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

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.

See also[edit]

Notes[edit]

  1. ^ "Plex Media Server - Page 8 — Plex Forums". 
  2. ^ Joe Armstrong. "A History of Erlang" (PDF). Ericsson AB. Retrieved 2009-03-07. 
  3. ^ Johan Erikson and Björn Lisper. "A Formal Semantics for PLEX" (PDF). Mälardalen University. Retrieved 2009-03-07. 
  4. ^ Hague, James. "My Road to Erlang". Programming in the 21st Century. 
  5. ^ a b Johan Erikson and Bo Lindell. "The Execution Model of APZ/PLEX - An Informal Description" (PDF). Mälardalen University. Retrieved 2009-03-07.