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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d10c964e990dddc9 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Help me parse a long character Date: 1997/11/03 Message-ID: #1/1 X-Deja-AN: 287604947 References: <01BCE863.95E32930.skj@acm.org> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 878569679 18610 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada Date: 1997-11-03T00:00:00+00:00 List-Id: Simon said <> If you are using GNAT, an interesting alternative is to use the pattern matching routines provided in GNAT.Spitbol and its children. For a tutorial on the use of this facility, see file g-spipat.ads which contains a 550 line section called "Pattern Matching Tutorial", including some examples. In general when using GNAT, be sure to be aware that more and more useful stuff appears in the GNAT hierarchy in each release. Each of these packages is designed to be fully documented int he corresponding spec file, so browsing g-*.ads is well worth while. Note that these are all GPL'ed packages, and thus can in some cases be used with other Ada 95 compilers, but they are planned for use with GNAT, and in several cases, including the pattern matching stuff, make use of implementation dependent features (the use of Unrestricted_Access in particular is pretty fundamental in GNAT.Spitbol.Patterns, both at the user level and at the implementation level. Robert Dewar Ada Core Technologies Note: For supported customers of ACT, the support fully extends to all packages provided in the GNAT hierarchy.