🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4244

Re: Programs as data

#4244
From: Richard A. O'Keefe
Date: Sun, 30 Jun 1991 10:50
18 lines
1242 bytes
In article <1991Jun28.133708.3776@watserv1.waterloo.edu>, mhcoffin@tolstoy.waterloo.edu (Michael Coffin) writes:
> It's true that Prolog handles programs-as-data nicely, but I don't
> think it's true that Prolog has a conventional syntax.

Prolog syntax is (extensible) operator-precedence.  That's about as
conventional as you can get.

> Other than
> using infix notation, it looks nothing like any of the popular
> languages.  That's not surprising; Prolog almost entirely lacks
> explicit control structures, which are everywhere in conventional
> languages. 

Prolog has sequence and if->then;else.  What's missing?  Assignment
and `obvious' while-loops, which go together.

-- 
I agree with Jim Giles about many of the deficiencies of present UNIX.
Technical Details
Message-ID: <6571@goanna.cs.rmit.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!goanna!ok
References: <4671@optima.cs.arizona.edu> <1991Jun28.133708.3776@watserv1.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!goanna!ok
From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe)
Newsgroups: comp.lang.misc
Subject: Re: Programs as data
Keywords: lisp, prolog
Message-ID: <6571@goanna.cs.rmit.oz.au>
Date: 30 Jun 91 10:50:35 GMT
References: <4671@optima.cs.arizona.edu> <1991Jun28.133708.3776@watserv1.waterloo.edu>
Organization: Comp Sci, RMIT, Melbourne, Australia
Lines: 18