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.)
Here's a rough cut at what is left to update: $ ack -ail 'compilation.*unit' compilers/imcc/imc.c compilers/imcc/imcc.y compilers/imcc/imcparser.c compilers/imcc/pbc.c compilers/imcc/reg_alloc.c compilers/imcc/unit.h compilers/pct/src/PCT/HLLCompiler.pir docs/book/ch03_pir_basics.pod docs/book/ch04_pir_subroutines.pod docs/book/ch12_opcodes.pod docs/book/ch13_reference.pod docs/compiler_faq.pod docs/imcc/operation.pod docs/intro.pod docs/overview.pod docs/pdds/draft/pdd10_embedding.pod docs/pdds/pdd19_pir.pod docs/pdds/pdd26_ast.pod docs/running.pod languages/cola/cola.y languages/cola/parser.c languages/jako/docs/jako.pod languages/PIR/docs/pirgrammar.pod languages/PIR/src/actions.pm languages/PIR/src/pir.pg t/pmc/sub.t -- Will "Coke" Coleda _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
