Back to the list

ECMA-335

Common Language Infrastructure (CLI)

6th edition, June 2012

This Standard defines the Common Language Infrastructure (CLI) in which applications written in multiple high-level languages can be executed in different system environments without the need to rewrite those applications to take into consideration the unique characteristics of those environments. This Standard consists of the following parts:

  • Partition I: Concepts and Architecture – Describes the overall architecture of the CLI, and provides the normative description of the Common Type System (CTS), the Virtual Execution System (VES), and the Common Language Specification (CLS).  It also provides an informative description of the metadata.
  • Partition II: Metadata Definition and Semantics – Provides the normative description of the metadata: its physical layout (as a file format), its logical contents (as a set of tables and their relationships), and its semantics (as seen from a hypothetical assembler, ilasm).
  • Partition III: CIL Instruction Set – Describes the Common Intermediate Language (CIL) instruction set.
  • Partition IV: Profiles and Libraries – Provides an overview of the CLI Libraries, and a specification of their factoring into Profiles and Libraries. A companion file, CLILibrary.xml, considered to be part of this Partition, but distributed in XML format, provides details of each class, value type, and interface in the CLI Libraries.
  • Partition V: Debug Interchange Format – Describes a standard way to interchange debugging information between CLI producers and consumers.
  • Partition VI: Annexes – Contains some sample programs written in CIL Assembly Language (ILAsm), information about a particular implementation of an assembler, a machine-readable description of the CIL instruction set which can be used to derive parts of the grammar used by this assembler as well as other tools that manipulate CIL, a set of guidelines used in the design of the libraries of Partition IV, and portability considerations.

Consisting of XML specification, see also ECMA TR/84, see also ECMA TR/89, Common Generics.

Download this standard

Classification

CategorySoftware engineering and interfaces

SubcategoryProgramming languages

Technical CommitteeTC39

ISO/IEC number23271

Archives

  • ECMA-335, 1st edition, December 2001Download
  • ECMA-335, 2nd edition, December 2002Download
  • ECMA-335, 3rd edition, June 2005Download
  • ECMA-335, 4th edition, June 2006Download
  • ECMA-335, 5th edition, December 2010Download

Resources

  • Zipped XML specification for the 2nd editionDownload
  • Zipped XML specification for the 3rd editionDownload
  • Zipped XML specification for the 4th editionDownload
  • Zipped XML specification for the 5th editionDownload
  • Zipped XML specification for the 6th editionDownload
  • Microsoft patent statement for ECMA-335, 4th edition, June 2006Download