petdance/scratch — Issue #354: RFC: optional fakecutable preamble
Author: petdance
Created: 2011-11-01 04:25:46+00:00
State: open

Executables created by pbc_to_exe, better known as "fakecutables", don't have full access to parrot VM settings. We currently work around some of these problems with magic environment variables and flags on pbc_to_exe.

These solutions are crufty and inflexible.

I propose the option to add a second pbc which will be loaded *before* the main pbc and run. The results of this will be used as the settings with which to run the main pbc.

The intent of this secondary, preamble, pbc is to parse commandline arguments, environment variables, and config files to obtain parrot VM settings in a manner appropriate for the HLL.