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/compiler/core.cm
ViewVC logotype

Diff of /sml/trunk/compiler/core.cm

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

revision 879, Thu Jul 19 18:59:38 2001 UTC revision 909, Fri Aug 24 17:48:53 2001 UTC
# Line 4  Line 4 
4   * and   * and
5   * (C) 2001 Lucent Technologies, Bell labs   * (C) 2001 Lucent Technologies, Bell labs
6   *   *
7   * This is the machine-independent "core" part of the compiler.   * This is the machine-independent "core" part of the compiler
8     * (but without the parser and elaborator data structures).
9   * Machine-dependent parts are in backend-<arch>.cm.   * Machine-dependent parts are in backend-<arch>.cm.
10   *   *
11     * The parser is in Parse/parser.cm.
12     * Elaborator data structures are in ElabData/elabdata.cm.
13     * Basic definitions are in Basics/basics.cm.
14     *
15   * The present file is a group which gets referred to by the actual library   * The present file is a group which gets referred to by the actual library
16   * file in system/smlnj/viscomp/core.cm.   * file in system/smlnj/viscomp/core.cm.
17   *)   *)
# Line 47  Line 52 
52          functor DummyCCallsFn          functor DummyCCallsFn
53          structure ClusterAnnotation          structure ClusterAnnotation
54    
55          (* stuff that lived (or should have in Frontend (aka GenericVC) *)          (* stuff that lived (or should have) in Frontend (aka GenericVC) *)
         structure Stats  
56          structure Control          structure Control
         structure Source  
         structure SourceMap  
         structure ErrorMsg  
         structure Symbol  
         structure SymPath  
         structure PersStamps  
         structure StaticEnv  
         structure DynamicEnv  
57          structure SymbolicEnv          structure SymbolicEnv
58            structure PrimEnv
59          structure Environment          structure Environment
60          structure EnvRef          structure EnvRef
61          structure ModuleId          structure ModuleId
# Line 68  Line 65 
65          structure Rehash          structure Rehash
66          structure PickleSymPid          structure PickleSymPid
67          structure UnpickleSymPid          structure UnpickleSymPid
         structure PrettyPrint  
68          structure CompilerPPTable          structure CompilerPPTable
         structure Ast  
         structure Absyn  
         structure SmlFile  
         structure Binfile  
69          structure PrintHooks          structure PrintHooks
70          structure CompilerVersion          structure CompilerVersion
         structure CompInfo  
         structure CompileExn  
71          structure CoreSym          structure CoreSym
72          structure FLINT          structure FLINT
73    
74          (* corresponding signatures *)          (* corresponding signatures *)
         signature STATS  
75          signature CONTROL          signature CONTROL
         signature SOURCE  
         signature SOURCE_MAP  
         signature ERRORMSG  
         signature SYMBOL  
         signature SYMPATH  
         signature PERSSTAMPS  
         signature STATICENV  
         signature DYNENV  
76          signature SYMENV          signature SYMENV
77          signature ENVIRONMENT          signature ENVIRONMENT
78            signature PRIM_ENV
79          signature ENVREF          signature ENVREF
80          signature MODULE_ID          signature MODULE_ID
81          signature PICKMOD          signature PICKMOD
82          signature UNPICKMOD          signature UNPICKMOD
         signature PRETTYPRINT  
         signature AST  
         signature ABSYN  
         signature SMLFILE  
         signature BINFILE  
83          signature FLINT          signature FLINT
84  is  is
85    
 TopLevel/batch/batchconfig.sml  
 TopLevel/batch/binfile.sig  
 TopLevel/batch/binfile.sml  
 TopLevel/batch/smlfile.sml  
 TopLevel/environ/dynenv.sig  
 TopLevel/environ/dynenv.sml  
86  TopLevel/environ/environ.sig  TopLevel/environ/environ.sig
87  TopLevel/environ/environ.sml  TopLevel/environ/environ.sml
 TopLevel/environ/envref.sml  
 TopLevel/environ/persmap.sml  
88  TopLevel/environ/symenv.sig  TopLevel/environ/symenv.sig
89  TopLevel/environ/symenv.sml  TopLevel/environ/symenv.sml
90    
91    TopLevel/interact/envref.sml
92  TopLevel/interact/evalloop.sig  TopLevel/interact/evalloop.sig
93  TopLevel/interact/evalloop.sml  TopLevel/interact/evalloop.sml
 TopLevel/interact/intconfig.sml  
94  TopLevel/interact/interact.sig  TopLevel/interact/interact.sig
95  TopLevel/interact/interact.sml  TopLevel/interact/interact.sml
96  TopLevel/main/compileexn.sml  
97    TopLevel/backend/backend.sig
98    TopLevel/backend/backend-fn.sml
99    
100    TopLevel/main/control.sig
101    TopLevel/main/control.sml
102  TopLevel/main/cconfig.sig  TopLevel/main/cconfig.sig
103  TopLevel/main/code-generator.sig  TopLevel/main/code-generator.sig
 TopLevel/main/code-obj.sig  
 TopLevel/main/code-obj.sml  
 TopLevel/main/isolate.sml  
 TopLevel/main/execute.sml  
 TopLevel/main/importtree.sml  
 TopLevel/main/compinfo.sml  
104  TopLevel/main/compile.sig  TopLevel/main/compile.sig
105  TopLevel/main/compile.sml  TopLevel/main/compile.sml
106  TopLevel/main/version.sml  TopLevel/main/version.sml
 TopLevel/main/control.sig  
 TopLevel/main/control.sml  
107  TopLevel/main/printhooks.sml  TopLevel/main/printhooks.sml
108  TopLevel/main/pptable.sml  TopLevel/main/pptable.sml
109    
 TopLevel/backend/backend.sig  
 TopLevel/backend/backend-fn.sml  
110    
111  Parse/ast/ast.sig  (* Semantic analysis (elaborator) specialized for SML/NJ. *)
112  Parse/ast/ast.sml  Semant/basics/inlinfo.sig
 Parse/ast/astutil.sig  
 Parse/ast/astutil.sml  
 Parse/ast/fixity.sml  
 Parse/lex/ml.lex  
 Parse/lex/tokentable.sml  
 Parse/main/frontend.sig  
 Parse/main/frontend.sml  
 Parse/parse/ml.grm  
   
 Semant/basics/access.sig  
 Semant/basics/access.sml  
 Semant/basics/conrep.sml  
 Semant/basics/env.sig  
 Semant/basics/env.sml  
113  Semant/basics/inlinfo.sml  Semant/basics/inlinfo.sml
114  Semant/basics/persstamps.sig  
 Semant/basics/persstamps.sml  
 Semant/basics/stamps.sig  
 Semant/basics/stamps.sml  
 Semant/basics/stampmap.sml  
 Semant/basics/symbol.sig  
 Semant/basics/symbol.sml  
 Semant/basics/coresym.sml  
 Semant/basics/sympaths.sig  
 Semant/basics/sympaths.sml  
 Semant/elaborate/elabcore.sml  
 Semant/elaborate/elabdebug.sml  
 Semant/elaborate/specialsyms.sml  
115  Semant/elaborate/elabmod.sml  Semant/elaborate/elabmod.sml
 Semant/elaborate/elabsig.sml  
116  Semant/elaborate/elabtop.sml  Semant/elaborate/elabtop.sml
117  Semant/elaborate/elabtype.sig  
118  Semant/elaborate/elabtype.sml  Semant/modules/instantiate-param.sml
 Semant/elaborate/elabutil.sig  
 Semant/elaborate/elabutil.sml  
 Semant/elaborate/include.sml  
 Semant/elaborate/precedence.sml  
 Semant/elaborate/tyvarset.sml  
 Semant/syntax/absyn.sig  
 Semant/syntax/absyn.sml  
 Semant/syntax/varcon.sig  
 Semant/syntax/varcon.sml  
 Semant/modules/entityenv.sig  
 Semant/modules/entityenv.sml  
 Semant/modules/entpath.sml  
 Semant/modules/epcontext.sml  
 Semant/modules/evalent.sml  
 Semant/modules/expandtycon.sml  
119  Semant/modules/instantiate.sml  Semant/modules/instantiate.sml
 Semant/modules/moduleid.sml  
 Semant/modules/modules.sig  
 Semant/modules/modules.sml  
 Semant/modules/moduleutil.sig  
 Semant/modules/moduleutil.sml  
120  Semant/modules/sigmatch.sml  Semant/modules/sigmatch.sml
121    Semant/modules/evalent.sml
122    Semant/modules/module-plists.sml
123    
124  Semant/pickle/pickle-sym-pid.sml  Semant/pickle/pickle-sym-pid.sml
125  Semant/pickle/pickmod-new.sml  Semant/pickle/pickmod-new.sml
# Line 207  Line 127 
127  Semant/pickle/unpickmod-new.sml  Semant/pickle/unpickmod-new.sml
128  Semant/pickle/rehash.sml  Semant/pickle/rehash.sml
129    
 Semant/statenv/bindings.sml  
 Semant/statenv/lookup.sig  
 Semant/statenv/lookup.sml  
130  Semant/statenv/prim.sml  Semant/statenv/prim.sml
131  Semant/statenv/genmap.sml  
132  Semant/statenv/statenv.sig  Semant/types/tp-var-info.sml
 Semant/statenv/statenv.sml  
 Semant/types/basictypes.sig  
 Semant/types/basictypes.sml  
 Semant/types/eqtypes.sml  
 Semant/types/tuples.sml  
 Semant/types/types.sig  
 Semant/types/types.sml  
 Semant/types/typesutil.sig  
 Semant/types/typesutil.sml  
 Semant/types/unify.sml  
 Semant/types/overload.sml  
 Semant/types/overloadlit.sml  
 Semant/types/reconstruct.sml  
133  Semant/types/typecheck.sml  Semant/types/typecheck.sml
134  Semant/types/cproto.sml  Semant/types/cproto.sml
135    
136    
137    (* The FLINT optimizer ("middle-end"). *)
138  FLINT/clos/allocprof.sml  FLINT/clos/allocprof.sml
139  FLINT/clos/cps-split.sml  FLINT/clos/cps-split.sml
140  FLINT/clos/freemap.sml  FLINT/clos/freemap.sml
# Line 258  Line 164 
164  FLINT/flint/ppflint.sig  FLINT/flint/ppflint.sig
165  FLINT/flint/ppflint.sml  FLINT/flint/ppflint.sml
166  FLINT/flint/tvarcvt.sml  FLINT/flint/tvarcvt.sml
167  FLINT/kernel/debindex.sig  FLINT/kernel/primtyc.sig
168  FLINT/kernel/debindex.sml  FLINT/kernel/primtyc.sml
 FLINT/kernel/lambdavar.sig  
 FLINT/kernel/lambdavar.sml  
169  FLINT/kernel/ltybasic.sig  FLINT/kernel/ltybasic.sig
170  FLINT/kernel/ltybasic.sml  FLINT/kernel/ltybasic.sml
171  FLINT/kernel/ltydef.sig  FLINT/kernel/ltydef.sig
# Line 273  Line 177 
177  FLINT/kernel/ltykernel.sml  FLINT/kernel/ltykernel.sml
178  FLINT/kernel/primop.sig  FLINT/kernel/primop.sig
179  FLINT/kernel/primop.sml  FLINT/kernel/primop.sml
 FLINT/kernel/primtyc.sig  
 FLINT/kernel/primtyc.sml  
180  FLINT/main/flintcomp.sml  FLINT/main/flintcomp.sml
181  FLINT/main/control.sml  FLINT/main/control.sml
182  FLINT/main/literals.sml  FLINT/main/literals.sml
# Line 313  Line 215 
215    
216  FLINT/lsplit/ls-inline.sml  FLINT/lsplit/ls-inline.sml
217    
218    
219    (* The code generator (MLRISC specialized for SML/NJ). *)
220  CodeGen/cpscompile/argPassing.sig  CodeGen/cpscompile/argPassing.sig
221  CodeGen/cpscompile/argPassing.sml  CodeGen/cpscompile/argPassing.sml
222  CodeGen/cpscompile/cluster.sml  CodeGen/cpscompile/cluster.sml
# Line 349  Line 253 
253  CodeGen/main/spill-table.sml  CodeGen/main/spill-table.sml
254  CodeGen/main/dummy-ccalls.sml  CodeGen/main/dummy-ccalls.sml
255    
256  MiscUtil/bignums/bigint.sig  
257  MiscUtil/bignums/bigint.sml  (* Miscellaneous utilities. *)
258  MiscUtil/bignums/realconst.sml  MiscUtil/bignums/realconst.sml
259  MiscUtil/bignums/ieeereal.sml  MiscUtil/bignums/ieeereal.sml
260  MiscUtil/print/ppabsyn.sml  
261  MiscUtil/print/ppdec.sml  MiscUtil/print/ppdec.sml
 MiscUtil/print/ppmod.sml  
262  MiscUtil/print/ppobj.sml  MiscUtil/print/ppobj.sml
263  MiscUtil/print/pptable.sml  MiscUtil/print/pptable.sml
 MiscUtil/print/pptype.sml  
 MiscUtil/print/pputil.sig  
 MiscUtil/print/pputil.sml  
 MiscUtil/print/ppval.sml  
 MiscUtil/print/pp-wrapper.sml  
 MiscUtil/print/printutil.sig  
 MiscUtil/print/printutil.sml  
 MiscUtil/profile/prof-env.sml  
 MiscUtil/profile/profile-fn.sml  
 MiscUtil/profile/profile.sig  
 MiscUtil/profile/profile.sml  
 MiscUtil/profile/sprof.sml  
 MiscUtil/profile/tell-env.sml  
 MiscUtil/profile/tprof.sml  
 MiscUtil/profile/btrace.sml  
 MiscUtil/profile/btimp.sml  
264    
 MiscUtil/util/errormsg.sig  
 MiscUtil/util/errormsg.sml  
265  MiscUtil/util/feedback.sml  MiscUtil/util/feedback.sml
 MiscUtil/util/intstrmap.sig  
 MiscUtil/util/intstrmap.sml  
266  MiscUtil/util/literal-to-num.sml  MiscUtil/util/literal-to-num.sml
 MiscUtil/util/pathnames.sig  
 MiscUtil/util/pathnames.sml  
 MiscUtil/util/source.sig  
 MiscUtil/util/source.sml  
 MiscUtil/util/sourcemap.sig  
 MiscUtil/util/sourcemap.sml  
 MiscUtil/util/stats.sml  
267    
268  $/basis.cm  (* Libraries that are part of the visible compiler framework. *)
269  $/smlnj-lib.cm  $smlnj/viscomp/basics.cm
270  $/ml-yacc-lib.cm  $smlnj/viscomp/parser.cm
271  $/pickle-lib.cm  $smlnj/viscomp/elabdata.cm
272    $smlnj/viscomp/elaborate.cm
273    $smlnj/viscomp/debugprof.cm
274    $smlnj/viscomp/execute.cm
275    
276    (* MLRISC libraries. *)
277  $smlnj/MLRISC/Lib.cm                    (* provides SortedList *)  $smlnj/MLRISC/Lib.cm                    (* provides SortedList *)
278  $smlnj/MLRISC/Control.cm  $smlnj/MLRISC/Control.cm
279    $smlnj/MLRISC/Graphs.cm
280  $smlnj/MLRISC/MLRISC.cm  $smlnj/MLRISC/MLRISC.cm
281  $/pp-lib.cm  
282    (* Other libaries. *)
283    $/basis.cm
284    $/smlnj-lib.cm
285    $/pickle-lib.cm

Legend:
Removed from v.879  
changed lines
  Added in v.909

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