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/cm/util/stdcfg.sml
ViewVC logotype

View of /sml/trunk/src/cm/util/stdcfg.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 361 - (download) (annotate)
Wed Jun 30 06:44:04 1999 UTC (21 years, 1 month ago) by blume
File size: 565 byte(s)
bootstrapping works now (mainly); PathConfig code cleaned majorly
(*
 * CM parameters that are configurable via shell-environment variables.
 *
 *   Copyright (c) 1999 by Lucent Technologies, Bell Laboratories.
 *
 * author: Matthias Blume (blume@cs.princeton.edu)
 *)
structure StdConfig = struct
    local
	val bool = EnvConfig.new Bool.fromString
	val int = EnvConfig.new Int.fromString
	val string = EnvConfig.new SOME
    in
	val verbose = bool ("VERBOSE", true)
	val debug = bool ("DEBUG", false)
	val keep_going = bool ("KEEP_GOING", false)
	val pathcfgspec = string ("PATHCONFIG", "/usr/lib/smlnj-pathconfig")
    end
end


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