Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!ira.uka.de!rusmv1!rusmv1!mark From: mark@adler.philosophie.uni-stuttgart.de (Mark Johnson) Newsgroups: comp.lang.prolog Subject: Re: tools for menu-implementation in prolog? Message-ID: Date: 5 Apr 91 17:15:19 GMT References: <9527@star.cs.vu.nl> <1991Apr4.134941.6156@canon.co.uk> Sender: news@rusmv1.rus.uni-stuttgart.de (USENET News System) Distribution: comp.lang.prolog Organization: IMSV, University of Stuttgart, Germany Lines: 78 In-Reply-To: imlah@canon.co.uk's message of 4 Apr 91 13:49:41 GMT Regarding interfaces available in Mac prologs: LPA and BNR prolog's both give you the ability to do things like add new menus, and attach goals as event-handlers to menus and windows (to handle redraw requests, mouse-clicks, etc.). AAIS and ALS prolog give you the ability to handle the Mac event loop yourself and call the Mac toolbox. This lets your program create and maintain windows, menus, etc., while it is running, but once your program returns to the top-level, I just don't know what these systems do with events for the menus and windows you have created. While I haven't spent too much time building user interfaces with any of these systems (I like to believe I have better things to do with my time!) I get the feeling that none of them are as well thought-out and implemented as the Mac interface provided by MACL Commonlisp system. All in all, I think that there's room for a lot of improvement in Prologs for the Mac, and that anyone wanting to see how event handling and user interfaces (at least on a Mac) are properly implemented in a higher-level language should study the MACL implementation very carefully. As I think ROK says, "Prolog's different, but it's not that different!". Mark Mark Johnson Institut fuer maschinelle Sprachverarbeitung - Computerlinguistik Universitaet Stuttgart Keplerstrasse 17 D-7000 Stuttgart 1 Germany. phone: 0711 - 121 3132. On leave until mid July 1991 from: Cognitive and Linguistic Sciences, Box 1978 Brown University Providence, RI 02912 USA email addresses: mark@adler.philosophie.uni-stuttgart.de mj@cs.brown.edu markj@ai.mit.edu johnson@csli.stanford.edu mark@ego.mit.edu -- Mark Johnson Institut fuer maschinelle Sprachverarbeitung - Computerlinguistik Universitaet Stuttgart Keplerstrasse 17 D-7000 Stuttgart 1 Germany. phone: 0711 - 121 3132. On leave until mid July 1991 from: Cognitive and Linguistic Sciences, Box 1978 Brown University Providence, RI 02912 USA email addresses: mark@adler.philosophie.uni-stuttgart.de mj@cs.brown.edu markj@ai.mit.edu johnson@csli.stanford.edu mark@ego.mit.edu