/*===========================================================================*/
/*   (Reduce/walk.scm)                                                       */
/*   Bigloo (2.6b)                                                           */
/*   Inria -- Sophia Antipolis (c)       Mon Dec 15 12:14:36 CET 2003        */
/*===========================================================================*/
/* COMPILATION: (/users/serrano/prgm/project/bigloo/bin/bigloo -q -afile .afile -fsharing -fno-reflection -cc gcc-2.95 -lib-dir /users/serrano/prgm/project/bigloo/lib/2.6b -unsafev -no-hello -O2 -rm -unsafe -s -indent Reduce/walk.scm)*/
/* GC selection */
#define THE_GC BOEHM_GC

#include <bigloo.h>


/* Object type definitions */
typedef struct BgL_typez00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_idz00;
   obj_t BgL_namez00;
   obj_t BgL_siza7eza7;
   obj_t BgL_classz00;
   obj_t BgL_coercezd2tozd2;
   obj_t BgL_parentsz00;
   bool_t BgL_initzf3zf3;
   bool_t BgL_magiczf3zf3;
   obj_t BgL_z42z42;
   obj_t BgL_aliasz00;
   obj_t BgL_pointedzd2tozd2byz00;
   obj_t BgL_tvectorz00;
   obj_t BgL_locationz00;
   obj_t BgL_importzd2locationzd2;
} *BgL_typez00_bglt;

typedef struct BgL_valuez00_bgl {
   header_t header;
   obj_t widening;
} *BgL_valuez00_bglt;

typedef struct BgL_variablez00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_idz00;
   obj_t BgL_namez00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_valuez00_bgl * BgL_valuez00;
   obj_t BgL_accessz00;
   obj_t BgL_fastzd2alphazd2;
   obj_t BgL_removablez00;
   long BgL_occurrencez00;
} *BgL_variablez00_bglt;

typedef struct BgL_globalz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_idz00;
   obj_t BgL_namez00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_valuez00_bgl * BgL_valuez00;
   obj_t BgL_accessz00;
   obj_t BgL_fastzd2alphazd2;
   obj_t BgL_removablez00;
   long BgL_occurrencez00;
   obj_t BgL_modulez00;
   obj_t BgL_importz00;
   bool_t BgL_evaluablezf3zf3;
   bool_t BgL_libraryzf3zf3;
   bool_t BgL_userzf3zf3;
   obj_t BgL_pragmaz00;
   obj_t BgL_srcz00;
   obj_t BgL_jvmzd2typezd2namez00;
} *BgL_globalz00_bglt;

typedef struct BgL_localz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_idz00;
   obj_t BgL_namez00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_valuez00_bgl * BgL_valuez00;
   obj_t BgL_accessz00;
   obj_t BgL_fastzd2alphazd2;
   obj_t BgL_removablez00;
   long BgL_occurrencez00;
   bool_t BgL_userzf3zf3;
   long BgL_keyz00;
} *BgL_localz00_bglt;

typedef struct BgL_funz00_bgl {
   header_t header;
   obj_t widening;
   long BgL_arityz00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_predicatezd2ofzd2;
   obj_t BgL_stackzd2allocatorzd2;
   bool_t BgL_topzf3zf3;
   obj_t BgL_thezd2closurezd2;
   obj_t BgL_effectz00;
} *BgL_funz00_bglt;

typedef struct BgL_sfunz00_bgl {
   header_t header;
   obj_t widening;
   long BgL_arityz00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_predicatezd2ofzd2;
   obj_t BgL_stackzd2allocatorzd2;
   bool_t BgL_topzf3zf3;
   obj_t BgL_thezd2closurezd2;
   obj_t BgL_effectz00;
   obj_t BgL_propertyz00;
   obj_t BgL_argsz00;
   obj_t BgL_bodyz00;
   obj_t BgL_classz00;
   obj_t BgL_dssslzd2keywordszd2;
   obj_t BgL_locz00;
} *BgL_sfunz00_bglt;

typedef struct BgL_cfunz00_bgl {
   header_t header;
   obj_t widening;
   long BgL_arityz00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_predicatezd2ofzd2;
   obj_t BgL_stackzd2allocatorzd2;
   bool_t BgL_topzf3zf3;
   obj_t BgL_thezd2closurezd2;
   obj_t BgL_effectz00;
   obj_t BgL_argszd2typezd2;
   bool_t BgL_macrozf3zf3;
   bool_t BgL_infixzf3zf3;
   obj_t BgL_methodz00;
} *BgL_cfunz00_bglt;

