#include "run-time.h"

/* Typedefs for referenced classes */

typedef struct {
  D wrapper;
  D instanceQ_iep_;
  D debug_name_;
  D class_implementation_class_;
  D class_subtype_bit_;
  D class_module_;
} _KLclassGVKd;

#define  define__KLmm_wrapperGVKi(nrepeated) \
  typedef struct { \
    D wrapper; \
    D mm_wrapper_implementation_class_; \
    D mm_wrapper_subtype_mask_; \
    DWORD mm_wrapper_fixed_part_; \
    DWORD mm_wrapper_variable_part_; \
    D mm_wrapper_number_patterns_; \
    DWORD mm_wrapper_pattern_element_[nrepeated+1]; \
  } _KLmm_wrapperGVKi_##nrepeated;
define__KLmm_wrapperGVKi(1);
define__KLmm_wrapperGVKi(0);

typedef struct {
  D wrapper;
} _KLobjectGVKd;

typedef struct {
  D wrapper;
} _KLunboundGVKe;

typedef struct {
  D wrapper;
} _KLbooleanGVKd;

#define  define__KLsimple_object_vectorGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    D vector_element_[nrepeated+1]; \
  } _KLsimple_object_vectorGVKd_##nrepeated;
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(8);
define__KLsimple_object_vectorGVKd(0);
define__KLsimple_object_vectorGVKd(3);

typedef struct {
  D wrapper;
  D head_;
  D tail_;
} _KLempty_listGVKd;

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(1);
define__KLbyte_stringGVKd(3);
define__KLbyte_stringGVKd(19);
define__KLbyte_stringGVKd(0);

typedef struct {
  D wrapper;
  D symbol_name_;
} _KLsymbolGVKd;

typedef struct {
  D wrapper;
  D condition_format_string_;
  D condition_format_arguments_;
} _KLparse_errorGYcommand_linesVenvironment_commands;

typedef struct {
  D wrapper;
  D handler_type_;
  D handler_function_;
  D handler_test_;
  D handler_init_arguments_;
} _KLhandlerGVKi;

typedef struct {
  D wrapper;
  D command_client_;
  D command_server_;
  D command_invoker_;
  D command_results_to_;
  D Pecho_inputQ_;
  D Pprofile_commandsQ_;
  D Ppersonal_root_;
  D Psystem_root_;
  D Pinternal_debug_;
  D Pproject_;
  D PhelpQ_;
  D PlogoQ_;
  D PversionQ_;
  D PshortversionQ_;
  D PdebuggerQ_;
  D PimportQ_;
  D PbuildQ_;
  D PcompileQ_;
  D PlinkQ_;
  D PsubprojectsQ_;
  D PcleanQ_;
  D PreleaseQ_;
  D Pbuild_script_;
  D Ptarget_;
  D PforceQ_;
  D PunifyQ_;
  D PsaveQ_;
  D PharpQ_;
  D PassembleQ_;
  D PdfmQ_;
} _KLmain_commandGYconsole_environmentVdylan_compiler;

typedef struct {
  D wrapper;
  D xep_;
  D function_signature_;
  D Pgf_cache_;
  D debug_name_;
  D generic_function_methods_;
  D discriminator_;
  D incremental_gf_module_;
  D incremental_gf_domain_info_;
  D incremental_gf_method_libraries_;
  D incremental_gf_properties_;
} _KLincremental_generic_functionGVKe;

typedef struct {
  D wrapper;
  D instanceQ_iep_;
  D debug_name_;
  D class_implementation_class_;
  D class_subtype_bit_;
  D class_module_;
} _KLfunction_classGVKi;

typedef struct {
  D wrapper;
} _KLintegerGVKd;

typedef struct {
  D wrapper;
  D xep_;
  D function_signature_;
  D Pgf_cache_;
  D debug_name_;
  D generic_function_methods_;
  D discriminator_;
} _KLsealed_generic_functionGVKe;

#define  define__KLsimple_closure_methodGVKi(nrepeated) \
  typedef struct { \
    D wrapper; \
    D xep_; \
    D function_signature_; \
    D mep_; \
    D environment_size_; \
    D environment_element_[nrepeated+1]; \
  } _KLsimple_closure_methodGVKi_##nrepeated;
