Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1395

Re: A Plain English Compiler

From Kaz Kylheku <kaz@kylheku.com>
Newsgroups comp.compilers
Subject Re: A Plain English Compiler
Date 2014-10-27 21:45 +0000
Organization Aioe.org NNTP Server
Message-ID <14-10-010@comp.compilers> (permalink)
References <06-02-122@comp.compilers> <06-02-125@comp.compilers> <14-10-005@comp.compilers> <14-10-008@comp.compilers> <14-10-009@comp.compilers>

Show all headers | View raw


On 2014-10-27, Kartik Agaram <ak@akkartik.com> wrote:
>> John said (back in 2006) "You can certainly chop English down to
>> a small unambiguous subset, but then you've just reinvented Cobol"
>>
>> As someone who has had to work with COBOL somewhat, it is interesting
>> to compare the two languages:
>
> Thanks for that detail! The discussion in 2006 seemed too dismissive of
> this idea, and I worried that this go-around would subside similarly.
> Comparing all attempts at english-like pidgins to cobol seems like a cheap
> and overly broad shot. Hopefully now we can have a more substantive
> discussion.

Compiling English to code isn't going to make programmers of those who
are unwilling, and especially unable, to learn a programming language.
They will only face additional struggles caused by ambiguities which
don't exist in ordinary programming languages.

Most people who are not endowed in the right way to be program
designers are also not endowed in the right way to handle precise
language, such as what is used when writing detailed requirements
specifications. In such language, many terms terms do not have their
ordinary meaning.  The language might look like English, but it isn't.

A programming language which looks like English will suffer from the
same problem as the formal version of English used in very technical
documents.  Those who don't absorb the special definitions of ordinary
terms, and the details semantics they entail, will not comprehend
properly what is going on, and will not wield that language
effectively to express solutions.  Those who do understand will find
the language meddlesome.

People from the humanities will be dismayed at not being able to write
a sentence endowed with several simulaneous meanings, as they are used to.
"Gee, why doesn't the machine understand the metaphor which makes the poignant
irony come alive in what I just wrote ..."

[Man, there's a programming language I'd like to use.
Re COBOL, I am fairly sure that the point of making it look like stilted
English was not that they'd thought it'd make it easier to program, but
that it'd be possible for non-programmers, e.g. auditors, to look at the
code and figure out what it did. -John]

Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: A Plain English Compiler gerry.rzeppa@pobox.com - 2014-10-24 16:33 -0700
  Re: A Plain English Compiler lesliedellow@gmail.com - 2014-10-25 06:01 -0700
    Re: A Plain English Compiler "Derek M. Jones" <derek@knosof.co.uk> - 2014-10-25 19:51 +0100
    Re: A Plain English Compiler "Gerry Rzeppa" <gerry.rzeppa@pobox.com> - 2014-10-30 14:53 -0500
  Re: A Plain English Compiler Martin Ward <martin@gkc.org.uk> - 2014-10-27 11:54 +0000
    Re: A Plain English Compiler Kartik Agaram <ak@akkartik.com> - 2014-10-27 12:25 -0700
      Re: A Plain English Compiler Kaz Kylheku <kaz@kylheku.com> - 2014-10-27 21:45 +0000
        Re: reading and writing, was A Plain English Compiler Stefan Monnier <monnier@iro.umontreal.ca> - 2014-10-28 17:37 -0400
        Re: A Plain English Compiler Hans-Peter Diettrich <DrDiettrich1@netscape.net> - 2014-10-29 01:28 +0100
          Fw: A Plain English Compiler "Gerry Rzeppa" <gerry.rzeppa@pobox.com> - 2014-10-30 04:02 -0500
        Re: A Plain English Compiler mac <acolvin@efunct.com> - 2014-11-03 13:15 +0000
      Re: A Plain English Compiler Ivan Godard <ivan@ootbcomp.com> - 2014-10-27 15:07 -0700
      Re: A Plain English Compiler Martin Ward <martin@gkc.org.uk> - 2014-10-28 15:14 +0000
        Re: A Plain English Compiler Stefan Monnier <monnier@iro.umontreal.ca> - 2014-10-28 17:33 -0400
        Re: A Plain English Compiler "Gerry Rzeppa" <gerry.rzeppa@pobox.com> - 2014-10-30 17:05 -0500
          Re: A Plain English Compiler "Gerry Rzeppa" <gerry.rzeppa@pobox.com> - 2014-10-31 01:05 -0500
            Re: A Plain English Compiler "Gerry Rzeppa" <gerry.rzeppa@pobox.com> - 2014-10-31 21:22 -0500
      Fw: A Plain English Compiler "Gerry Rzeppa" <gerry.rzeppa@pobox.com> - 2014-10-30 04:01 -0500

csiph-web