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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,571930b4ff0bc1ee X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-29 06:52:07 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.direct.ca!look.ca!newsfeed.mesh.ad.jp!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison Sender: usenet@www.newsranger.com References: <3AC03CCE.70E3C2D5@mida.se> <3AC18DD1.EF25CE42@mida.se> <5mzw6.415$1H6.72722473@newssvr16.news.prodigy.com> <3AC2EB17.33AAEC0A@mida.se> Subject: Re: Compile time executed functions Message-ID: Date: Thu, 29 Mar 2001 14:48:04 GMT NNTP-Posting-Host: 209.208.22.130 X-Complaints-To: abuse@newsranger.com X-Trace: www.newsranger.com 985877284 209.208.22.130 (Thu, 29 Mar 2001 09:48:04 EST) NNTP-Posting-Date: Thu, 29 Mar 2001 09:48:04 EST Organization: http://www.newsranger.com Xref: supernews.google.com comp.lang.ada:6211 Date: 2001-03-29T14:48:04+00:00 List-Id: In article , Ken Garlington says... > > >"Mats Karlssohn" wrote in message >: As I noted in the original post, this can be (and is today) solved by >: manually putting GenerateTable into its own program and the pasting the >: output into the source of package BlahBlah. This has caused management >: problems and I expect it to continue to do so. > >It's the part about "pasting the output" that seems odd. Why not have it >generate a stand-alone Ada *package* (e.g, BlahBlah)? We do this now in a We also do that now to generate external interface packages automaticly from ICD databases. For that matter, with a little investigation into your platform's object file formats, you could just have your program directly create an object file with the data in it, and "pragma Import" it and link it with your Ada code. On an embedded system you could also just write the data out into a binary file, have it burned into a set place in ROM, and use "for use at" to map an Ada structure there. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com