What Are the Phases of the Ocaml Compiler?

Answer

The phases of the OCaml compiler are according to driver/compile. They are parsing, type reference and checking, transformation to raw lambda, simplifier, byte-code generation, and emission into a file. The overall structure does not vary too much from FP compiler to compiler.
Reference:
Q&A Related to "What Are the Phases of the Ocaml Compiler"
Here's a short, incomplete version from 20 minutes of snooping around the source code. Admittedly, this is mostly my experience with GHC speaking: they have nice code commentary
http://www.quora.com/What-are-the-phases-of-the-OC...
qwsdxqw.
http://wiki.answers.com/Q/What_are_the_phases_of_c...
Compiler is large and complex program so we divide compiler into different phases on the base of their complexity. There are four compulsory phases of complier; Lexical Analysis,
http://answers.yahoo.com/question/index?qid=200805...
Preprocessor. Assembler. Loader and Link-editor.
http://aolanswers.com/questions/system_software_62...
About -  Privacy -  Careers -  Ask Blog -  Mobile -  Help -  Feedback  -  Sitemap  © 2014 Ask.com