Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/cml/doc/ML-Doc/running.mldoc
ViewVC logotype

Annotation of /sml/trunk/src/cml/doc/ML-Doc/running.mldoc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 287 - (view) (download)

1 : monnier 287 <!-- running.mldoc -->
2 :    
3 :     <!DOCTYPE ML-DOC SYSTEM>
4 :    
5 :     <COPYRIGHT OWNER="Bell Labs, Lucent Technologies" YEAR=1999>
6 :     <VERSION VERID="1.0" YEAR=1999 MONTH=1 DAY=8>
7 :     <TITLE>Porting old programs</TITLE>
8 :    
9 :     <SECTION>
10 :     <HEAD>Running &CML; programs</HEAD>
11 :     <PP>
12 :     &CML; does not currently support executing &CML; code from the &SMLNJ; top-level
13 :     loop.
14 :     This restriction is because the &SMLNJ; compiler is not thread safe.
15 :     Instead, one uses the <VALREF STRID="RunCML">RunCML.doit</VALREF> command
16 :     to run programs.
17 :    
18 :     <SECTION LABEL="sec:using-cm">
19 :     <HEAD>Using the compilation manager</HEAD>
20 :     <PP>
21 :     The recommended way to compile &CML; programs is by using the &SMLNJ;
22 :     <IT>Compilation Manager</IT> (CM).
23 :     </SECTION>
24 :    
25 :     <SECTION>
26 :     <HEAD>The <TT>cml-cm</TT> command</HEAD>
27 :     <PP>
28 :     The &SMLNJ; installation provides the option of building the <TT>cml-cm</TT>
29 :     command.
30 :     This is basically a version of &SMLNJ; that knows how to autoload &CML;
31 :     components when compiling code that references them.
32 :     When using <TT>cml-cm</TT>, it is still necessary to use
33 :     <VALREF STRID="RunCML">RunCML.doit</VALREF> to execute your code.
34 :     <PP>
35 :     Unfortunately, there have been problems with the way that the compilation
36 :     manager initializes autoloaded modules, and thus <TT>cml-cm</TT> has been
37 :     broken in a number of released versions.
38 :     Therefore, we recommend that you use the methods described
39 :     in <SECREF LABEL="sec:using-cm"> above when working with &CML;
40 :     </SECTION>
41 :    
42 :     </SECTION>
43 :    

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