News for hackers. Stuff that matters.
Re:Welcome to C-- (2008) by andrewshadura on Sunday January 23, 2022 @04:07AM (#30044731)
In fact, there were at least two completely different programming languages called C--. This one seems yet another one
Re:Welcome to C-- (2008) by andai on Sunday January 23, 2022 @07:30AM (#30045669)
This one (the OP) is used by the Glasgow Haskell Compiler, apparently they still use it? I remember reading it was only used in the early days but I might be confusing it with cfront.
Re:Welcome to C-- (2008) by bradrn on Sunday January 23, 2022 @08:12AM (#30045897)
Re:Welcome to C-- (2008) by nextaccountic on Sunday January 23, 2022 @05:26PM (#30051167)
> A .cmm file is rather like C--. The syntax is almost C-- (a few constructs are missing), and it is augmented with some macros that are expanded by GHC's code generator (eg. INFO_TABLE()).

> (...)

> We say that Cmm is GHC's implementation of C--. This naming scheme is not done consistently everywhere, unfortunately. If you are interested in C-- (which have diverged from Cmm), you can check out its specification.