DIANA (intermediate language)


DIANA, the Descriptive Intermediate Attributed Notation for Ada, is an intermediate language used to represent the semantics of an Ada program. It was originally designed as an interface between the front end and middle of the compiler on the one hand and the back end on the other. It is also used as an internal representation by other language tools.
DIANA is also used by PL/SQL, which is based on Ada.
DIANA is an abstract data type; its concrete implementations are defined using the IDL specification language.
DIANA descends from TCOL and AIDA, earlier representations of Ada programs.
The Ada-0 subset of Ada at Karlsruhe was first using AIDA, but later AIDA got replaced by DIANA.
The full Karlsruhe Ada compilation system used DIANA as well and the IDL External Representation for marshalling between the middle-end and the code generating back-end.