🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #839

3GL->Prolog interfaces before '87?

#839
From: Richard A. O'Keefe
Date: Fri, 25 May 1990 01:20
24 lines
1185 bytes
On the model of SQL, one might expect that there would be
C/Fortran/Pascal/COBOL/PL/I/&c interfaces to Prolog which
looked roughly like

	%Prolog create :C cursor for ancestor(adam, :PERSON, :NGENERATIONS);
	%Prolog open :C;
	DO WHILE (MORE(C));
	    IF PERSON = 'C.J.Date' THEN DO;
		%Prolog abandon :C;
	        PUT SKIP LIST ('There are ', NGENERATIONS,
			       ' generations from Adam to ', PERSON);
	    END;
	END;
	%Prolog finish :C;

Of course, procedure calls might be used, but the "embedded-SQL" style
isn't really a matter of syntax.

Does anyone know of any working implementations of this idea, especially
ones predating 1987?

-- 
"A 7th class of programs, correct in every way, is believed to exist by a
few computer scientists.  However, no example could be found to include here."
Technical Details
Message-ID: <3063@goanna.cs.rmit.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!munnari.oz.au!bruce!goanna!ok

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!munnari.oz.au!bruce!goanna!ok
From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe)
Newsgroups: comp.lang.prolog
Subject: 3GL->Prolog interfaces before '87?
Message-ID: <3063@goanna.cs.rmit.oz.au>
Date: 25 May 90 01:20:15 GMT
Organization: Comp Sci, RMIT, Melbourne, Australia
Lines: 24