C-- (INTERMEDIATE LANGUAGE)
'C--' is an intermediate language designed to be emitted by compilers. C-- is intended to play the role that is usually played by either the C programming language or machine-specific assembly language in modern compilers. The language's syntax borrows heavily from C. Hence, the name of the language employs C's unary destructive decrement operator to show that it is almost a subset of C. This is analogous to the way in which C++ is almost a superset of C.
The language is designed as an intermediate language to mediate between high-level compiler tools and low-level optimisers. It omits or changes standard C features such as variadic functions, pointer syntax, and aspects of C's type system. These features are left out of C-- or present in modified form because they hamper certain essential features of C-- (such as tail-call optimisation) and the ease with which code-generation tools can produce it.
C-- is a target platform for the Glasgow Haskell Compiler, and will eventually become the main platform. Some of C--'s developers, including Simon Peyton Jones, also work on GHC. The codebase and development are based at Microsoft Research in Cambridge, though it is not a Microsoft project.
| Contents |
| See also |
| External link |
See also
★ BCPL
External link
★ The C-- website.
This article provided by Wikipedia. To edit the contents of this article, click here for original source.
psst.. try this: add to faves

العربية
中国
Français
Deutsch
Ελληνική
हिन्दी
Italiano
日本語
Português
Русский
Español