[perl #49001] [PROPOSAL][DOCS] Change word "compilation_unit" into something else (like "sub")

Will Coleda via RT parrotbug-followup at parrotcode.org
Mon Sep 21 05:57:04 UTC 2009


On Tue May 06 12:37:39 2008, allison wrote:
> Yes, PDD 19 can talk about 'subroutines' rather than 'compilation
> units'. (I just did a quick skim of the file, and a simple search and
> replace changing 'compilation unit' to 'subroutine' will work fine.)
> 
> In imcc.y, change 'compilation_unit' and 'compilation_units' to
> something more general like 'element', 'component', 'segment', etc...
> (Not 'statement' but it's basically filling the same purpose as the
> 'statement' rule in an HLL.)

Looking through the remaining usages of this (in code and docs), it seems like compilation 
unit can also refer to, e.g. a file containing multiple subroutines.

I don't think the remaining uses can be easily transliterated.

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list