🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #295

A preprocessor to simplify applicative Prolog programming

#295
From: vanroy
Date: Fri, 01 Sep 1989 18:41
39 lines
1679 bytes
I have developed an extension to Prolog's DCG notation
to simplify purely applicative Prolog programming.
A preprocessor for C-Prolog and Quintus Prolog
is available by anonymous ftp to arpa.berkeley.edu.
Comments and suggestions for improvements are welcome.
Enjoy!
	Peter Van Roy
	vanroy@bellatrix.berkeley.edu


The following script shows how to get the package from arpa:

% ftp arpa.berkeley.edu
Connected to ucbarpa.Berkeley.EDU.
220 ucbarpa.Berkeley.EDU FTP server (Version 5.47 Sun Aug 6 07:56:21 GMT 1989) ready.
Name (ucbarpa.Berkeley.EDU:(null)): anonymous
Password (ucbarpa.Berkeley.EDU:anonymous): 
331 Guest login ok, send ident as password.
230 Guest login ok, access restrictions apply.
ftp> cd pub
250 CWD command successful.
ftp> binary
200 Type set to I.
ftp> get ExtendedDCG.tar.Z
200 PORT command successful.
150 Opening BINARY mode data connection for ExtendedDCG.tar.Z (23747 bytes).
226 Transfer complete.
23747 bytes received in 0.62 seconds (37 Kbytes/s)
ftp> quit
221 Goodbye.
% uncompress ExtendedDCG.tar.Z
% tar xf ExtendedDCG.tar
% ls
ExtendedDCG.tar		documentation.ms	unify_example.pl
README			example.pl
accumulator.pl		example2.pl
article.ms		expr_example.pl
% 
Technical Details
Message-ID: <31066@ucbvax.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bellatrix.uucp!vanroy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bellatrix.uucp!vanroy
From: vanroy@bellatrix.uucp
Newsgroups: comp.lang.prolog
Subject: A preprocessor to simplify applicative Prolog programming
Message-ID: <31066@ucbvax.BERKELEY.EDU>
Date: 1 Sep 89 18:41:05 GMT
Sender: usenet@ucbvax.BERKELEY.EDU
Reply-To: vanroy@bellatrix.uucp ()
Organization: University of California at Berkeley
Lines: 39