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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4a574aa6305ceaca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-18 00:37:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!not-for-mail From: David Starner Newsgroups: comp.lang.ada Subject: Re: Aflex and ASCII-8 characters Date: 18 Jan 2002 07:15:46 GMT Organization: Oklahoma State University Message-ID: References: Reply-To: starner@okstate.edu NNTP-Posting-Host: x8b4e54b5.dhcp.okstate.edu User-Agent: slrn/0.9.7.3 (Linux) Xref: archiver1.google.com comp.lang.ada:19036 Date: 2002-01-18T07:15:46+00:00 List-Id: On 17 Jan 2002 16:53:23 -0800, Lionel Najman wrote: > I'm developping an Ada scanner with Aflex and Ayacc and I need to > parse ASCII-8 characters. ASCII-8? What's that? Seriously, there are dozens of 8-bit codes with ASCII as a proper subset in current use. Referring to any one of them as 8-bit ASCII is confusing and inaccurate. > I know that Aflex is limited to ASCII-7 but > I wanted to know if someone has modified Aflex source so as to parse > ASCII-8 characters. It shouldn't be hard to do, provided Aflex doesn't munge data into the 8th bit. Ada95 provides more support for 8-bit characters than Ada83, at least in theory. Or you could try OpenToken, by Ted Dennison, which should support 8-bit characters. -- David Starner - starner@okstate.edu, dvdeug/jabber.com (Jabber) Pointless website: http://dvdeug.dhis.org When the aliens come, when the deathrays hum, when the bombers bomb, we'll still be freakin' friends. - "Freakin' Friends"