From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Xref: utzoo comp.lang.ada:2149 comp.software-eng:1244 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!vsi1!wyse!mips!prls!philabs!linus!mbunix!eachus From: eachus@mbunix.mitre.org (Robert Eachus) Newsgroups: comp.lang.ada,comp.software-eng Subject: Ada vs. LISP Summary: Ada can Keywords: Ada LISP Message-ID: <45978@linus.UUCP> Date: 6 Mar 89 16:52:26 GMT References: <6125@medusa.cs.purdue.edu> <4624@hubcap.UUCP> <6153@medusa.cs.purdue.edu> <7682@venera.isi.edu> Sender: news@linus.UUCP Reply-To: eachus@mbunix (Robert I. Eachus) Organization: The MITRE Corporation, Bedford, Mass. List-Id: In article <7682@venera.isi.edu> raveling@vaxb.isi.edu (Paul Raveling) writes: >In article <6153@medusa.cs.purdue.edu> rjh@cs.purdue.EDU (Bob Hathaway) writes: >>... Ada was designed to standardize software and it >>could replace almost any language with exceptions being rare. > > Have you suggested that to a hard-core LISP user lately? > >Paul Raveling >Raveling@isi.edu One of the things which I did during the ANSI standardization of Ada was to look for ANYTHING in the standard which would make translation of LISP programs into Ada difficult. There were a few problems in the early drafts, but they were all eliminated by the final draft. As one of the problems for the AdaCan contest I proposed writing a compatiblity package to allow transliterated Common LISP to be compiled by any Ada compiler. (There are certain LISP lexical conventions that are incompatible with Ada, but they are easily dealt with: 'a --> QUOTE(A).) The problem was eliminated from the final list as too easy, but I still recieved two proposed solutions from LISP and Ada programers I showed the writeup to! Not only can you write AdaLISP, but some people already do. Incidently, AdaLISP does look a lot like LISP with the primary structures being nested fuction calls and aggregates, but there is no easy way to close lots of scopes, so don't try it without a good EMACS. It seems that everyone has seen AdaTRAN, but few people realize that the capability to write FORTRAN or COBOL or Pascal or LISP style programs in Ada was not an accident, it was a deliberate design requirement. Robert I. Eachus function TWIDDLE_THUMBS (LEFT, RIGHT: THUMB) return THUMBS is begin return TWIDDLE_THUMBS(RIGHT, LEFT); end TWIDDLE_THUMBS;