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/src/system/smlnj/cm/cm.cm
ViewVC logotype

View of /sml/trunk/src/system/smlnj/cm/cm.cm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1863 - (download) (annotate)
Tue Nov 15 22:38:49 2005 UTC (14 years, 6 months ago) by mblume
File size: 943 byte(s)
improved the way certain libraries are bound into the compiler
(*
 * Library exporting structure CM.
 *   (this implements $smlnj/cm/cm.cm)
 *
 * (C) 2000 Lucent Technologies, Bell Laboratories
 *
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
 *)
Library
	signature CM
	structure CM
is
	(* The following two libraries are here to make sure that
	 * pickling does not need to refer to host-compiler-0.cm.
	 * This is an extremely *fragile* hack, but it significantly reduces
	 * autoloading time for structure CM (as well as the system's
	 * memory footprint).
	 * The two libraries must be mentioned _first_ in order to take
	 * advantage of CM's implicit priority scheme when it comes
	 * to constructing the pickle environment for a library.
	 * (The rule is that libraries that get mentioned early are
	 * being favored.) *)
	$smlnj/basis/basis.cm
	$smlnj/internal/srcpath-lib.cm

	(* Here is the actual implementation... *)
	$smlnj/internal/cm-sig-lib.cm
	$smlnj/internal/cm0.cm
	fetch-cm.sml

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0