perCompileData.dialect = compilerConfiguration.dialect();
perCompileData.languageID = Context.getLanguageID(Locale.getDefault().getCountry().toUpperCase());
perCompileData.setAbcVersion(configuration.getTargetPlayerTargetAVM());
// Leave out trace() statements when emitting bytecode
perCompileData.omitTrace = !compilerConfiguration.debug() && compilerConfiguration.omitTraceStatements();
// set up use_namespaces anytime before parsing begins
assert configuration.getTargetPlayerRequiredUseNamespaces() != null;
perCompileData.use_namespaces.addAll(configuration.getTargetPlayerRequiredUseNamespaces());