home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!udel!bogus.sura.net!howland.reston.ans.net!spool.mu.edu!agate!linus!linus.mitre.org!thelonius!john
- From: john@thelonius.mitre.org (John D. Burger)
- Subject: Lisp vs English (was Re: Why Isn't Lisp a Mainstream Language?)
- Message-ID: <1993Jan27.000253.28545@linus.mitre.org>
- Sender: john@thelonius (John D. Burger)
- Nntp-Posting-Host: thelonius.mitre.org
- Organization: Artificial Intelligence Center, MITRE Corporation, Bedford, MA
- References: <1993Jan21.230642.18561@netlabs.com> <19930122162651.0.SWM@SUMMER.SCRC.Symbolics.COM> <1993Jan23.073029.29713@linus.mitre.org>
- Date: Wed, 27 Jan 1993 00:02:53 GMT
- Lines: 35
-
- Randy Crawford (crawford@boole.mitre.org writes:
-
- Not only is english an unstructured language (as compared with programming
- languages) ...
-
- Well, any grammar for English would be far larger and more complex than for any
- programming language (except maybe CommonLisp :), but I don't think I'd call
- English unstructured.
-
- ... but parsing english is legendary for its difficulty.
-
- Hmm, I have very little difficulty. :)
-
- Without punctuation and semantic context, it's trivial to write correct english
- which is effectively illegible; that's illegible to man _or_ machine.
-
- You must make a distinction between syntactic correctness and understanding. I'm
- not sure which you mean by "illegible", but if I can't parse your trivially
- written sentence, and few other English speakers can either, then it ain't
- English, by definition.
-
- On the other hand, maybe you meant "understand-ability"; you're correct in that
- it's easy to construct syntactically valid English sentences that I can't
- understand, but that's true for programming languages as well. I submit that the
- C code for the phone system is not understandable "to man _or_ machine". It's
- EXECUTABLE, but so what? Very little code is understandable, as in "what does
- this do, in all circumstances", to machine. Witness all the research on program
- verification.
-
- Of course, none of this distinguishes Lisp from any other programming language,
- but I just wanted to suggest that as far as "legibility" (which I read as
- "understand-ability") is concerned, natural and programming languages are perhaps
- not that different.
-
- John Burger john@mitre.org
-