typedef struct BgL_svarz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
} *BgL_svarz00_bglt;

typedef struct BgL_scnstz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_nodez00;
   obj_t BgL_classz00;
   obj_t BgL_locz00;
} *BgL_scnstz00_bglt;

typedef struct BgL_cvarz00_bgl {
   header_t header;
   obj_t widening;
   bool_t BgL_macrozf3zf3;
} *BgL_cvarz00_bglt;

typedef struct BgL_sexitz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_handlerz00;
   bool_t BgL_detachedzf3zf3;
} *BgL_sexitz00_bglt;

typedef struct BgL_feffectz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_readz00;
   obj_t BgL_writez00;
} *BgL_feffectz00_bglt;

typedef struct BgL_nodez00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
} *BgL_nodez00_bglt;

typedef struct BgL_nodezf2effectzf2_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
} *BgL_nodezf2effectzf2_bglt;

typedef struct BgL_atomz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_valuez00;
} *BgL_atomz00_bglt;

typedef struct BgL_varz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_variablez00_bgl * BgL_variablez00;
} *BgL_varz00_bglt;

typedef struct BgL_closurez00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_variablez00_bgl * BgL_variablez00;
} *BgL_closurez00_bglt;

typedef struct BgL_kwotez00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_valuez00;
} *BgL_kwotez00_bglt;

typedef struct BgL_sequencez00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_nodesz00;
} *BgL_sequencez00_bglt;

typedef struct BgL_appz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   struct BgL_varz00_bgl * BgL_funz00;
   obj_t BgL_argsz00;
} *BgL_appz00_bglt;

typedef struct BgL_appzd2lyzd2_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_nodez00_bgl * BgL_funz00;
   struct BgL_nodez00_bgl * BgL_argz00;
} *BgL_appzd2lyzd2_bglt;

typedef struct BgL_funcallz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_nodez00_bgl * BgL_funz00;
   obj_t BgL_argsz00;
   obj_t BgL_strengthz00;
} *BgL_funcallz00_bglt;

typedef struct BgL_externz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_exprza2za2;
   obj_t BgL_effectz00;
} *BgL_externz00_bglt;

typedef struct BgL_pragmaz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_exprza2za2;
   obj_t BgL_effectz00;
   obj_t BgL_formatz00;
} *BgL_pragmaz00_bglt;

typedef struct BgL_getfieldz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_exprza2za2;
   obj_t BgL_effectz00;
   obj_t BgL_fnamez00;
   struct BgL_typez00_bgl * BgL_ftypez00;
   struct BgL_typez00_bgl * BgL_otypez00;
} *BgL_getfieldz00_bglt;

typedef struct BgL_setfieldz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_exprza2za2;
   obj_t BgL_effectz00;
   obj_t BgL_fnamez00;
   struct BgL_typez00_bgl * BgL_ftypez00;
   struct BgL_typez00_bgl * BgL_otypez00;
} *BgL_setfieldz00_bglt;

typedef struct BgL_newz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_exprza2za2;
   obj_t BgL_effectz00;
} *BgL_newz00_bglt;

typedef struct BgL_vallocz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_exprza2za2;
   obj_t BgL_effectz00;
   obj_t BgL_czd2heapzd2formatz00;
   struct BgL_typez00_bgl * BgL_ftypez00;
   struct BgL_typez00_bgl * BgL_otypez00;
} *BgL_vallocz00_bglt;

typedef struct BgL_vrefz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_exprza2za2;
   obj_t BgL_effectz00;
   obj_t BgL_czd2formatzd2;
   struct BgL_typez00_bgl * BgL_ftypez00;
   struct BgL_typez00_bgl * BgL_otypez00;
   struct BgL_typez00_bgl * BgL_vtypez00;
} *BgL_vrefz00_bglt;

typedef struct BgL_vsetz12z12_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_exprza2za2;
   obj_t BgL_effectz00;
   obj_t BgL_czd2formatzd2;
   struct BgL_typez00_bgl * BgL_ftypez00;
   struct BgL_typez00_bgl * BgL_otypez00;
   struct BgL_typez00_bgl * BgL_vtypez00;
} *BgL_vsetz12z12_bglt;

typedef struct BgL_vlengthz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_exprza2za2;
   obj_t BgL_effectz00;
   obj_t BgL_czd2formatzd2;
   struct BgL_typez00_bgl * BgL_vtypez00;
} *BgL_vlengthz00_bglt;

