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


Groups > comp.compilers > #1402

Fw: A Plain English Compiler

From "Gerry Rzeppa" <gerry.rzeppa@pobox.com>
Newsgroups comp.compilers
Subject Fw: A Plain English Compiler
Date 2014-10-30 04:02 -0500
Organization Compilers Central
Message-ID <14-10-017@comp.compilers> (permalink)
References (2 earlier) <14-10-005@comp.compilers> <14-10-008@comp.compilers> <14-10-009@comp.compilers> <14-10-010@comp.compilers> <14-10-015@comp.compilers>

Show all headers | View raw


Hans-Peter Diettrich asks, *who* is the intended writer
of a program in that English language?

Reply:

(1) Experienced programmers like my son and I who like to program in
English, and who had a lot of fun writing an integrated development
environment -- including an iconoclastic interface, a simplified file
manager, an elegant text editor, a hexadecimal dumper, a
native-code-generating compiler/linker, and a wysiwyg page layout program
for documentation -- in just 25,000 lines of the stuff.

(2) Kids who know nothing about programming. Here, for example, is a typical
first program we have our padawans type in, a little at a time, when we're
teaching them about the subject:

To run:
Start this baby up.
Clear the whole freaking screen.
Draw some circles with the red pen.
Wait for the escape key.
Shut the whole thing down.

To draw some circles with a color:
Pick a spot anywhere on the screen.
Draw a circle on the spot with the color.
Refresh the screen.
Add 1 to a count.
If the count is greater than 12, break.
Repeat.

At intervals, they use the "Run" command -- which is conveniently placed
under the "R" menu -- to see the results. Note that since syntax isn't a
major issue, we can concentrate on concepts (sequence, loops, variables,
parameters, etc) -- while improving their typing skills and reinforcing what
they're learning in their grammar classes!

(3) All kinds of students in between. Remember, our entire system is written
in Plain English. So the enterprising student who begins with a program like
the one above can eventually learn how to write all kinds of programs --
including desktop interfaces, file managers, text editors, dumpers,
compilers, page layout programs, and many more -- without ever leaving the
simple and familiar Plain English environment.

(4) To be determined. We're not sure, at this stage of the game, what other
kinds of people will find programming in their native tongue (with snippets
of formulas and graphics inserted in appropriate spots) both productive and
enjoyable. It depends, we think, primarily on the different kinds of Plain
English libraries we can provide (or get others to provide) to support
various application areas. Note that it's in the libraries -- not the
compiler itself -- that the nouns, verbs, adjectives, and various modes of
expression are defined.

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