[m-rev.] for review: mdbcomp library

Zoltan Somogyi zs at cs.mu.OZ.AU
Mon Oct 27 16:54:18 AEDT 2003


On 27-Oct-2003, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 24-Oct-2003, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> > Split the existing browser library into two libraries, by making the
> > program_representation module into its own library.
> 
> This should be documented in compiler/notes/overall_design.html.

Done:

cvs diff: Diffing .
Index: overall_design.html
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/compiler/notes/overall_design.html,v
retrieving revision 1.1
diff -u -b -r1.1 overall_design.html
--- overall_design.html	21 Aug 2000 14:49:50 -0000	1.1
+++ overall_design.html	27 Oct 2003 05:53:08 -0000
@@ -48,7 +48,9 @@
 <li> library: the Mercury standard library (written in Mercury)
 <li> compiler: the Mercury compiler (written in Mercury)
 <li> trace: the part of the Mercury debugger that is written in C
-<li> browser: the part of the Mercury debugger that is written in Mercury
+<li> browser: the part of the Mercury debugger that is written in Mercury,
+     including the library that defines the Mercury data structures generated
+     by the compiler for the debugger.
 <li> profiler: the Mercury profiler (written in Mercury)
 <li> extras: additional Mercury libraries.  These are distributed
      separately from the main Mercury distribution.
@@ -123,8 +125,9 @@
 
 <h2> Libraries and dependencies </h2>
 
-Each major subsystem (except `extras') gets compiled to a single
-library or executable program.
+Each major subsystem (which doesn't include `extras')
+gets compiled to a single library or executable program,
+except for the browser directory, which gets compiled to two libraries.
 
 On most systems, mutual recursion between libraries is not very
 well supported.  On Unix, for static linking you need to list the
@@ -146,6 +149,7 @@
 <li>    the main program object files (e.g. compiler/*.o or profiler/*.o)
 <li>    trace library (trace/libmer_trace.a)
 <li>    browser library (browser/libmer_browser.a)
+<li>    mdbcomp library (browser/libmer_mdbcomp.a)
 <li>    standard library (library/libmer_std.a)
 <li>    runtime library (runtime/libmer_rt.a)
 <li>    Boehm collector (boehm_gc/libgc.a)

> > Index: browser/mdbcomp.m
> ...
> > @@ -0,0 +1,35 @@
> > +%---------------------------------------------------------------------------%
> > +% Copyright (C) 2003 The University of Melbourne.
> > +% This file may only be copied under the terms of the GNU Library General
> > +% Public License - see the file COPYING.LIB in the Mercury distribution.
> > +%---------------------------------------------------------------------------%
> > +
> > +:- module mdbcomp.
> 
> There should be some documentation here about the purpose of this module.

Done, with text taken from the log message.

Zoltan.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list