C--
| C-- | |
|---|---|
| Unofficial logo for C-- which closely resembles the C++ logo | |
| Paradigm | imperative | 
| Designed by | Simon Peyton Jones and Norman Ramsey | 
| First appeared | 1998 | 
| Typing discipline | static, weak | 
| Website | www | 
| Influenced by | |
| C | |
C-- (pronounced C minus minus) is a C-like programming language, designed to be generated mainly by compilers for high-level languages rather than written by human programmers. It was created by functional programming researchers Simon Peyton Jones and Norman Ramsey. Unlike many other intermediate languages, it is represented in plain ASCII text, not bytecode or another binary format.
There are two main branches:
- C--, the original branch, with the final version 2.0 released in May 2005
- Cmm, the fork actively used as the intermediate representation (IR) in the Glasgow Haskell Compiler (GHC)