typedef struct BgL_isaz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_exprza2za2;
   obj_t BgL_effectz00;
   struct BgL_typez00_bgl * BgL_classz00;
} *BgL_isaz00_bglt;

typedef struct BgL_castz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_nodez00_bgl * BgL_argz00;
} *BgL_castz00_bglt;

typedef struct BgL_setqz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_varz00_bgl * BgL_varz00;
   struct BgL_nodez00_bgl * BgL_valuez00;
} *BgL_setqz00_bglt;

typedef struct BgL_conditionalz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   struct BgL_nodez00_bgl * BgL_testz00;
   struct BgL_nodez00_bgl * BgL_truez00;
   struct BgL_nodez00_bgl * BgL_falsez00;
} *BgL_conditionalz00_bglt;

typedef struct BgL_failz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_nodez00_bgl * BgL_procz00;
   struct BgL_nodez00_bgl * BgL_msgz00;
   struct BgL_nodez00_bgl * BgL_objz00;
} *BgL_failz00_bglt;

typedef struct BgL_selectz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   struct BgL_nodez00_bgl * BgL_testz00;
   obj_t BgL_clausesz00;
   struct BgL_typez00_bgl * BgL_itemzd2typezd2;
} *BgL_selectz00_bglt;

typedef struct BgL_letzd2funzd2_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_localsz00;
   struct BgL_nodez00_bgl * BgL_bodyz00;
} *BgL_letzd2funzd2_bglt;

typedef struct BgL_letzd2varzd2_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   obj_t BgL_bindingsz00;
   struct BgL_nodez00_bgl * BgL_bodyz00;
   bool_t BgL_removablezf3zf3;
} *BgL_letzd2varzd2_bglt;

typedef struct BgL_setzd2exzd2itz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_varz00_bgl * BgL_varz00;
   struct BgL_nodez00_bgl * BgL_bodyz00;
} *BgL_setzd2exzd2itz00_bglt;

typedef struct BgL_jumpzd2exzd2itz00_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_nodez00_bgl * BgL_exitz00;
   struct BgL_nodez00_bgl * BgL_valuez00;
} *BgL_jumpzd2exzd2itz00_bglt;

typedef struct BgL_makezd2boxzd2_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   struct BgL_nodez00_bgl * BgL_valuez00;
} *BgL_makezd2boxzd2_bglt;

typedef struct BgL_boxzd2refzd2_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   obj_t BgL_sidezd2effectzf3z21;
   obj_t BgL_keyz00;
   struct BgL_varz00_bgl * BgL_varz00;
} *BgL_boxzd2refzd2_bglt;

typedef struct BgL_boxzd2setz12zc0_bgl {
   header_t header;
   obj_t widening;
   obj_t BgL_locz00;
   struct BgL_typez00_bgl * BgL_typez00;
   struct BgL_varz00_bgl * BgL_varz00;
   struct BgL_nodez00_bgl * BgL_valuez00;
} *BgL_boxzd2setz12zc0_bglt;


