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

SCM Repository

[smlnj] Diff of /sml/trunk/src/MLRISC/makeall-new.sml
ViewVC logotype

Diff of /sml/trunk/src/MLRISC/makeall-new.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 774, Wed Jan 10 12:50:56 2001 UTC revision 775, Fri Jan 12 01:17:51 2001 UTC
# Line 2  Line 2 
2   * Recompile everything in this directory   * Recompile everything in this directory
3   *)   *)
4  (* CM.autoload "$/full-cm.cm"; *)  (* CM.autoload "$/full-cm.cm"; *)
5    
6    (* Register the nowhere tool *)
7    CM.make "$smlnj/cm/tools.cm";
8    val _ = Tools.registerStdShellCmdTool
9            { tool = "Nowhere",
10              class = "nowhere",
11              suffixes = ["peep"],
12              cmdStdPath = "nowhere",
13              template = NONE,
14              extensionStyle =
15                  Tools.REPLACE (["nowhere"], [("sml", SOME "sml", fn too => too)]),
16              dflopts = [] };
17    
18  val current = ref "";  val current = ref "";
19  fun make f = (print("[Compiling "^f^"]\n"); current := f; CM.recomp("cm/"^f));  fun make f = (print("[Compiling "^f^"]\n"); current := f; CM.recomp("cm/"^f));
20  fun again _ = make(!current);  fun again _ = make(!current);
# Line 9  Line 22 
22    | makeall(f::fs) = make f andalso makeall fs    | makeall(f::fs) = make f andalso makeall fs
23  ;  ;
24    
25    fun set f = #set(CM.Anchor.anchor f) (SOME "cm");
26    val _ = app set files;
27  val _ = makeall files;  val _ = makeall files;

Legend:
Removed from v.774  
changed lines
  Added in v.775

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