Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!unc!mcnc!decvax!decwrl!pyramid!pesnta!hplabs!hpda!hpisoa2!hpitg!eagle!ptb@eagle From: ptb%eagle@eagle.UUCP Newsgroups: net.ai Subject: Re: Response to <1031@eagle.ukc.ac.uk> <994@umn-cs.UUCP> Message-ID: <1089@eagle> Date: Thu, 24-Apr-86 18:32:00 EDT Article-I.D.: eagle.1089 Posted: Thu Apr 24 18:32:00 1986 Date-Received: Tue, 13-May-86 01:40:54 EDT References: <1031@eagle> Lines: 26 In article <1031@eagle.ukc.ac.uk> sjl@ukc.ac.uk (S.J.Leviseur) writes: >Does anybody have any references to articles on string reduction >as a reduction technique for applicative languages (or anything >else)? They seem to be almost impossible to find! Anything welcome. John Horton Conway (the Prince of Games, memorably Life) of Cambridge University (UK) Pure Maths. Dept. some years ago invented a computing language that seems to me to proceed by Markovian string reduction. It is extremely sneaky at recognising substrings for substitution - obviously the major cost in any such approach - and does this task efficiently. The trick is to make up your strings as the product of integer primes instead of by alphanumeric concatenation. The production rules of a program script consist of single fractions. To apply the rules to an incoming 'string' you choose the first fraction in the script that gives an integer result on multiplication with the integer 'string' and take the result as the outgoing string, then go to the top of the script with the new string and start again. The indices of prime powers in the string serve as memory cells 'x'. The denominator of the fractions serve as 'if x> ..' statements, with the numerators as 'then x=x+-..' components. J.H.C.'s (the middle initial is to help him remain incognito) interest was in the fact that the Godel numbers of programs written in this language are easily calculable. Conway has written out on a single sheet of paper the Godel number of the program that simulates any given program from its Godel number. The G-No. of the prime number program is relatively short. I will intervene with J.C. to obtain more info, if requested. U.No.Hoo advises generic statement here.