| 1 |
= CCodegen |
| 2 |
|
| 3 |
The <<CCodegen#>> is a <<Codegen#,code generator>> that translates the |
| 4 |
<<Machine#>> <<IntermediateLanguage#>> to C, which is further optimized |
| 5 |
and compiled to native object code by `gcc` (or another C compiler). |
| 6 |
|
| 7 |
== Implementation |
| 8 |
|
| 9 |
* https://github.com/MLton/mlton/blob/master/mlton/codegen/c-codegen/c-codegen.sig[`c-codegen.sig`] |
| 10 |
* https://github.com/MLton/mlton/blob/master/mlton/codegen/c-codegen/c-codegen.fun[`c-codegen.fun`] |
| 11 |
|
| 12 |
== Details and Notes |
| 13 |
|
| 14 |
The <<CCodegen#>> is the original <<Codegen#,code generator>> for MLton. |