[m-dev.] Infix syntax proposal

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Aug 15 00:36:57 AEST 2002

On 15-Aug-2002, Peter Schachte <schachte at cs.mu.OZ.AU> wrote:
> On Thu, Aug 15, 2002 at 12:01:38AM +1000, Fergus Henderson wrote:
> > Well, with Mmake it's already very easy to add arbitrary preprocessors.
> Except for one thing:  the *user* of a package needs to know that it
> makes use of source-to-source translation.

Why is that?

AFAIK the user of a package just needs to know how to type
`mmake depend', `mmake', and `mmake install' to build and
install the package, and how to set the EXTRA_LIB_DIRS
and EXTRA_LIBRARIES variables in their own Mmakefile,
as described in the "Using libraries" section of the
Mercury User's Guide:

 | Using libraries
 | ===============
 |    Once a library is installed, using it is easy.  Suppose the user
 | wishes to use the library `mypackage' (installed in the tree rooted at
 | `/some/directory/mypackage') and the library `myotherlib' (installed in
 | the tree rooted at `/some/directory/myotherlib').  The user need only
 | set the following Mmake variables:
 |      EXTRA_LIB_DIRS = /some/directory/mypackage/lib/mercury \
 |                 /some/directory/myotherlib/lib/mercury
 |      EXTRA_LIBRARIES = mypackage myotherlib

Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au

More information about the developers mailing list