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 902, Wed Aug 15 21:17:05 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 Environment          structure Environment
59          structure EnvRef          structure EnvRef
# Line 68  Line 64 
64          structure Rehash          structure Rehash
65          structure PickleSymPid          structure PickleSymPid
66          structure UnpickleSymPid          structure UnpickleSymPid
         structure PrettyPrint  
67          structure CompilerPPTable          structure CompilerPPTable
         structure Ast  
         structure Absyn  
         structure SmlFile  
         structure Binfile  
68          structure PrintHooks          structure PrintHooks
69          structure CompilerVersion          structure CompilerVersion
         structure CompInfo  
         structure CompileExn  
70          structure CoreSym          structure CoreSym
71          structure FLINT          structure FLINT
72    
73          (* corresponding signatures *)          (* corresponding signatures *)
         signature STATS  
74          signature CONTROL          signature CONTROL
         signature SOURCE  
         signature SOURCE_MAP  
         signature ERRORMSG  
         signature SYMBOL  
         signature SYMPATH  
         signature PERSSTAMPS  
         signature STATICENV  
         signature DYNENV  
75          signature SYMENV          signature SYMENV
76          signature ENVIRONMENT          signature ENVIRONMENT
77          signature ENVREF          signature ENVREF
78          signature MODULE_ID          signature MODULE_ID
79          signature PICKMOD          signature PICKMOD
80          signature UNPICKMOD          signature UNPICKMOD
         signature PRETTYPRINT  
         signature AST  
         signature ABSYN  
         signature SMLFILE  
         signature BINFILE  
81          signature FLINT          signature FLINT
82  is  is
83    
 TopLevel/batch/batchconfig.sml  
 TopLevel/batch/binfile.sig  
 TopLevel/batch/binfile.sml  
 TopLevel/batch/smlfile.sml  
 TopLevel/environ/dynenv.sig  
 TopLevel/environ/dynenv.sml  
84  TopLevel/environ/environ.sig  TopLevel/environ/environ.sig
85  TopLevel/environ/environ.sml  TopLevel/environ/environ.sml
86  TopLevel/environ/envref.sml  TopLevel/environ/envref.sml
 TopLevel/environ/persmap.sml  
87  TopLevel/environ/symenv.sig  TopLevel/environ/symenv.sig
88  TopLevel/environ/symenv.sml  TopLevel/environ/symenv.sml
89    
90  TopLevel/interact/evalloop.sig  TopLevel/interact/evalloop.sig
91  TopLevel/interact/evalloop.sml  TopLevel/interact/evalloop.sml
 TopLevel/interact/intconfig.sml  
92  TopLevel/interact/interact.sig  TopLevel/interact/interact.sig
93  TopLevel/interact/interact.sml  TopLevel/interact/interact.sml
94  TopLevel/main/compileexn.sml  
95    TopLevel/backend/backend.sig
96    TopLevel/backend/backend-fn.sml
97    
98    TopLevel/main/control.sig
99    TopLevel/main/control.sml
100  TopLevel/main/cconfig.sig  TopLevel/main/cconfig.sig
101  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  
102  TopLevel/main/compile.sig  TopLevel/main/compile.sig
103  TopLevel/main/compile.sml  TopLevel/main/compile.sml
104  TopLevel/main/version.sml  TopLevel/main/version.sml
 TopLevel/main/control.sig  
 TopLevel/main/control.sml  
105  TopLevel/main/printhooks.sml  TopLevel/main/printhooks.sml
106  TopLevel/main/pptable.sml  TopLevel/main/pptable.sml
107    
 TopLevel/backend/backend.sig  
 TopLevel/backend/backend-fn.sml  
108    
109  Parse/ast/ast.sig  (* Semantic analysis (elaborator) specialized for SML/NJ. *)
110  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  
111  Semant/basics/inlinfo.sml  Semant/basics/inlinfo.sml
112  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  
113  Semant/elaborate/elabmod.sml  Semant/elaborate/elabmod.sml
 Semant/elaborate/elabsig.sml  
114  Semant/elaborate/elabtop.sml  Semant/elaborate/elabtop.sml
115  Semant/elaborate/elabtype.sig  
116  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  
117  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  
118  Semant/modules/sigmatch.sml  Semant/modules/sigmatch.sml
119    Semant/modules/evalent.sml
120    Semant/modules/module-plists.sml
121    
122  Semant/pickle/pickle-sym-pid.sml  Semant/pickle/pickle-sym-pid.sml
123  Semant/pickle/pickmod-new.sml  Semant/pickle/pickmod-new.sml
# Line 207  Line 125 
125  Semant/pickle/unpickmod-new.sml  Semant/pickle/unpickmod-new.sml
126  Semant/pickle/rehash.sml  Semant/pickle/rehash.sml
127    
 Semant/statenv/bindings.sml  
 Semant/statenv/lookup.sig  
 Semant/statenv/lookup.sml  
