home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / flex254.zip / MISC / MVS / MVS.mail < prev    next >
Text File  |  1990-07-18  |  2KB  |  57 lines

  1. (Message inbox:40)
  2. Date:  Tue, 17 Jul 1990 11:56 EDT
  3. From:  swl26%CAS.BITNET@CORNELLC.cit.cornell.edu
  4. Subject:  Re(2): port of flex-2.3 to IBM/MVS
  5. To:  vern@cs.cornell.edu
  6.  
  7. >Message received.  I'm sending this response to
  8. >swl26%CAS.BITNET@CORNELLC.cit.cornell.edu.
  9.  
  10. Great -- we can talk.
  11.  
  12. >How extensive are the diffs?  If they're fairly short then yes, please
  13. >send them.  If they're pretty involved then probably not, as I'm not aware
  14. >of many MVS flex users ...
  15.  
  16. I've built a context diff file which is ~850 lines.
  17.  
  18. Summary of major changes necessary:
  19.  
  20.    o a new initscan.c -- because MVS is ebcdic, the initial scanner had
  21.      to be changed.  I built a scanner from scan.l using -Ce, then
  22.      hand-manipulated the yy_ec table to fit EBCDIC instead of ASCII
  23.      chars.  (This is not included in the diff file above.)
  24.  
  25.    o changes in main and flexdef.h to change how files are handled.  (No
  26.      dynamic file names, etc.)
  27.  
  28.    o Some lines had to be shortened to 80 bytes.  This mostly impacted
  29.      your RCSID lines, which with the full path name were too long.
  30.  
  31.    o SASC and the linker don't allow externals to be longer than 8 chars.
  32.      I thus wrote a Q&D program to shorten all externals.  (This would be
  33.      a separate file 'fixit.l', which is not included in the diffs.)
  34.  
  35.    o There are several places where there are tests for 'isascii' (which I
  36.      deleted conditionally, using #ifdefs), and tests for 'A' <= x <= 'Z'
  37.      which I changed to 'isupper'.
  38.  
  39. Many of the changes I've incorporated without impacting other systems.
  40. Others are with 'ifdefs'.  Still others (the short external names and new
  41. initscan) are 'isolable' as separate files which would have to be
  42. included with a distribution.
  43.  
  44. Obviously, you are not going to want to (even if you can :-) ) worry about
  45. testing new versions in the MVS environment.  Likewise, I don't have the
  46. time or resources to provide much support. (I'm not sure my management
  47. would allow any :-( )
  48.  
  49. With all of the above feel free to say "Thanks, but no thanks."  If you
  50. want to see the diffs anyway, I will certainly mail them.
  51.  
  52. Thanks for your time and efforts.
  53.  
  54. Steve Layten
  55. Chemical Abstracts Service, PO Box 3012, Columbus, OH 43210, +1 614 421-3600
  56. INET: swl26%cas.BITNET@CUNYVM.CUNY.Edu
  57.