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/cm/Doc/manual.tex
ViewVC logotype

Diff of /sml/trunk/src/cm/Doc/manual.tex

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

revision 490, Wed Nov 24 07:00:45 1999 UTC revision 494, Tue Nov 30 09:07:21 1999 UTC
# Line 1121  Line 1121 
1121  write:  write:
1122    
1123  \begin{verbatim}  \begin{verbatim}
1124  val command = Tools.newCmdGetterSetter ("NYACC", "new-ml-yacc")  val command = Tools.newCmdController ("NYACC", "new-ml-yacc")
1125  val _ = Tools.registerStdShellCmdTool  val _ = Tools.registerStdShellCmdTool
1126    { tool = "New-ML-Yacc",    { tool = "New-ML-Yacc",
1127      class = "nmlyacc",      class = "nmlyacc",
# Line 1135  Line 1135 
1135  interactive top level after loading the {\tt cm-tools.cm} library  interactive top level after loading the {\tt cm-tools.cm} library
1136  (e.g., via {\tt CM.autoload}).  (e.g., via {\tt CM.autoload}).
1137    
1138  The call to {\tt Tools.newCmdGetterSetter} makes a ``command  The call to {\tt Tools.newCmdController} makes a ``command
1139  getter-setter'' (a value of type {\tt \{ get: unit -> string,  controller'' (a value of type {\tt \{ get: unit -> string,
1140  set: string -> unit \} }). It can be used to query or set the  set: string -> unit \} }). It can be used to query or set the
1141  command string for the tool.  Here, the default string is {\tt  command string for the tool.  Here, the default string is {\tt
1142  new-ml-yacc} and can be customized at startup time using the  new-ml-yacc} and can be customized at startup time using the
# Line 1151  Line 1151 
1151  upper-case letters  upper-case letters
1152  \item[suffixes] a list of file name suffixes that let CM automatically  \item[suffixes] a list of file name suffixes that let CM automatically
1153  recognize files of the class  recognize files of the class
1154  \item[command] the command getter-setter from above  \item[command] the command controller from above
1155  \item[extensionStyle] a specification of how the names of files  \item[extensionStyle] a specification of how the names of files
1156  generated by the tool relate to the name of the tool input file; \\  generated by the tool relate to the name of the tool input file; \\
1157  Currently, there are two possible cases:  Currently, there are two possible cases:

Legend:
Removed from v.490  
changed lines
  Added in v.494

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