Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/compiler/TopLevel/main/code-generator.sig
ViewVC logotype

View of /sml/trunk/compiler/TopLevel/main/code-generator.sig

Parent Directory Parent Directory | Revision Log Revision Log

Revision 4949 - (download) (as text) (annotate)
Sun Apr 7 12:50:20 2019 UTC (6 months, 1 week ago) by jhr
File size: 559 byte(s)
  Split CPS out from the FLINT directory into its own subdirectory.  This change
  includes replacing the FLINTComp functor with a FLINTOpt structure and a CPSComp
(* code-generator.sig
 * COPYRIGHT (c) 2019 The Fellowship of SML/NJ (http://www.smlnj.org)
 * All rights reserved.
 * Generation of code from the FLINT intermediate form (after all FLINT passes
 * have completed)

signature CODE_GENERATOR =
    structure Machine : MACHINE_GEN

    val architecture : string

    val abi_variant : string option (* to distinguish between, e.g., various
				   * intel-based unices, etc.*)

    val compile : {
	    source : string,
	    prog : FLINT.prog
	  } -> CodeObj.csegments

  end (* CODE_GENERATOR *)

ViewVC Help
Powered by ViewVC 1.0.0