define__KLsimple_closure_methodGVKi(0);

typedef struct {
  D wrapper;
  D signature_properties_;
  D signature_required_;
} _KLsignatureGVKe;

typedef struct {
  D wrapper;
  D outer_stream_;
  D private_stream_element_type_value_;
  D private_stream_direction_value_;
  D private_stream_lock_value_;
  D initial_position_;
  D current_position_;
  D final_position_;
  D stream_sequence_;
  D stream_limit_;
} _KLstring_streamGYstreamsVio;

typedef struct {
  D wrapper;
} _KLstringGVKd;


/* Typedefs for defined classes */


/* Referenced object declarations */

extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
D Krelease_product_nameVrelease_infoMM0I ();
D Krelease_versionVrelease_infoMM0I ();
D Krelease_copyrightVrelease_infoMM0I ();
D Kformat_to_stringYformatVioMM0I (D, D);
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
D Kmake_environment_command_line_serverVenvironment_commandsMM0I (D, D, D, D, D, D);
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLsymbolGVKd KJtype_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLclassGVKd KLparse_errorGYcommand_linesVenvironment_commands;
extern _KLmm_wrapperGVKi_0 KLparse_errorGYcommand_linesVenvironment_commandsW;
extern _KLsymbolGVKd KJfunction_;
extern _KLsymbolGVKd KJtest_;
extern _KLsymbolGVKd KJinit_arguments_;
D KLhandlerGZ32ZconstructorVKiMM0I (D, D, D, D, D, D);
extern _KLclassGVKd KLhandlerGVKi;
extern _KLmm_wrapperGVKi_0 KLhandlerGVKiW;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
D Kparse_command_lineYcommand_linesVenvironment_commandsMM0I (D, D, D, D);
extern _KLclassGVKd KLmain_commandGYconsole_environmentVdylan_compiler;
extern _KLmm_wrapperGVKi_0 KLmain_commandGYconsole_environmentVdylan_compilerW;
extern _KLincremental_generic_functionGVKe Kexecute_commandVcommands;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
D Kexit_applicationYcommon_extensionsVcommon_dylanI (D);
extern _KLsealed_generic_functionGVKe KformatYformatVio;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLfunction_classGVKi KLsimple_closure_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsimple_closure_methodGVKiW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLsymbolGVKd KJdirection_;
extern _KLsymbolGVKd KJoutput_;
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLclassGVKd KLstring_streamGYstreamsVio;
extern _KLmm_wrapperGVKi_0 KLstring_streamGYstreamsVioW;
D Kapplication_argumentsYcommon_extensionsVcommon_dylanI ();
extern _KLbyte_stringGVKd_0 KPempty_stringVKi;
extern _KLincremental_generic_functionGVKe KwriteYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kstream_contentsYstreams_protocolVcommon_dylan;
extern _KLclassGVKd KLstringGVKd;
extern _KLmm_wrapperGVKi_0 KLstringGVKdW;
extern D Tstandard_inputTYstandard_ioVio;
extern D Tstandard_outputTYstandard_ioVio;
extern D Tcurrent_handlersTVKi;

/* Defined object declarations */

D Kapplication_arguments_as_stringYconsole_environmentVdylan_compilerI ();
D KmainYconsole_environmentVdylan_compilerI (D);
D Kdylan_bannerYconsole_environmentVdylan_compilerI ();
static _KLbyte_stringGVKd_19 K4;
static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF7;
static D KUhandler_functionUF7I (D, D);
static _KLbyte_stringGVKd_3 K8;
static _KLsignatureGVKe K9;
static _KLsimple_object_vectorGVKd_2 K10;
static _KLbyte_stringGVKd_1 K11;
static _KLsymbolGVKd KJclear_contentsQ_;
static _KLbyte_stringGVKd_15 K13;

/* Indirection variables */

static D IKJclear_contentsQ_ = &KJclear_contentsQ_;

/* Variables */


/* Objects */

static _KLbyte_stringGVKd_19 K4 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 77,
  "Welcome to %s\n%s\n%s"
};

static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF7 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_2,
  &K9,
  &KUhandler_functionUF7I,
  (D) 1
};

