Re: First language with conditional assignment?

kym@kymhorsell.com
05 Mar 2011 05:47:28 GMT

          From comp.compilers

Related articles
First language with conditional assignment? compilers@is-not-my.name (2011-03-03)
Re: First language with conditional assignment? nmh@t3x.org (Nils M Holm) (2011-03-04)
Re: First language with conditional assignment? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2011-03-04)
Re: First language with conditional assignment? cr88192@hotmail.com (BGB) (2011-03-04)
Re: First language with conditional assignment? kym@kymhorsell.com (2011-03-05)
Re: First language with conditional assignment? robin51@dodo.com.au (robin) (2011-03-05)
Re: First language with conditional assignment? news@cuboid.co.uk (Andy Walker) (2011-03-05)
Re: First language with conditional assignment? monnier@iro.umontreal.ca (Stefan Monnier) (2011-03-05)
Re: First language with conditional assignment? derekrss@yahoo.ca (Derek) (2011-03-06)
Re: First language with conditional assignment? compilers@is-not-my.name (2011-03-07)
Re: First language with conditional assignment? compilers@is-not-my.name (2011-03-07)
[7 later articles]
| List of all articles for this month |
From: kym@kymhorsell.com
Newsgroups: comp.compilers
Date: 05 Mar 2011 05:47:28 GMT
Organization: kymhorsell.com
References: 11-03-006 11-03-009
Keywords: syntax, history
Posted-Date: 05 Mar 2011 10:34:33 EST

glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:
> compilers@is-not-my.name wrote:
>> Does anyone know what the earliest languages supporting conditional
>> assignment were? Although the construct is useful I don't like the syntax in
>> C-like languages. I am curious if there were earlier examples and what the
>> syntax was.
> ALGOL, I believe ALGOL 60 (I don't know the versions very well)
> has the "conditional arithmetic expression" as:
> A := IF I<0 THEN R ELSE 3;
...


Of course there is always Konrad Zuze and his "thought experiment"
programming language(s) from the 30s.


I think most/many of the statements in his languages were conditional --
if so, a forerunner of today's microcode.


--
[Help, my pattern matcher has developed socialistic tendencies!]
Mr. Robot is just another left wing alarmist.
    -- Ed <ed.carpenter@ymail.com>, 19 Feb 2011 07:48 -0800 (PST)



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.