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/internal/intsys.cm
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1878 - (download) (annotate)
Mon Nov 21 19:54:57 2005 UTC (14 years, 7 months ago) by mblume
File size: 3026 byte(s)
fixed problem with config/preloads (html-lib)
(* Copyright YALE FLINT PROJECT 1997 *)
(* Copyright Bell Labs, Lucent Technologies 1999 *)
(* intsys.cm *)

 * Revised for using the new CM. (M.Blume, 7/1999)

	(* bootstrap stuff *)
	structure InteractiveSystem

	(* export representatives for pro-forma libraries... *)
	structure Compiler  (* $smlnj/compiler/compiler.cm *)
	structure CM        (* $smlnj/cm.cm *)
	structure CMB       (* $smlnj/cmb.cm *)
	structure Tools
	structure YaccTool
	structure LexTool
	structure BurgTool
	structure NowebTool
	structure MakeTool
	structure ShellTool
	structure DirTool
	structure LibInstall (* $smlnj/installer.cm *)

# if not defined(LIGHT)
	(* export one representative from $smlnj/compiler/all.cm *)
	structure Alpha32UnixCMB
# endif 
	$smlnj/init/init.cmi : cm


	(* need access to CM's "init" function *)

	(* Need access to the actual backend... *)

	(* these are just here so they get made... *)

        (* We need the ml-yacc and ml-lex tool plugins here. They must
         * always be "plugged in" because they are needed for -rebuild,
	 * i.e., at a time when on-demand loading does not work yet. *)
	$/grm-ext.cm		(* implies $/mlyacc-tool.cm *)
	$/lex-ext.cm		(* implies $/mllex-tool.cm *)
        (* Technically, the ml-burg tool is not needed here.  It should
         * eventually be moved into the ML-Burg source tree and installed
         * from there. *)
	$/burg-ext.cm		(* implies $/mlburg-tool.cm *)
        (* Technically, the noweb tool is not needed here.  It should
         * eventually be moved into the noweb source tree and installed
         * from there. *)
	$/nw-ext.cm		(* implies $/noweb-tool.cm *)
	(* Register the make tool here. (Kinda unrealistic to hope that
	 * Unix' make suddenly comes with a CM plugin... *)
	(* Same for shell tool... *)

	(* Register the "dir" tool.  Its classifier (but not the tool
	 * itself) is always "plugged-in". *)

	(* The next is the installer.  It just needs to get compiled
	 * so we know it is in sync with the rest of the code... *)

	(* We add the HTML lib.  It gets compiled anyway (even though
	 * the compiler does not need it) because of a static dependence
	 * from a module in pp-lib.cm.  Since the code gets compiled,
	 * we should arrange for it to show up in a sensible location.
	 * That's why we mention it here. *)

# if not defined(LIGHT)
# endif

	(* build boot environments *)

	(* glue code (build the interactive system) *)

	(* need access to the Controls module (for registering
	 * MLRISC controls: *)

ViewVC Help
Powered by ViewVC 1.0.0