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 573, Thu Mar 9 15:23:52 2000 UTC revision 578, Tue Mar 14 05:16:29 2000 UTC
# Line 1173  Line 1173 
1173      class = "nmlyacc",      class = "nmlyacc",
1174      suffixes = ["ngrm", "ny"],      suffixes = ["ngrm", "ny"],
1175      cmdStdPath = "new-ml-yacc",      cmdStdPath = "new-ml-yacc",
1176        template = NONE,
1177      extensionStyle = Tools.EXTEND [("sig", SOME "sml"),      extensionStyle = Tools.EXTEND [("sig", SOME "sml"),
1178                                     ("sml", SOME "sml")] }                                     ("sml", SOME "sml")] }
1179  \end{verbatim}  \end{verbatim}
# Line 1200  Line 1201 
1201  \item[suffixes] a list of file name suffixes that let CM automatically  \item[suffixes] a list of file name suffixes that let CM automatically
1202  recognize files of the class  recognize files of the class
1203  \item[cmdStdPath] the command string from above  \item[cmdStdPath] the command string from above
1204    \item[template] an optional string that describes how the command line
1205    is to be constructed from pieces; \\
1206    The string is taken verbatim except for embedded \% format specifiers:
1207      \begin{description}\setlength{\itemsep}{0pt}
1208      \item[\%c] the command name (i.e., the elaboration of {\tt cmdStdPath})
1209      \item[\%s] the source file name in native pathname syntax
1210      \item[\%$n$] the $n$-th target file in native pathname syntax; \\
1211        ($n$ is specified as a decimal number, counting starts at $1$, and
1212        each target file name is constructed from the corresponding {\tt
1213        extensionStyle} entry; if $n$ exceeds the number of targets then
1214        \%$n$ expands into itself)
1215      \item[\%$x$] the character $x$ (where $x$ is neither {\bf c}, nor
1216        {\bf s}, nor any decimal digit)
1217      \end{description}
1218    If no template string is given it defaults to {\tt "\%c \%s"}.
1219  \item[extensionStyle] a specification of how the names of files  \item[extensionStyle] a specification of how the names of files
1220  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; \\
1221  Currently, there are two possible cases:  Currently, there are two possible cases:
# Line 1239  Line 1255 
1255    
1256  This mechanism makes it possible for new tools to be added by simply  This mechanism makes it possible for new tools to be added by simply
1257  placing appropriately-named plug-in libraries in such a way that CM  placing appropriately-named plug-in libraries in such a way that CM
1258  can find them.  can find them.  This can be done in one of two ways:
1259    
1260    \begin{enumerate}
1261    \item For general-purpose tools that are installed in some central
1262    place, corresponding tool description files $c${\tt -tool.cm} and
1263    $s${\tt -ext.cm} should be registered using the path anchor mechanism.
1264    If this is done, actual description files can be placed in arbitrary
1265    locations.
1266    \item For special-purpose tools that are part of a specific program
1267    and for which there is no need for central installation, one should
1268    simply put the tool description files into the same directory as the
1269    one that contains their ``client'' description file.
1270    \end{enumerate}
1271    
1272  \section{Parallel and distributed compilation}  \section{Parallel and distributed compilation}
1273  \label{sec:parmake}  \label{sec:parmake}

Legend:
Removed from v.573  
changed lines
  Added in v.578

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