From: Shark8 <onewingedshark@gmail.com>
Subject: Re: generating and compiling a very large file
Date: Sun, 3 Jun 2018 14:43:25 -0700 (PDT)
Date: 2018-06-03T14:43:25-07:00 [thread overview]
Message-ID: <e1aaa443-00b7-4217-8fe8-dfc9098e247b@googlegroups.com> (raw)
In-Reply-To: <b2d2bc59-7283-4a71-b949-2918cd515f90@googlegroups.com>
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 large;
The idea of a large aggregate is good, another thing that you could do is spread this out via SEPARATE, or perhaps via generics. Working with an interpreter I combined SEPARATE, GENERIC and overloading to do a static set of operations, see the "risi_script-types-implementation*.ad?" here: https://github.com/OneWingedShark/Risi/tree/master/src
That might not be appropriate given that you're not interpreting things, though.
If that's the case what you could do is make TABLE a constant and populate it in-source.
next prev parent reply other threads:[~2018-06-03 21:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-03 19:14 generating and compiling a very large file Stephen Leake
2018-06-03 19:48 ` Dmitry A. Kazakov
2018-06-03 21:43 ` Shark8 [this message]
2018-06-04 21:56 ` Randy Brukardt
2018-07-13 7:04 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox