comp.lang.ada
 help / color / mirror / Atom feed
From: hreba <f_hreba@yahoo.com.br>
Subject: Re: cocor_ada: Sets, FileIO?
Date: Thu, 4 Aug 2016 14:08:08 +0200
Date: 2016-08-04T14:08:08+02:00	[thread overview]
Message-ID: <e0gph8F4guoU1@mid.individual.net> (raw)
In-Reply-To: <a219870b-2183-4b8d-8ab3-2ecf4e1ddd24@googlegroups.com>

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

  reply	other threads:[~2016-08-04 12:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-29 14:40 cocor_ada: Sets, FileIO? hreba
2016-08-02 18:51 ` p.p11
2016-08-03  8:28   ` hreba
2016-08-03 17:41     ` p.p11
2016-08-04 12:08       ` hreba [this message]
2016-08-10 13:06       ` hreba
2016-08-10 16:58         ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox