[m-rev.] for review: port tcl/tk binding to Mac OS X

Ian MacLarty maclarty at cs.mu.OZ.AU
Sun Aug 14 00:24:00 AEST 2005


On Fri, 12 Aug 2005, Julien Fischer wrote:

> > >
> > > Is Tcl/Tk supplied with Tiger?
> > >
> >
> > I believe so, but I haven't tested it.
> >
> I've had a look on Mark's laptop and it looks it is.
>
> ...

-# To compile the Mercury Tcl/Tk binding on MacOSX you must first install the
-# Tcl/Tk Aqua framework, available from http://tcltkaqua.sourceforge.net/.
-# Then do:
+# To compile the Mercury Tcl/Tk binding on Mac OS 10.3 you must first install
+# the Tcl/Tk Aqua framework, available from http://tcltkaqua.sourceforge.net/.
+# On Mac OS 10.4 the Tcl/Tk framework comes preinstalled.
+#
+# Once you have the Tcl/Tk framework installed do:

Mark, could you test that it works on Tiger just to make sure?

> > +
> > +The Mercury Tcl/Tk binding will work only with a version of the garbage
> > +collector which has recognition of interior pointers enabled.  This is the
> > +default.  If you compiled the garbage collector without interior pointer
> > +recognition, then you must set the GC_ALL_INTERIOR_POINTERS environment
> > +variable before running your program.
>
> I would also add:
>
> 	If you have not changed any of the garbage collectors default
> 	settings then you should not have to do anything.
>

Fine.

> >  #-----------------------------------------------------------------------------#
> > -# Copyright (C) 1998, 2001, 2003 The University of Melbourne.
> > +# Copyright (C) 2005 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.
> >  #-----------------------------------------------------------------------------#
>
> The copyright there should be 1998, 2001, 2003, 2005.
>

No it shouldn't, it's a new file.

> >  * The .NET CLR back-end now bootstraps.
> > @@ -96,6 +98,7 @@
> >    simple interactive graphical applications.
> >  * Major improvements to the OpenGL binding.
> >  * We've added a binding to GLUT (the GL utility toolkit).
> > +* The OpenGL, GLUT and Tcl/Tk bindings have been ported to Mac OS X.
> >
> s/Mac OS/MacOS/

Not according to Apple's web site.

> > -  debugger to assume that the code in certain modules and or predicates is
> > -  correct.
> > +* The declarative debugger can now also tell you where a value
> > +  appearing in an atom came from (i.e. the call which constructed the value).
> > +  To track the origin of a value follow these steps:
> > +  	1. Compile your program in a .decldebug grade (by passing
> > +	   the --decldebug option to mmc).
> > +	2. Start the declarative debugger at the exit, fail or excp event
> > +	   containing the value you wish to know the origin of.
> > +	3. Type `browse' at the declarative debugger question.
> > +	4. Navigate to the subterm of interested using the `cd' command.
> > +	5. Type `mark'.
> > +	6. The next question will be about the call the subterm was constructed
> > +	   in.  To find out which unification generated the subterm type
> > +	   `info'.
> > +
> This is bit lengthy for news item (and in any case is just repeating
> what's already in the user guide).
>

Removed the list of steps.

Ian.

--------------------------------------------------------------------------
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