SML# Document Version 4.1.0
V SML# Internals and Data Structures

Chapter 33 Control structure of the compiler

This chapter describes the control structure of the SML# compiler.

  1. 1.

    Source code locations

    • src/compiler/minismlsharp.{smi,sml} files src/compiler/smlsharp.{smi,sml} files

    • src/compiler/compilePhase/main directory

    • src/compiler/compilePhase/toplevel directory

  2. 2.

    Overview

    1. (a)

      Compiler starat up by src/compiler/minismlsharp.sml.

    2. (b)

      The compiler command main functions by src/compiler/compilePhase/main module.

    3. (c)

      The top-level compile phase processing by src/compiler/compilePhase/toplevel.