Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!stretch.cs.mun.ca!leif!jgarland From: jgarland@kean.ucs.mun.ca Newsgroups: comp.lang.prolog Subject: New Question Re: PDC prolog gripe/question Message-ID: <146057@kean.ucs.mun.ca> Date: 16 Oct 90 09:35:25 GMT References: <90285.232430F0O@psuvm.psu.edu> <145400@kean.ucs.mun.ca> <90287.103007F0O@psuvm.psu.edu> Organization: Memorial University. St.John's Nfld, Canada Lines: 20 In article , garym@cognos.uuc> This project business has been with this prolog since the beginning. > One one hand, it is commendable, as it does allow their WAM'ish > compiler to easily attach to C language .LIB's and .OBJ's (unlike > Arity et al where the interface is much more awkward), and it was one > of the first prologs to address the 'flatness' of prolog predicate > scope. On the other hand, it totally destroys any chance of code-reuse > through building .LIB's of predicates (unless all are declared to be > 'language c'). Like everyone else, I don't like the 'project' declaration, > but I really can't see any way they could have avoided it. I have been thinking of implementing some of my own predicates and using TLIB to link them in to PROLOG.LIB (or a NEWPREDS.LIB) so they that could be called directly without going through the (admittedly pain in the neck--at the least) global predicate route. The manual seems to imply you can do this. Are you saying it won't work? John Garland jgarland@mun Bitnet jgarland@kean.ucs.mun.ca Internet