🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #1262

Re: New Question Re: PDC prolog gripe/question

#1262
From: Gary Murphy
Date: Wed, 17 Oct 1990 16:26
7 lines
1027 bytes
You _can_ add predicates to the TurboProlog .LIB, but because of the
.SYM/project restriction, all .LIB predicates must be written in C!
I haven't tried, but you might get away with coding the predicates in
prolog and declaring them as global predicates with "language c", but
since you will want them in a module (not the root, which would have
the goal), and since modules require the "project" specification, I
would expect the .SYM to once again get in the way.
Technical Details
Message-ID: <8933@cognos.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!cognos!garym
References: <90285.232430F0O@psuvm.psu.edu> <145400@kean.ucs.mun.ca> <90287.103007F0O@psuvm.psu.edu> <GARYM.90Oct14143102@cognos.uucp@uunet.uu.net> <146057@kean.ucs.mun.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!cognos!garym
From: garym@cognos.UUCP (Gary Murphy)
Newsgroups: comp.lang.prolog
Subject: Re: New Question Re: PDC prolog gripe/question
Summary: adding predicates to the TurboProlog library
Message-ID: <8933@cognos.UUCP>
Date: 17 Oct 90 16:26:31 GMT
References: <90285.232430F0O@psuvm.psu.edu> <145400@kean.ucs.mun.ca> <90287.103007F0O@psuvm.psu.edu> <GARYM.90Oct14143102@cognos.uucp@uunet.uu.net> <146057@kean.ucs.mun.ca>
Reply-To: garym@cognos.UUCP (Gary Murphy)
Organization: Cognos Inc., Ottawa, Canada
Lines: 9