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!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp1-2.free.fr!not-for-mail Subject: Re: OpenToken : accessing the lexeme from synthetize Newsgroups: comp.lang.ada References: <0860b74f-2572-4e64-b71a-9812d79b29bb@googlegroups.com> <595837bd$0$3363$426a74cc@news.free.fr> <1cecf100-3f30-4d86-a6cd-9d1098f8df8a@googlegroups.com> From: Lionel Draghi Date: Fri, 7 Jul 2017 23:31:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1cecf100-3f30-4d86-a6cd-9d1098f8df8a@googlegroups.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <595ffdbc$0$8861$426a74cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 07 Jul 2017 23:31:41 CEST NNTP-Posting-Host: 82.236.216.140 X-Trace: 1499463101 news-1.free.fr 8861 82.236.216.140:54512 X-Complaints-To: abuse@proxad.net Xref: news.eternal-september.org comp.lang.ada:47324 Date: 2017-07-07T23:31:41+02:00 List-Id: Le 02/07/2017 à 18:50, Stephen Leake a écrit : > On Saturday, July 1, 2017 at 7:01:03 PM UTC-5, Lionel Draghi wrote: >> BTW, is there a simpler way to get the identifier ? >> Sounds still complex to me this way. > > OpenToken can be confusing. > > I've pretty much rewritten it in the monotone branch org.wisitoken, and I'm working on adding error recovery to the parser. You might want to switch to using that. There are no examples, but the tests can be used as examples. > > You can only get it from the Ada France monotone server; see http://www.stephe-leake.org/ada-france-access.html > OK to switch, but unfortunately I m not familiar with monotone. mtn --db ~/monotone-dbs/ada-france.db --key '' pull www.ada-france.org "org.wisi*" seems to have some effect : mtn: avertissement : les arguments séparés de serveur et de motif sont dépréciés, veuillez plutôt utiliser la syntaxe des appels d'URI. mtn: réception anonyme ; utilisez -kNOMCLEF si vous avez besoin d'être authentifié mtn: connexion à « mtn://www.ada-france.org » mtn: motif d'inclusion « org.wisi* » mtn: motif d'exclusion « » mtn: recherche d'éléments à synchroniser : mtn: certificats | clefs | révisions mtn: 994 | 5 | 324 mtn: octets entrants | octets sortants | cert. entrants | rév. sortants mtn: 1,1 k | 1,3 k | 0/0 | 0/0 mtn: échange réussi avec « mtn://www.ada-france.org » but there is nothing left in the directory. Am I missing something obvious?