SCM Repository
View of /sml/trunk/src/cm/util/stdcfg.sml
Parent Directory
|
Revision Log
Revision 365 -
(download)
(annotate)
Fri Jul 2 08:38:07 1999 UTC (23 years ago) by blume
File size: 613 byte(s)
Fri Jul 2 08:38:07 1999 UTC (23 years ago) by blume
File size: 613 byte(s)
parse caching limit; various control flags exported
(* * 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") val parse_caching = int ("PARSE_CACHING", 100) end end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |