users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Newbie trouble with ebg from the CMU AI archive


From: designrw
Subject: Re: Re: Newbie trouble with ebg from the CMU AI archive
Date: Tue, 30 Jul 2002 18:20:10 -0500

Thanks, Vic. It will be a while before I can appreciation your suggestions, but 
I hope to :-).
> 
> From: Vic Bancroft <address@hidden>
> Date: 2002/07/30 Tue AM 08:37:01 CDT
> To: address@hidden
> CC: address@hidden
> Subject: Re: Newbie trouble with ebg from the CMU AI archive
> 
> 
> The kill/2 predicate is an interface to the c unix function.  One can use it 
> to
> send a signal to a process.  
> 
> The simple workaround is not to use kill/2 in the example.  Perhaps you could
> search for an replace all occurances of 'kill' with the somewhat less 
> dangerous
> 'squirt' in ebg_1.pl.  The semantics of the example are still coherent when
> translated to water pistols.
> 
> Another approach is to construct a logical sandbox of sorts, so the namespace 
> of
> the user's predicates do not overlap with the builtin namespace.  Often the
> notion of modules can be used to address this.  Is there a draft ISO standard
> for modules yet . ? .
> 
> The implementation of modules in sicstus seems to work quite nicely.  This is
> particularly convenient when doing foreign c wrappers).  Perhaps it can be 
> used
> as a model in gprolog . . .
> 
> more,
> l8r,
> 
> ------------------------------------------------------------------- 
> Victor Bancroft, Principal Engineer, Zvolve Systems [v]770.551.4505 
> 1050 Crown Pointe Pkwy, Suite 300, Atlanta GA 30338 [f]770.551.4509 
> Fellow, Artificial Intelligence Center              [v]706.542-0358 
> Athens, Georgia  30602, U.S.A           http://ai.uga.edu/~bancroft 
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]