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/tools/main/public-tools.sig
ViewVC logotype

View of /sml/trunk/src/cm/tools/main/public-tools.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1902 - (download) (as text) (annotate)
Wed Mar 1 04:44:30 2006 UTC (13 years, 6 months ago) by mblume
File size: 1244 byte(s)
ml-flex -> lexgen
(*
 * The public interface to CM's tools mechanism.
 *
 *   (C) 2000 Lucent Technologies, Bell Laboratories
 *
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
 *)
signature TOOLS = sig
    (* We inherit most of this interface from CORETOOLS.  The only things
     * not in CORETOOLS are those that cannot be implemented without having
     * access to CM itself, and which would otherwise create a dependency
     * cycle. *)
    include CORETOOLS

    (* CM's say and vsay functions:  "say" unconditionally issues a
     * diagnostic message; "vsay" issues its message under control of
     * CM.Control.verbose. *)
    val say : string list -> unit
    val vsay : string list -> unit

    (* Get an anchor-configurable command name. *)
    val mkCmdName : string -> string

    (* Register a "standard" tool based on some shell command. *)
    val registerStdShellCmdTool : { tool: string,
				    class: string,
				    suffixes: string list,
				    cmdStdPath: unit -> string * string list,
				    extensionStyle: extensionStyle,
				    template: string option,
				    dflopts: toolopts } -> unit

    (* make a bool control *)
    val boolcontrol : string * string * bool ->
		      { get: unit -> bool, set: bool -> unit }
end

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