Dan Sugalski <[EMAIL PROTECTED]> wrote: > MAIN subs, of which there should be only one, is the sub that parrot > executes when it's handed a bytecode file to run. If I do:
Done. > IMMEDIATE subs are executed, with no parameters, as soon as they're > done compiling. They're definitely compile-time things, and odds are > we won't have too many of them when writing assembly code, but > they'll be reasonably common for HLLs we deal with. This is more tricky. Further it depends on, what code is allowed in such subs (e.g. calling other subs, eval ;). Postponed. > POSTCOMP subs are executed as soon as compilation is done, once again > with no parameters. Whether they do a whole lot is up in the air, but > that's not my problem, and it'll be useful for compile-and-go systems. Can that not be achieved by either MAIN or LOAD? > LOAD subs are executed on bytecode load time. Once again, no > parameters. Bytecode gets loaded, they get called. Done. leo