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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: OpenToken 5.0a released References: <85eh2wcisz.fsf@stephe-leake.org> Date: Thu, 27 Feb 2014 20:48:37 -0600 Message-ID: <85txbk0x6i.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:4roerGqJ3qQoFvpIsP/GCjX3Dac= MIME-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: b6267530ff907eef2f4a326777 X-Received-Bytes: 1683 X-Received-Body-CRC: 4099116475 Xref: news.eternal-september.org comp.lang.ada:18765 Date: 2014-02-27T20:48:37-06:00 List-Id: gautier_niouzes@hotmail.com writes: >> OpenToken 5.0a is released; see >> >> http://stephe-leake.org/ada/opentoken.html. > > Cool! > Are there examples ? Yes, included in the tarball. It would be good to mention that on the website. > > A quick guide ? The web page has a small intro. There is a (somewhat dated) user guide, referenced from the web page. > A comparison of the workflow between ayacc and opentoken would be nice >as well. Yes, but I don't have time for it. > Is there a .y/.l to the opentoken grammar format translator No. OpenToken was originally designed to be pure Ada code; no separate grammar language. I added a Bison style parser, that can generate Ada code, but without actions. That Bison parser is _not_ implemented in OpenToken; it's quite trivial. I think the yacc code would be harder to parse, but probably still not require OpenToken. Ada, on the other hand, definitely requires OpenToken :). -- -- Stephe