Ben Laurie (ben@algroup.co.uk)
Tue, 28 Jul 1998 23:49:30 +0100
Johnny Eriksson wrote:
>
> Ben Laurie <ben@algroup.co.uk> wrote:
>
> > > Like pseudocode, you mean?
> >
> > Hmmm ... suppose I were to write a program that took C and converted it
> > to an English explanation of the C. Would the resulting explanation be
> > exportable? As I understand it, it would, wouldn't it?
> >
> > Suppose the transformation just happened to be reversible...
> >
> > int f(int a,int b)
> > {
> > return a+b;
> > }
> >
> > ...
> >
> > In order to calculate the function f, which returns an int, and takes
> > two arguments a, an int, and b, an int, return the result of adding a to
> > b.
>
> Congratulations. You have just reinvented COBOL...
:-) My initial thought was "just write it in COBOL", but I realised that
COBOL, although English-like, is not actually English. My aim was to
produce real English (which you'd never program in, but in this scheme
you wouldn't have to) with reversibility.
Cheers,
Ben.
-- Ben Laurie |Phone: +44 (181) 735 0686| Apache Group member Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org/ and Technical Director|Email: ben@algroup.co.uk | A.L. Digital Ltd, |Apache-SSL author http://www.apache-ssl.org/ London, England. |"Apache: TDG" http://www.ora.com/catalog/apache/WE'RE RECRUITING! http://www.aldigital.co.uk/recruit/
The following archive was created by hippie-mail 7.98617-22 on Fri Aug 21 1998 - 17:20:59 ADT