From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: How to merge multiple compilation units into a compilation unit.
Date: Sun, 25 Oct 2015 01:34:31 -0500
Date: 2015-10-25T01:34:31-05:00 [thread overview]
Message-ID: <86y4ere9s8.fsf@stephe-leake.org> (raw)
In-Reply-To: ceeffcce-f687-4aff-9e42-03a740986ec0@googlegroups.com
Bo Wang <wangbosky@gmail.com> writes:
> Dear J-P. Rosen
> Thank you for giving me valuable advices.
>> > I want to merge multiple compilation units into a single compilation unit,
>> What do you mean by this? If you have two global package specifications,
>> they /are/ two compilation units. Even if you put them in the same file,
>> they still are two compilation units.
> Perhaps "merge" is vague. I want to create a new compilation unit that
> acts as same as the original two compilation units, so that I can use
> the new compilation unit to replace the original two compilation
> units.
Are you talking about source code refactoring? Or about loading more
than one compilation unit into an ASIS environment? Or something else?
> When a target program is small-scaled, I can create the new
> compilation unit manually, however, for a large target program that
> has massive compilation units, the manual process is impossible.
If the transformation is literally "impossible" to do manually, then it
is also impossible to do automatically; perhaps you meant "impractical"?
You'll have to give an example of what you are talking about to be clear.
--
-- Stephe
prev parent reply other threads:[~2015-10-25 6:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 7:04 How to merge multiple compilation units into a compilation unit Bo Wang
2015-10-21 7:23 ` J-P. Rosen
2015-10-24 3:18 ` Bo Wang
2015-10-24 13:19 ` Jacob Sparre Andersen
2015-10-24 21:09 ` J-P. Rosen
2015-10-25 6:34 ` Stephen Leake [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox