Path: utzoo!utgpu!cunews!cognos!garym From: garym@cognos.uucp@uunet.uu.net (Gary Murphy) Newsgroups: comp.lang.prolog Subject: Re: "Embedded Prolog" in C code Message-ID: Date: 30 May 91 15:54:48 GMT References: <1991May26.231138.13000@brolga.cc.uq.oz.au> <644@fudd.dataco.UUCP> Sender: garym@cognos.UUCP Followup-To: comp.lang.prolog Organization: Cognos Inc., Ottawa, Canada Lines: 36 In-reply-to: ted@nmsu.edu's message of 29 May 91 19:19:22 GMT >>>>> On 29 May 91 19:19:22 GMT, ted@nmsu.edu (Ted Dunning) said: Ted> when referencing turbo `prolog' (by any name), quotes should be put Ted> around the word prolog to indicate that you know that it isn't really Ted> prolog. Oh, let's not start THIS again. One could argue that NONE of the current implementations are 'prolog', but the truth is that PDC is more a prolog than anything else and is as much a prolog as TurboPascal is a pascal. Small C is missing all kinds of semantic and syntactic junk. Is it not C? XLisp is likewise short of Common Lisp's expressive power (what Lisp isn't) yet no one, to my knowledge at least, has ever requested a quining of the name. Watbol is not Snobol, Watfiv was not Fortran, nothing was ever PL/1. Ted> turbo `prolog' does allow for embedding, it just doesn't allow one to Ted> embed calls to prolog in c. Since when? I must have been dreaming when I did it, and my clients from those projects must still be dreaming as none have called to complain. PDC provides excellent support for C, assember or Pascal. The only restriction on calling predicates from C is the required initialization of the Prolog stacks during your program's early 'main' code. PDC does have its problems, not the least of which are the inflated price (especially for upgrades) and the forced use of the 80x87 emulator, but we shouldn't blast it with false accusations. Ted> -- Ted> Offer void except where prohibited by law. -- Gary Murphy - Cognos Incorporated | "You think you're human. P.O.Box 9707 Ottawa K1G 3N3 | But what if you've made a mistake, (613) 738-1338 x5537 | As humans sometimes do, garym%cognos.uucp@ccs.carleton.ca | And you is an Angel, instead?" uucp: cognos!garym | -- Sun Ra