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,FREEMAIL_FROM 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!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: hreba Newsgroups: comp.lang.ada Subject: Re: cocor_ada: Sets, FileIO? Date: Thu, 4 Aug 2016 14:08:08 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 6gahF9yTBlaussKC56THRwuxfo73d93eMYoupawnehgelVmV7+ Cancel-Lock: sha1:9G+EmPJAK+Gq6wO/YEb/wrQq3ic= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:31284 Date: 2016-08-04T14:08:08+02:00 List-Id: Hi Pascal, acr was already installed and working, but the generated scanner and parser needed the packages Sets and FileIO which I searched in Florist, but not in Coco/R. With your help I found them, included them in my project and it works. The first simple test is with FileIO; with File_ReaderS; -- generated with acr with File_ReaderP; -- generated with acr procedure Test_Coco is begin FileIO.Open (File_ReaderS.Source, "sos-file.atg", false); File_ReaderP.Parse; end Test_Coco; The "language" just describes a structured parameter file. I am working on a ray tracer for lens systems. With Coco/R I want to generate a file reader which constructs or initializes my lens data structure from a parameter file. Thanks for your help, -- Frank Hrebabetzky +49 / 6355 / 989 5070