3 ms·
I believe the "modern" term for Cfront would be "transpiler".
by userbinator 7y ago
I believe the "modern" term for Cfront would be "transpiler".
- msla 7y agoI think it could be called a "compiler" if C-- is anything to go by: https://en.wikipedia.org/wiki/C-- https://en.wikipedia.org/wiki/C-- > C-- (pronounced cee minus minus) is a C-like programming language. Its creators, functional programming researchers Simon Peyton Jones and Norman Ramsey, designed it to be generated mainly by compilers for very high-level languages rather than written by human programmers. Unlike many other intermediate languages, its representation is plain ASCII text, not bytecode or another binary format.[1][2] > There are two main branches of C--. One is the original C-- branch, with the final version 2.0 released in May 2005.[3] The other is the Cmm fork actively used by the Glasgow Haskell Compiler as its intermediate representation.[4]
- gpderetta 7y agoYes. In addition to C--, there is a long tradition of FP (and not only) languages targeting C as a (portable) back end representation. That's how many scheme compilers worked for example. LLVM itself at some point had a C backend.