BGL_IMPORT double BGl_roundflz00zz__r4_numbers_6_5_flonumz00(double);
static obj_t BGl_methodzd2initzd2zzreduce_walkz00();
BGL_IMPORT obj_t open_input_string(obj_t);
BGL_IMPORT obj_t BGl_readz00zz__readerz00(obj_t);
extern obj_t BGl_za2optimzd2dataflowzf3za2z21zzengine_paramz00;
extern obj_t BGl_reducezd2conditionalz12zc0zzreduce_condz00(obj_t);
BGL_IMPORT obj_t string_to_bstring(char *);
extern obj_t BGl_za2optimzd2reducezd2betazf3za2zf3zzengine_paramz00;
extern obj_t BGl_reducezd21occz12zc0zzreduce_1occz00(obj_t);
extern obj_t BGl_reducezd2typezd2checkz12z12zzreduce_typecz00(obj_t);
static obj_t BGl_cnstzd2initzd2zzreduce_walkz00();
extern obj_t BGl_za2nbzd2errorzd2onzd2passza2zd2zztools_errorz00;
BGL_IMPORT obj_t BGl_displayzd22zd2zz__r4_output_6_10_3z00(obj_t, obj_t);
extern obj_t BGl_za2currentzd2passza2zd2zzengine_passz00;
static obj_t BGl_importedzd2moduleszd2initz00zzreduce_walkz00();
extern obj_t BGl_reducezd2betaz12zc0zzreduce_betaz00(obj_t);
BGL_IMPORT obj_t BGl_exitz00zz__errorz00(obj_t);
static obj_t BGl__reducezd2walkz12zc0zzreduce_walkz00(obj_t, obj_t);
extern obj_t BGl_reducezd2csez12zc0zzreduce_csez00(obj_t);
BGL_IMPORT bool_t BGl_2ze3ze3zz__r4_numbers_6_5z00(obj_t, obj_t);
BGL_EXPORTED_DECL obj_t BGl_modulezd2initializa7ationz75zzreduce_walkz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zztools_speekz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zztools_errorz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzengine_passz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zztools_shapez00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzengine_paramz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zztype_typez00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzast_varz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzast_nodez00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzreduce_copyz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzreduce_csez00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzreduce_condz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzreduce_typecz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzreduce_1occz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzreduce_betaz00(long, char *);
extern obj_t BGl_modulezd2initializa7ationz75zzast_removez00(long, char *);
BGL_IMPORT obj_t BGl_modulezd2initializa7ationz75zz__errorz00(long, char *);
BGL_IMPORT obj_t BGl_modulezd2initializa7ationz75zz__readerz00(long, char *);
BGL_IMPORT obj_t BGl_modulezd2initializa7ationz75zz__r4_numbers_6_5z00(long, char *);
BGL_IMPORT obj_t BGl_modulezd2initializa7ationz75zz__r4_numbers_6_5_flonumz00(long, char *);
BGL_IMPORT obj_t BGl_modulezd2initializa7ationz75zz__r4_output_6_10_3z00(long, char *);
extern obj_t BGl_verbosez00zztools_speekz00(obj_t, obj_t);
BGL_EXPORTED_DECL obj_t BGl_reducezd2walkz12zc0zzreduce_walkz00(obj_t);
extern obj_t BGl_za2optimza2z00zzengine_paramz00;
extern obj_t BGl_removezd2varzd2zzast_removez00(obj_t, obj_t);
BGL_IMPORT obj_t display_string(obj_t, obj_t);
extern obj_t BGl_internalzd2errorzd2zztools_errorz00(obj_t, obj_t, obj_t);
extern obj_t BGl_reducezd2copyz12zc0zzreduce_copyz00(obj_t);
static obj_t BGl_requirezd2initializa7ationz75zzreduce_walkz00 = BUNSPEC;
static obj_t BGl_libraryzd2moduleszd2initz00zzreduce_walkz00();
static obj_t __cnst[ 2 ] ;


DEFINE_STRING( BGl_string3115z00zzreduce_walkz00, BgL_bgl_string3115za700za7za7reduce_walkza7003143z00, "reduce pass-started ", 20 );
DEFINE_STRING( BGl_string3114z00zzreduce_walkz00, BgL_bgl_string3114za700za7za7reduce_walkza7003144z00, "failure during postlude hook", 28 );
DEFINE_STRING( BGl_string3113z00zzreduce_walkz00, BgL_bgl_string3113za700za7za7reduce_walkza7003145z00, " occured, ending ...", 20 );
DEFINE_STRING( BGl_string3112z00zzreduce_walkz00, BgL_bgl_string3112za700za7za7reduce_walkza7003146z00, " error", 6 );
DEFINE_STRING( BGl_string3111z00zzreduce_walkz00, BgL_bgl_string3111za700za7za7reduce_walkza7003147z00, "failure during prelude hook", 27 );
DEFINE_STRING( BGl_string3110z00zzreduce_walkz00, BgL_bgl_string3110za700za7za7reduce_walkza7003148z00, "   . ", 5 );
DEFINE_STRING( BGl_string3109z00zzreduce_walkz00, BgL_bgl_string3109za700za7za7reduce_walkza7003149z00, "Reduction", 9 );
DEFINE_EXPORT_PROCEDURE( BGl_reducezd2walkz12zd2envz12zzreduce_walkz00, BgL_bgl__reduceza7d2walkza712za7c0za7za7reduce_walkza7003150z00, BGl__reducezd2walkz12zc0zzreduce_walkz00, 0L, 1 );



/* module-initialization */
BGL_EXPORTED_DEF obj_t BGl_modulezd2initializa7ationz75zzreduce_walkz00(long BgL_checksumz00_1092, char * BgL_fromz00_1093)
{ AN_OBJECT;
{ 
if(
CBOOL(BGl_requirezd2initializa7ationz75zzreduce_walkz00))
{ 
BGl_requirezd2initializa7ationz75zzreduce_walkz00 = 
BBOOL(((bool_t)0)); 
BGl_libraryzd2moduleszd2initz00zzreduce_walkz00(); 
BGl_cnstzd2initzd2zzreduce_walkz00(); 
BGl_importedzd2moduleszd2initz00zzreduce_walkz00(); 
return BUNSPEC;}  else 
{ 
return BUNSPEC;} } 
}



