Article View: comp.lang.modula2
Article #5000Re: Modula-2 Case of the Reserved Word
From: Tom Reid x4505
Date: Fri, 02 Mar 1990 21:30
Date: Fri, 02 Mar 1990 21:30
29 lines
1761 bytes
1761 bytes
>From: Anthon 'Amiga' Pang >I really like Modula-2, and the environment on my Amiga is really wonderful, >but the greatest nit I have with the language is its need for reserved words >to be capitalized (eg IF, THEN, END, WHILE, MODULE, IMPLEMENTATION...). > >Could someone respond with a summary of the proposed "standard" ? >I'm hoping keywords are accepted even in lower case. If not, does anyone >know of a good/reliable/fast M2 preprocessor that'll convert keywords that >appear in lower case to upper case ? Thanks in advance. > I agree with you that upper case is is a bummer. My <previous> personal style was lower case and I have had to adapt. I think you will find that a preprocessor will be more trouble than its worth unless you are of the habit of typing 1000 line programs in one sitting. Most environments are interactive. Unfortunately, you will have no relief in the new standard. It is another case of a language forcing personal style. However, it won't be fixed under the "it might break existing code" principle. Tom. Thomas F. Reid, Ph. D. (703)818-4505 (work) Contel Technology Center (703)742-8720 (home) 15000 Conference Center Drive Net: reid@ctc.contel.com P.O. Box 10814 Chantilly, Va. 22021-3808
Technical Details
Message-ID:
<9003022130.AA15841@ctc.contel.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!CTC.CONTEL.COM!reidShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!CTC.CONTEL.COM!reid From: reid@CTC.CONTEL.COM (Tom Reid x4505) Newsgroups: comp.lang.modula2 Subject: Re: Modula-2 Case of the Reserved Word Message-ID: <9003022130.AA15841@ctc.contel.com> Date: 2 Mar 90 21:30:56 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@PSUVM.PSU.EDU> Organization: The Internet Lines: 29