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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:bc87:: with SMTP id m129-v6mr9015847iof.120.1528062205511; Sun, 03 Jun 2018 14:43:25 -0700 (PDT) X-Received: by 2002:a9d:5887:: with SMTP id x7-v6mr438186otg.14.1528062205439; Sun, 03 Jun 2018 14:43:25 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!news.redatomik.org!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.69.MISMATCH!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!v8-v6no4531927itc.0!news-out.google.com!f20-v6ni3164itd.0!nntp.google.com!u74-v6no4537332itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 3 Jun 2018 14:43:25 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.113.16.86; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 76.113.16.86 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: generating and compiling a very large file From: Shark8 Injection-Date: Sun, 03 Jun 2018 21:43:25 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 1995 X-Received-Body-CRC: 3914672314 Xref: reader02.eternal-september.org comp.lang.ada:52892 Date: 2018-06-03T14:43:25-07:00 List-Id: On Sunday, June 3, 2018 at 1:14:40 PM UTC-6, Stephen Leake wrote: > I'm working on a parser generator. One of the files generated is very lar= ge;=20 The idea of a large aggregate is good, another thing that you could do is s= pread this out via SEPARATE, or perhaps via generics. Working with an inter= preter I combined SEPARATE, GENERIC and overloading to do a static set of o= perations, see the "risi_script-types-implementation*.ad?" here: https://gi= thub.com/OneWingedShark/Risi/tree/master/src That might not be appropriate given that you're not interpreting things, th= ough. If that's the case what you could do is make TABLE a constant and populate = it in-source.