home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!giac1.oscs.montana.edu!uesu03
- From: uesu03@giac1.oscs.montana.edu (Lou Glassy)
- Subject: What user groups require BOZ-Literals in Fortran?
- Message-ID: <1993Jan2.005215.1703@coe.montana.edu>
- Sender: usenet@coe.montana.edu (USENET News System)
- Organization: Montana State University, Bozeman MT
- Date: Sat, 2 Jan 1993 00:52:15 GMT
- Lines: 33
-
- I use the phrase 'BOZ-Literal' to mean integer constants
- specified in binary, octal, or hexadecimal form. That is,
- constants like
-
- B'00101101'
-
- O'377'
-
- Z'FFEF0020'
-
- The question: What programmers require constants specified in BOZ form?
-
- I'm pondering whether to support BOZ literals in my subset
- F90 translator. My initial inclination is not to, since
-
- [a] my target audience for the compiler is beginning programmers, and
-
- [b] it appears (from quick-and-dirty estimates) that including
- BOZ literals will make the scanner state-transition table swell
- by 40 to 60 percent in size. This would make verifying the scanner's
- correctness a bit yuckier.
-
- However: if some of you Fortran instructors out there can convince
- me otherwise, I could include BOZ support.
-
- Thanks,
-
- Lou.
- --
- Lou Glassy (uesu03@giac1.oscs.montana.edu)
-
- "That was the equation! Existence!...Survival
- must cancel out programming!" -- Rok
-