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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f384032a8c47ef0d,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!infeed-3.proxad.net!nnrp5-1.free.fr!not-for-mail Date: Sun, 11 Dec 2005 00:54:49 +0100 From: Lionel Draghi User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 X-Accept-Language: fr-fr, en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: about OpenToken Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <439b6ac7$0$20862$636a55ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 11 Dec 2005 00:54:48 MET NNTP-Posting-Host: 82.236.216.140 X-Trace: 1134258888 nnrp5-1.free.fr 20862 82.236.216.140:47200 X-Complaints-To: abuse@proxad.net Xref: g2news1.google.com comp.lang.ada:6817 Date: 2005-12-11T00:54:48+01:00 List-Id: Is 3.0b the latest available OpenToken version? I'am not so sure, because some of the examples don't compile using gnat 4.0.3 (Debian 4.0.2-4). Here is my problem : I am implementing a recursive descent parser, and my grammar contains optionnals keywords, that will be ignored. Here is an exemple: - do this and this - do this and also this "also" is an optionnal keyword. I am wondering what is the best way to deal with this. What comes to my mind is to create a selection (In OpenToken parlance) between the keyword "also" and a null token, child of the abstract "Recognizer.Nothing" token. It seems far to complex to be the right way. Any hints? -- Lionel Draghi PS : and once more question : is there still a mail list for OpenToken on AdaPower site? (I would like to have a look at the archive)