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 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!cs.utexas.edu!usc!wuarchive!uunet!weyrich!orville From: orville@weyrich.UUCP (Orville R. Weyrich) Newsgroups: comp.lang.ada Subject: Re: A Pascal Subset of Ada (was: Why Ada is Failing Socially) Message-ID: <1991Jun27.095752.1130@weyrich.UUCP> Date: 27 Jun 91 09:57:52 GMT References: <1991Jun25.022849.18078@jpl-devvax.jpl.nasa.gov> <3155@cod.NOSC.MIL> <1991Jun26.203828.11797@netcom.COM> Reply-To: orville@weyrich.UUCP (Orville R. Weyrich) Distribution: comp.lang.ada Organization: Weyrich Computer Consulting List-Id: In article <1991Jun26.203828.11797@netcom.COM> jls@netcom.COM (Jim Showalter) writes: >> By the way, in the early 80s I tried to define a Pascal subset of Ada. >>I found it a non-trivial exercise. The problem was, I didn't want to in- >>clude generics, > >Why on earth not? It may be of some value to consider the early history of Janus/Ada. Early releases dis not provide generics and had to use special hacks for I/O. Somewhat later versions provided generics that only supported instantiation of the standard I/O routines. Finally, full generic support was introduced. The bottom line is, without generics you must provide some special-case I/O, which may in turn limit the data typeing facilities which you use, or else force you to do things that are not strictly compliant with the Ada standard (i.e. weaken type checking for I/O routines). In the balance, I would like to see a cheap, floppy-disk based Ada subset with a power comparable to Turbo Pascal 4.0. It would provide a better starting point for teaching full Ada than Turbo Pascal, Modula-2, etc. does. Since neither of these languages are well standardized, IMHO it would be hard to argue in favor of them against a subset of Ada with a clear upgrade route to full standard Ada. -------------------------------------- ****************************** Orville R. Weyrich, Jr., Ph.D. Certified Systems Professional Internet: orville%weyrich@uunet.uu.net Weyrich Computer Consulting Voice: (602) 391-0821 POB 5782, Scottsdale, AZ 85261 Fax: (602) 391-0023 (Yes! I'm available) -------------------------------------- ******************************