static _KLbyte_stringGVKd_3 K8 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 13,
  "%s\n"
};

static _KLsignatureGVKe K9 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 44040201,
  &K10
};

static _KLsimple_object_vectorGVKd_2 K10 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLparse_errorGYcommand_linesVenvironment_commands,
  &KLobjectGVKd
};

static _KLbyte_stringGVKd_1 K11 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 5,
  " "
};

static _KLsymbolGVKd KJclear_contentsQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K13
};

static _KLbyte_stringGVKd_15 K13 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 61,
  "clear-contents?"
};

/* Code */

D Kapplication_arguments_as_stringYconsole_environmentVdylan_compilerI () {
  D T0;
  D T1;
  DWORD T2T, T2;
  D separator_T, separator_;
  D T4_0;
  D T5_0;
  _KLsimple_object_vectorGVKd_2 T6 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T7;
  DWORD T8;
  D T9;
  D T10;
  DWORD T11;
  _KLsimple_object_vectorGVKd_2 T12 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:40
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:42
  T6.vector_element_[0] = &KJdirection_;
  T6.vector_element_[1] = &KJoutput_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:42
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T0 = CONGRUENT_CALL2(&KLstring_streamGYstreamsVio, &T6);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
  T1 = Kapplication_argumentsYcommon_extensionsVcommon_dylanI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
  T7 = SLOT_VALUE_INITD(T1, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
  T8 = primitive_cast_integer_as_raw(T7);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
  T2T = 1;
  separator_T = &KPempty_stringVKi;
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
    T2 = T2T;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
    separator_ = separator_T;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
    T9 = primitive_machine_word_equalQ(T2,T8);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
    if (T9 == &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
      T10 = REPEATED_D_SLOT_VALUE_TAGGED(T1, 1, T2);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:45
      CONGRUENT_CALL_PROLOG(&KwriteYstreams_protocolVcommon_dylan, 3);
      CONGRUENT_CALL3(T0, separator_, &KPempty_vectorVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:46
      CALL2(&KwriteYstreams_protocolVcommon_dylan, T0, T10);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
      T11 = primitive_machine_word_add_signal_overflow(T2,4);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
      T2T = T11;
      separator_T = &K11;
      goto L0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:43
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:42
  T12.vector_element_[0] = IKJclear_contentsQ_;
  T12.vector_element_[1] = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:42
  CONGRUENT_CALL_PROLOG(&Kstream_contentsYstreams_protocolVcommon_dylan, 2);
  T4_0 = CONGRUENT_CALL2(T0, &T12);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:40
  T5_0 = T4_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T4_0);
    primitive_type_check(T5_0, &KLstringGVKd);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:40
  MV_SET_COUNT(1);
  return(T5_0);
}

D KmainYconsole_environmentVdylan_compilerI (D arguments_) {
  volatile D input_stream_;
  volatile D output_stream_;
  volatile D server_;
  volatile D Uunwind_exceptionUPexit_1_;
  volatile D T6;
  volatile D Uoriginal_handlersU_;
  volatile D T8;
  volatile D T9;
  volatile D T10;
  volatile D T11;
  volatile D T12_0;
  volatile D command_;
  volatile D T14;
  volatile D status_code_;
  volatile D T16;
  volatile _KLsimple_object_vectorGVKd_8 T17 = {&KLsimple_object_vectorGVKdW, (D) 33};
  volatile D T18_0;
  volatile D T19;
  volatile D T20;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:12
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:14
  input_stream_ = Tstandard_inputTYstandard_ioVio;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:15
  output_stream_ = Tstandard_outputTYstandard_ioVio;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:17
  server_ = Kmake_environment_command_line_serverVenvironment_commandsMM0I(&KPempty_vectorVKi, &KPfalseVKi, input_stream_, output_stream_, &KPfalseVKi, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
  ENTER_EXIT_FRAME(Uunwind_exceptionUPexit_1_);
  if (nlx_setjmp(FRAME_DEST(Uunwind_exceptionUPexit_1_))) {
    T12_0 = FRAME_RETVAL(Uunwind_exceptionUPexit_1_);
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    Uoriginal_handlersU_ = primitive_read_thread_variable(Tcurrent_handlersTVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    T8 = MAKE_CLOSURE_INITD(&KUhandler_functionUF7, 3, Uoriginal_handlersU_, Uunwind_exceptionUPexit_1_, output_stream_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    T17.vector_element_[0] = &KJtype_;
    T17.vector_element_[1] = &KLparse_errorGYcommand_linesVenvironment_commands;
    T17.vector_element_[2] = &KJfunction_;
    T17.vector_element_[3] = T8;
    T17.vector_element_[4] = &KJtest_;
    T17.vector_element_[5] = &KPfalseVKi;
    T17.vector_element_[6] = &KJinit_arguments_;
    T17.vector_element_[7] = &KPempty_vectorVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    T18_0 = KLhandlerGZ32ZconstructorVKiMM0I(&KLhandlerGVKi, &T17, &KLparse_errorGYcommand_linesVenvironment_commands, T8, &KPfalseVKi, &KPempty_vectorVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    T19 = T18_0;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    T9 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    T20 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    SLOT_VALUE_SETTER(T19, T20, 0);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    SLOT_VALUE_SETTER(T9, T20, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    primitive_write_thread_variable(Tcurrent_handlersTVKi, T20);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    ENTER_UNWIND_FRAME(T10);
    if (!nlx_setjmp(FRAME_DEST(T10))) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:23
      T11 = Kparse_command_lineYcommand_linesVenvironment_commandsMM0I(server_, arguments_, &KPempty_vectorVKi, &KLmain_commandGYconsole_environmentVdylan_compiler);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
      FALL_THROUGH_UNWIND(T11);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    primitive_write_thread_variable(Tcurrent_handlersTVKi, Uoriginal_handlersU_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
    CONTINUE_UNWIND();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
  T12_0 = T11;
    /* invalidate Uunwind_exceptionUPexit_1_ */
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
  command_ = T12_0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:28
  T14 = CALL1(&Kexecute_commandVcommands, command_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:28
  primitive_type_check(T14, &KLintegerGVKd);
  status_code_ = T14;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:29
  T16 = Kexit_applicationYcommon_extensionsVcommon_dylanI(status_code_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:12
  return(T16);
}

D Kdylan_bannerYconsole_environmentVdylan_compilerI () {
  D T0;
  D T1;
  D T2;
  _KLsimple_object_vectorGVKd_3 T3 = {&KLsimple_object_vectorGVKdW, (D) 13};
  D T4_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:32
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:35
  T0 = Krelease_product_nameVrelease_infoMM0I();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:36
  T1 = Krelease_versionVrelease_infoMM0I();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:37
  T2 = Krelease_copyrightVrelease_infoMM0I();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:34
  T3.vector_element_[0] = T0;
  T3.vector_element_[1] = T1;
  T3.vector_element_[2] = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:34
  T4_0 = Kformat_to_stringYformatVioMM0I(&K4, &T3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:32
  MV_SET_COUNT(1);
  return(T4_0);
}

static D KUhandler_functionUF7I (D error_, D Unext_handlerU_) {
  D T3;
  D all_values_;
  D T5;
  D T6;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
  primitive_write_thread_variable(Tcurrent_handlersTVKi, CREF(0));
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:25
  CALL3(&KformatYformatVio, CREF(2), &K8, error_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:26
  T3 = Kexit_applicationYcommon_extensionsVcommon_dylanI((D) -3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
  all_values_ = MV_GET_REST_AT(T3, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
  T5 = MV_SET_REST_AT(all_values_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
  T6 = NLX(CREF(1), T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:22
  return(T6);
}


/* SYSTEM INIT CODE */

void _Init_dylan_compiler__X_start_for_system () {
  extern D KPresolve_symbolVKiI(D);
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJclear_contentsQ_);
    if (T0 != &KJclear_contentsQ_) {
      IKJclear_contentsQ_ = T0;
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_dylan_compiler__X_start_for_user () {
{
  D T0;
  D T1;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:51
  T0 = Kapplication_arguments_as_stringYconsole_environmentVdylan_compilerI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/console/start.dylan:51
  T1 = KmainYconsole_environmentVdylan_compilerI(T0);
  goto I0;
}
I0:

  return;
}


/* eof */