128  Semant/statenv/prim.sml  Semant/statenv/prim.sml
129  Semant/statenv/genmap.sml  
130  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  
131  Semant/types/reconstruct.sml  Semant/types/reconstruct.sml
132  Semant/types/typecheck.sml  Semant/types/typecheck.sml
133  Semant/types/cproto.sml  Semant/types/cproto.sml
134    
135    
136    (* The FLINT optimizer ("middle-end"). *)
137  FLINT/clos/allocprof.sml  FLINT/clos/allocprof.sml
138  FLINT/clos/cps-split.sml  FLINT/clos/cps-split.sml
139  FLINT/clos/freemap.sml  FLINT/clos/freemap.sml
# Line 258  Line 163 
163  FLINT/flint/ppflint.sig  FLINT/flint/ppflint.sig
164  FLINT/flint/ppflint.sml  FLINT/flint/ppflint.sml
165  FLINT/flint/tvarcvt.sml  FLINT/flint/tvarcvt.sml
 FLINT/kernel/debindex.sig  
 FLINT/kernel/debindex.sml  
 FLINT/kernel/lambdavar.sig  
 FLINT/kernel/lambdavar.sml  
166  FLINT/kernel/ltybasic.sig  FLINT/kernel/ltybasic.sig
167  FLINT/kernel/ltybasic.sml  FLINT/kernel/ltybasic.sml
168  FLINT/kernel/ltydef.sig  FLINT/kernel/ltydef.sig
# Line 273  Line 174 
174  FLINT/kernel/ltykernel.sml  FLINT/kernel/ltykernel.sml
175  FLINT/kernel/primop.sig  FLINT/kernel/primop.sig
176  FLINT/kernel/primop.sml  FLINT/kernel/primop.sml
 FLINT/kernel/primtyc.sig  
 FLINT/kernel/primtyc.sml  
177  FLINT/main/flintcomp.sml  FLINT/main/flintcomp.sml
178  FLINT/main/control.sml  FLINT/main/control.sml
179  FLINT/main/literals.sml  FLINT/main/literals.sml
# Line 313  Line 212 
212    
213  FLINT/lsplit/ls-inline.sml  FLINT/lsplit/ls-inline.sml
214    
215    
216    (* The code generator (MLRISC specialized for SML/NJ). *)
217  CodeGen/cpscompile/argPassing.sig  CodeGen/cpscompile/argPassing.sig
218  CodeGen/cpscompile/argPassing.sml  CodeGen/cpscompile/argPassing.sml
219  CodeGen/cpscompile/cluster.sml  CodeGen/cpscompile/cluster.sml
# Line 349  Line 250 
250  CodeGen/main/spill-table.sml  CodeGen/main/spill-table.sml
251  CodeGen/main/dummy-ccalls.sml  CodeGen/main/dummy-ccalls.sml
252    
253  MiscUtil/bignums/bigint.sig  
254  MiscUtil/bignums/bigint.sml  (* Miscellaneous utilities. *)
255  MiscUtil/bignums/realconst.sml  MiscUtil/bignums/realconst.sml
256  MiscUtil/bignums/ieeereal.sml  MiscUtil/bignums/ieeereal.sml
257  MiscUtil/print/ppabsyn.sml  
258  MiscUtil/print/ppdec.sml  MiscUtil/print/ppdec.sml
 MiscUtil/print/ppmod.sml  
259  MiscUtil/print/ppobj.sml  MiscUtil/print/ppobj.sml
260  MiscUtil/print/pptable.sml  MiscUtil/print/pptable.sml
261  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  
262  MiscUtil/profile/prof-env.sml  MiscUtil/profile/prof-env.sml
263  MiscUtil/profile/profile-fn.sml  MiscUtil/profile/profile-fn.sml
264  MiscUtil/profile/profile.sig  MiscUtil/profile/profile.sig
# Line 375  Line 269 
269  MiscUtil/profile/btrace.sml  MiscUtil/profile/btrace.sml
270  MiscUtil/profile/btimp.sml  MiscUtil/profile/btimp.sml
271    
 MiscUtil/util/errormsg.sig  
 MiscUtil/util/errormsg.sml  
272  MiscUtil/util/feedback.sml  MiscUtil/util/feedback.sml
 MiscUtil/util/intstrmap.sig  
 MiscUtil/util/intstrmap.sml  
273  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  
274    
275  $/basis.cm  (* Libraries that are part of the visible compiler framework. *)
276  $/smlnj-lib.cm  $smlnj/viscomp/basics.cm
277  $/ml-yacc-lib.cm  $smlnj/viscomp/parser.cm
278  $/pickle-lib.cm  $smlnj/viscomp/elabdata.cm
279    $smlnj/viscomp/elaborate.cm
280    $smlnj/viscomp/execute.cm
281    
282    (* MLRISC libraries. *)
283  $smlnj/MLRISC/Lib.cm                    (* provides SortedList *)  $smlnj/MLRISC/Lib.cm                    (* provides SortedList *)
284  $smlnj/MLRISC/Control.cm  $smlnj/MLRISC/Control.cm
285  $smlnj/MLRISC/MLRISC.cm  $smlnj/MLRISC/MLRISC.cm
286  $/pp-lib.cm  
287    (* Other libaries. *)
288    $/basis.cm
289    $/smlnj-lib.cm
290    $/pickle-lib.cm

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

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