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 678, Tue Jun 27 07:51:09 2000 UTC revision 679, Thu Jun 29 07:03:20 2000 UTC
# Line 1218  Line 1218 
1218  ML-Yacc parser generator.  Its class name is {\tt mlyacc}.  Recognized  ML-Yacc parser generator.  Its class name is {\tt mlyacc}.  Recognized
1219  file name suffixes are {\tt .grm} and {\tt .y}.  For a source file  file name suffixes are {\tt .grm} and {\tt .y}.  For a source file
1220  $f$, the tool produces two targets $f${\tt .sig} and $f${\tt .sml},  $f$, the tool produces two targets $f${\tt .sig} and $f${\tt .sml},
1221  both of which are always treated as ML source files.  Parameters are  both of which are always treated as ML source files.  The {\tt mlyacc}
1222  passed on without change to the $f${\tt .sml} file but not to the  class accepts two optional tool parameters labeled {\tt sigoptions}
1223  $f${\tt .sig} file.  and {\tt smloptions}.  They specify tool options to be passed on to
1224    the generated {\tt .sig}- and {\tt .sml}-files, respectively.
1225    Example\footnote{Since the generated {\tt .sig}-file contains nothing
1226    more than an ML signature definition, it is typically not very useful
1227    to pass any options to it.}:
1228    
1229    \begin{verbatim}
1230        lang.grm (sigoptions:(setup:(pre:"print \"compiling lang.grm.sig\\n\";"))
1231                  smloptions:(private))
1232    \end{verbatim}
1233    
1234  The tool invokes the {\tt ml-yacc} command if the targets are  The tool invokes the {\tt ml-yacc} command if the targets are
1235  ``outdated''.  A target is outdated if it is missing or older than the  ``outdated''.  A target is outdated if it is missing or older than the

Legend:
Removed from v.678  
changed lines
  Added in v.679

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