/* library-modules-init */
obj_t BGl_libraryzd2moduleszd2initz00zzreduce_walkz00()
{ AN_OBJECT;
{ /* ./Reduce/walk.scm 15 */
BGl_modulezd2initializa7ationz75zz__r4_numbers_6_5_flonumz00(((long)0), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zz__readerz00(((long)0), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zz__r4_output_6_10_3z00(((long)0), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zz__errorz00(((long)0), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zz__r4_numbers_6_5z00(((long)0), "reduce_walk"); 
return BUNSPEC;} 
}



/* cnst-init */
obj_t BGl_cnstzd2initzd2zzreduce_walkz00()
{ AN_OBJECT;
{ /* ./Reduce/walk.scm 15 */
{ /* ./Reduce/walk.scm 15 */
obj_t BgL_cportz00_1085;
BgL_cportz00_1085 = 
open_input_string(BGl_string3115z00zzreduce_walkz00); 
{ 
long BgL_iz00_1086;
BgL_iz00_1086 = ((long)1); 
BgL_loopz00_1087:
{ /* ./Reduce/walk.scm 15 */
bool_t BgL_test3117z00_1088;
BgL_test3117z00_1088 = 
(BgL_iz00_1086==((long)-1)); 
if(BgL_test3117z00_1088)
{ /* ./Reduce/walk.scm 15 */
return BUNSPEC;}  else 
{ /* ./Reduce/walk.scm 15 */
{ /* ./Reduce/walk.scm 15 */
obj_t BgL_arg3119z00_1089;
{ /* ./Reduce/walk.scm 15 */
obj_t BgL_list3122z00_1090;
BgL_list3122z00_1090 = 
MAKE_PAIR(BgL_cportz00_1085, BNIL); 
BgL_arg3119z00_1089 = 
BGl_readz00zz__readerz00(BgL_list3122z00_1090); } 
{ /* ./Reduce/walk.scm 15 */
int BgL_auxz00_1110;
BgL_auxz00_1110 = 
(int)(BgL_iz00_1086); 
CNST_TABLE_SET(BgL_auxz00_1110, BgL_arg3119z00_1089); } } 
{ /* ./Reduce/walk.scm 15 */
int BgL_auxz00_1091;
{ /* ./Reduce/walk.scm 15 */
long BgL_auxz00_1113;
BgL_auxz00_1113 = 
(BgL_iz00_1086-((long)1)); 
BgL_auxz00_1091 = 
(int)(BgL_auxz00_1113); } 
{ 
long BgL_iz00_1116;
BgL_iz00_1116 = 
(long)(BgL_auxz00_1091); 
BgL_iz00_1086 = BgL_iz00_1116; 
goto BgL_loopz00_1087;} } } } } } } 
}



/* reduce-walk! */
BGL_EXPORTED_DEF obj_t BGl_reducezd2walkz12zc0zzreduce_walkz00(obj_t BgL_globalsz00_1)
{ AN_OBJECT;
{ /* ./Reduce/walk.scm 35 */
if(
CBOOL(BGl_za2optimzd2dataflowzf3za2z21zzengine_paramz00))
{ /* ./Reduce/walk.scm 36 */
{ /* ./Reduce/walk.scm 38 */
obj_t BgL_list2664z00_659;
{ /* ./Reduce/walk.scm 38 */
obj_t BgL_arg2667z00_661;
{ /* ./Reduce/walk.scm 38 */
obj_t BgL_arg2671z00_663;
{ /* ./Reduce/walk.scm 38 */
obj_t BgL_auxz00_1120;
BgL_auxz00_1120 = 
BCHAR(((unsigned char)'\n')); 
BgL_arg2671z00_663 = 
MAKE_PAIR(BgL_auxz00_1120, BNIL); } 
BgL_arg2667z00_661 = 
MAKE_PAIR(BGl_string3109z00zzreduce_walkz00, BgL_arg2671z00_663); } 
BgL_list2664z00_659 = 
MAKE_PAIR(BGl_string3110z00zzreduce_walkz00, BgL_arg2667z00_661); } 
BGl_verbosez00zztools_speekz00(
BINT(((long)1)), BgL_list2664z00_659); } 
BGl_za2nbzd2errorzd2onzd2passza2zd2zztools_errorz00 = 
BINT(((long)0)); 
BGl_za2currentzd2passza2zd2zzengine_passz00 = BGl_string3109z00zzreduce_walkz00; 
{ 
obj_t BgL_hooksz00_664;obj_t BgL_hnamesz00_665;
{ /* ./Reduce/walk.scm 38 */
obj_t BgL_arg2675z00_667;
BgL_arg2675z00_667 = BNIL; 
BgL_hooksz00_664 = BgL_arg2675z00_667; 
BgL_hnamesz00_665 = BNIL; 
BgL_loopz00_666:
{ /* ./Reduce/walk.scm 38 */
bool_t BgL_test2680z00_670;
BgL_test2680z00_670 = 
NULLP(BgL_hooksz00_664); 
if(BgL_test2680z00_670)
{ /* ./Reduce/walk.scm 38 */
CNST_TABLE_REF(((long)0)); }  else 
{ /* ./Reduce/walk.scm 38 */
bool_t BgL_test2681z00_671;
{ /* ./Reduce/walk.scm 38 */
obj_t BgL_fun2696z00_677;
BgL_fun2696z00_677 = 
CAR(BgL_hooksz00_664); 
{ /* ./Reduce/walk.scm 38 */
obj_t BgL_auxz00_1132;
BgL_auxz00_1132 = 
PROCEDURE_ENTRY(BgL_fun2696z00_677)(BgL_fun2696z00_677, BEOA); 
BgL_test2681z00_671 = 
CBOOL(BgL_auxz00_1132); } } 
if(BgL_test2681z00_671)
{ /* ./Reduce/walk.scm 38 */
{ /* ./Reduce/walk.scm 38 */
obj_t BgL_arg2683z00_672;obj_t BgL_arg2684z00_673;
BgL_arg2683z00_672 = 
CDR(BgL_hooksz00_664); 
BgL_arg2684z00_673 = 
CDR(BgL_hnamesz00_665); 
{ 
obj_t BgL_hnamesz00_1140;obj_t BgL_hooksz00_1139;
BgL_hooksz00_1139 = BgL_arg2683z00_672; 
BgL_hnamesz00_1140 = BgL_arg2684z00_673; 
BgL_hnamesz00_665 = BgL_hnamesz00_1140; 
BgL_hooksz00_664 = BgL_hooksz00_1139; 
goto BgL_loopz00_666;} } }  else 
{ /* ./Reduce/walk.scm 38 */
{ /* ./Reduce/walk.scm 38 */
obj_t BgL_arg2691z00_676;
BgL_arg2691z00_676 = 
CAR(BgL_hnamesz00_665); 
BGl_internalzd2errorzd2zztools_errorz00(BGl_string3109z00zzreduce_walkz00, BGl_string3111z00zzreduce_walkz00, BgL_arg2691z00_676); } } } } } } 
BGl_reducezd2copyz12zc0zzreduce_copyz00(BgL_globalsz00_1); 
{ /* ./Reduce/walk.scm 40 */
bool_t BgL_test2700z00_678;
{ /* ./Reduce/walk.scm 40 */
long BgL_n1z00_1064;
BgL_n1z00_1064 = 
(long)CINT(BGl_za2optimza2z00zzengine_paramz00); 
BgL_test2700z00_678 = 
(BgL_n1z00_1064>=((long)2)); } 
if(BgL_test2700z00_678)
{ /* ./Reduce/walk.scm 40 */
BGl_reducezd2csez12zc0zzreduce_csez00(BgL_globalsz00_1); }  else 
{ /* ./Reduce/walk.scm 40 */BFALSE; } } 
BGl_reducezd2typezd2checkz12z12zzreduce_typecz00(BgL_globalsz00_1); 
BGl_reducezd2copyz12zc0zzreduce_copyz00(BgL_globalsz00_1); 
BGl_reducezd2conditionalz12zc0zzreduce_condz00(BgL_globalsz00_1); 
BGl_reducezd21occz12zc0zzreduce_1occz00(BgL_globalsz00_1); 
if(
CBOOL(BGl_za2optimzd2reducezd2betazf3za2zf3zzengine_paramz00))
{ /* ./Reduce/walk.scm 45 */
BGl_reducezd2betaz12zc0zzreduce_betaz00(BgL_globalsz00_1); }  else 
{ /* ./Reduce/walk.scm 45 */BFALSE; } 
{ /* ./Reduce/walk.scm 46 */
obj_t BgL_valuez00_679;
BgL_valuez00_679 = 
BGl_removezd2varzd2zzast_removez00(
CNST_TABLE_REF(((long)1)), BgL_globalsz00_1); 
{ /* ./Reduce/walk.scm 46 */
bool_t BgL_test2708z00_680;
{ /* ./Reduce/walk.scm 46 */
long BgL_n1z00_1066;
BgL_n1z00_1066 = 
(long)CINT(BGl_za2nbzd2errorzd2onzd2passza2zd2zztools_errorz00); 
BgL_test2708z00_680 = 
(BgL_n1z00_1066>((long)0)); } 
if(BgL_test2708z00_680)
{ /* ./Reduce/walk.scm 46 */
{ /* ./Reduce/walk.scm 46 */
obj_t BgL_port2662z00_681;
BgL_port2662z00_681 = 
BGL_CURRENT_ERROR_PORT(); 
BGl_displayzd22zd2zz__r4_output_6_10_3z00(BGl_za2nbzd2errorzd2onzd2passza2zd2zztools_errorz00, BgL_port2662z00_681); 
display_string(BGl_string3112z00zzreduce_walkz00, BgL_port2662z00_681); 
{ /* ./Reduce/walk.scm 46 */
char * BgL_arg2712z00_682;
{ /* ./Reduce/walk.scm 46 */
bool_t BgL_test2714z00_683;
{ /* ./Reduce/walk.scm 46 */
bool_t BgL_test2715z00_684;
{ /* ./Reduce/walk.scm 46 */
bool_t BgL_res3082z00_1074;
{ /* ./Reduce/walk.scm 46 */
obj_t BgL_objz00_1068;
BgL_objz00_1068 = BGl_za2nbzd2errorzd2onzd2passza2zd2zztools_errorz00; 
{ /* ./Reduce/walk.scm 46 */
bool_t BgL_test1396z00_1069;
BgL_test1396z00_1069 = 
INTEGERP(BgL_objz00_1068); 
if(BgL_test1396z00_1069)
{ /* ./Reduce/walk.scm 46 */
BgL_res3082z00_1074 = ((bool_t)1); }  else 
{ /* ./Reduce/walk.scm 46 */
bool_t BgL_test1397z00_1070;
BgL_test1397z00_1070 = 
REALP(BgL_objz00_1068); 
if(BgL_test1397z00_1070)
{ /* ./Reduce/walk.scm 46 */
double BgL_arg1399z00_1071;
BgL_arg1399z00_1071 = 
BGl_roundflz00zz__r4_numbers_6_5_flonumz00(
REAL_TO_DOUBLE(BgL_objz00_1068)); 
{ /* ./Reduce/walk.scm 46 */
double BgL_auxz00_1169;
BgL_auxz00_1169 = 
REAL_TO_DOUBLE(BgL_objz00_1068); 
BgL_res3082z00_1074 = 
(BgL_auxz00_1169==BgL_arg1399z00_1071); } }  else 
{ /* ./Reduce/walk.scm 46 */
BgL_res3082z00_1074 = ((bool_t)0); } } } } 
BgL_test2715z00_684 = BgL_res3082z00_1074; } 
if(BgL_test2715z00_684)
{ /* ./Reduce/walk.scm 46 */
BgL_test2714z00_683 = 
BGl_2ze3ze3zz__r4_numbers_6_5z00(BGl_za2nbzd2errorzd2onzd2passza2zd2zztools_errorz00, 
BINT(((long)1))); }  else 
{ /* ./Reduce/walk.scm 46 */
BgL_test2714z00_683 = ((bool_t)0); } } 
if(BgL_test2714z00_683)
{ /* ./Reduce/walk.scm 46 */
BgL_arg2712z00_682 = "s"; }  else 
{ /* ./Reduce/walk.scm 46 */
BgL_arg2712z00_682 = ""; } } 
BGl_displayzd22zd2zz__r4_output_6_10_3z00(
string_to_bstring(BgL_arg2712z00_682), BgL_port2662z00_681); } 
display_string(BGl_string3113z00zzreduce_walkz00, BgL_port2662z00_681); 
WRITE_CHAR(((unsigned char)'\n'), BgL_port2662z00_681); } 
{ /* ./Reduce/walk.scm 46 */
obj_t BgL_list2722z00_685;
{ /* ./Reduce/walk.scm 46 */
obj_t BgL_auxz00_1180;
BgL_auxz00_1180 = 
BINT(((long)-1)); 
BgL_list2722z00_685 = 
MAKE_PAIR(BgL_auxz00_1180, BNIL); } 
return 
BGl_exitz00zz__errorz00(BgL_list2722z00_685);} }  else 
{ 
obj_t BgL_hooksz00_686;obj_t BgL_hnamesz00_687;
{ /* ./Reduce/walk.scm 46 */
obj_t BgL_arg2725z00_689;
BgL_arg2725z00_689 = BNIL; 
BgL_hooksz00_686 = BgL_arg2725z00_689; 
BgL_hnamesz00_687 = BNIL; 
BgL_loopz00_688:
{ /* ./Reduce/walk.scm 46 */
bool_t BgL_test2730z00_692;
BgL_test2730z00_692 = 
NULLP(BgL_hooksz00_686); 
if(BgL_test2730z00_692)
{ /* ./Reduce/walk.scm 46 */
return BgL_valuez00_679;}  else 
{ /* ./Reduce/walk.scm 46 */
bool_t BgL_test2731z00_693;
{ /* ./Reduce/walk.scm 46 */
obj_t BgL_fun2745z00_698;
BgL_fun2745z00_698 = 
CAR(BgL_hooksz00_686); 
{ /* ./Reduce/walk.scm 46 */
obj_t BgL_auxz00_1187;
BgL_auxz00_1187 = 
PROCEDURE_ENTRY(BgL_fun2745z00_698)(BgL_fun2745z00_698, BEOA); 
BgL_test2731z00_693 = 
CBOOL(BgL_auxz00_1187); } } 
if(BgL_test2731z00_693)
{ /* ./Reduce/walk.scm 46 */
{ /* ./Reduce/walk.scm 46 */
obj_t BgL_arg2733z00_694;obj_t BgL_arg2734z00_695;
BgL_arg2733z00_694 = 
CDR(BgL_hooksz00_686); 
BgL_arg2734z00_695 = 
CDR(BgL_hnamesz00_687); 
{ 
obj_t BgL_hnamesz00_1195;obj_t BgL_hooksz00_1194;
BgL_hooksz00_1194 = BgL_arg2733z00_694; 
BgL_hnamesz00_1195 = BgL_arg2734z00_695; 
BgL_hnamesz00_687 = BgL_hnamesz00_1195; 
BgL_hooksz00_686 = BgL_hooksz00_1194; 
goto BgL_loopz00_688;} } }  else 
{ /* ./Reduce/walk.scm 46 */
{ /* ./Reduce/walk.scm 46 */
obj_t BgL_arg2740z00_697;
BgL_arg2740z00_697 = 
CAR(BgL_hnamesz00_687); 
return 
BGl_internalzd2errorzd2zztools_errorz00(BGl_za2currentzd2passza2zd2zzengine_passz00, BGl_string3114z00zzreduce_walkz00, BgL_arg2740z00_697);} } } } } } } } }  else 
{ /* ./Reduce/walk.scm 36 */
return BgL_globalsz00_1;} } 
}



/* _reduce-walk! */
obj_t BGl__reducezd2walkz12zc0zzreduce_walkz00(obj_t BgL_envz00_1083, obj_t BgL_globalsz00_1084)
{ AN_OBJECT;
{ /* ./Reduce/walk.scm 35 */
return 
BGl_reducezd2walkz12zc0zzreduce_walkz00(BgL_globalsz00_1084);} 
}



/* method-init */
obj_t BGl_methodzd2initzd2zzreduce_walkz00()
{ AN_OBJECT;
{ /* ./Reduce/walk.scm 15 */
return BUNSPEC;} 
}



/* imported-modules-init */
obj_t BGl_importedzd2moduleszd2initz00zzreduce_walkz00()
{ AN_OBJECT;
{ /* ./Reduce/walk.scm 15 */
BGl_modulezd2initializa7ationz75zztools_speekz00(((long)23537), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zztools_errorz00(((long)25566), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zzengine_passz00(((long)10268), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zztools_shapez00(((long)30833), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zzengine_paramz00(((long)14260), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zztype_typez00(((long)19090), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zzast_varz00(((long)44246), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zzast_nodez00(((long)50868), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zzreduce_copyz00(((long)31712), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zzreduce_csez00(((long)15139), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zzreduce_condz00(((long)24814), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zzreduce_typecz00(((long)31464), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zzreduce_1occz00(((long)64130), "reduce_walk"); 
BGl_modulezd2initializa7ationz75zzreduce_betaz00(((long)32822), "reduce_walk"); 
return 
BGl_modulezd2initializa7ationz75zzast_removez00(((long)12493), "reduce_walk");} 
}

