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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,60cf103f8ae4940d X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!out03a.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!uns-out.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Status of ayacc and aflex? References: <48acd484$0$24596$4d3efbfe@news.sover.net> <9ceb2207-6a3d-407c-84dc-885bfaa07ec1@j22g2000hsf.googlegroups.com> From: Stephen Leake Date: Sun, 24 Aug 2008 11:02:42 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:AuQTNirkokv0gma64B+4JaqPwEk= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 3ac5f48b1709dc74cf41819039 Xref: g2news1.google.com comp.lang.ada:1786 Date: 2008-08-24T11:02:42-04:00 List-Id: Ludovic Brenta writes: > Speaking of lexical analysis and recursive descent parsers, I'd like > to know whether anyone here has tried OpenToken[1] and would like to > comment on it. > > [1] http://www.telepath.com/~dennison/Ted/OpenToken/OpenToken.html I use it at work, but not as recusive descent; I write a grammar using it. I had to fix a couple bugs, and it can be confusing getting the grammar to be unambiguous, but I like the resulting high-level code. As with other grammar-oriented parsers, the error messages leave a lot to be desired. If I ever find time, I'd like to try switching to using it in a recursive descent way; that usually gives better error messages. -- -- Stephe