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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8bb703cc61967d22 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-05 21:38:59 PST Newsgroups: comp.lang.ada Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ix.netcom.com!netcomsv!netcomsv!telesoft!kst From: kst@alsys.com (Keith Thompson) Subject: Re: GNAT not 'getting' CR or LF? Message-ID: Originator: kst@pulsar Sender: news@alsys.com (USENET News Admin @flash) Organization: Alsys, San Diego, CA, USA References: <1994Dec29.230538.15695@nmt.edu> <3e8079$552@gnat.cs.nyu.edu> <1995Jan5.001630.20954@oracorp.com> Distribution: na Date: Fri, 6 Jan 1995 03:21:41 GMT Date: 1995-01-06T03:21:41+00:00 List-Id: In <1995Jan5.001630.20954@oracorp.com> bischoff@oracorp.com (Kurt Bischoff) writes: > In article kst@alsys.com (Keith Thompson) writes: > >For the application in question (a Fortran scanner), I think the best > >thing is just to use Text_IO.Get_Line and scan characters from the > >input string. Ada's Text_IO is perfectly adequate for this kind of thing. > How about bringing out the big guns and using AFLEX and AYACC? Can AFLEX handle Fortran's bizarre tokenization rules? If so, I'm impressed (I think). -- Keith Thompson (The_Other_Keith) kst@thomsoft.com (kst@alsys.com still works) TeleSoft^H^H^H^H^H^H^H^H Alsys^H^H^H^H^H Thomson Software Products 10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2718 When you're a nail, every problem looks like a hammer.