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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,957580c7ebafc9dd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 27 Oct 2005 20:49:38 -0500 From: "Steve" Newsgroups: comp.lang.ada References: <1130433435.410224.186300@g49g2000cwa.googlegroups.com> Subject: Re: Is there a lex utility for Ada that handles unicode? Date: Thu, 27 Oct 2005 18:49:48 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original Message-ID: NNTP-Posting-Host: 24.20.111.245 X-Trace: sv3-hGSbkB9q2P5BnWMvEsLc0Lp/ZjWFvrKv9fmU0aFF16anV+Ndfug9GIEoOeNJJjYr2dzK6hTUwFiZ1KU!JMh3302vnbXzHBlv7Jyr/F4w7WD/LOZwTRaWKw6P/vsu/pwgD6NsB5eLfu+VbZpbWu73F14EWR6C X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:6018 Date: 2005-10-27T18:49:48-07:00 List-Id: wrote in message news:1130433435.410224.186300@g49g2000cwa.googlegroups.com... > Is there some equivalent of the lex utility that produces > Ada code rather than C code, and is capable of handling > any character in the Unicode basic code plane? I am > thinking of using it on strings read from a GUI created > with GtkAda, so it would probably be best if it accepted > UTF-8 strings, but I could convert the input to a wide > string if necessary. > > Thanks. > > --- Brian > I don't know if it helps, but if I were looking (based on what I have seen in the past) I would look at: Aflex Ayacc OpenToken Source code is available. It probably wouldn't be that much work to make a unicode version. Steve (The Duck)