public static void walkDefglobalTree(Cons tree) {
    { TranslationUnit self000 = TranslationUnit.newTranslationUnit();

      self000.category = Stella.SYM_STELLA_GLOBAL_VARIABLE;
      self000.theObject = tree;
      self000.tuHomeModule = ((Module)(Stella.$MODULE$.get()));
      Native.setSpecial(Stella.$CURRENTTRANSLATIONUNIT$, self000);
    }
    if (tree.length() < 3) {
      Cons.badArgumentCountP(tree, 3);
      TranslationUnit.clearTranslationUnit(((TranslationUnit)(Stella.$CURRENTTRANSLATIONUNIT$.get())));
      Native.setSpecial(Stella.$CURRENTTRANSLATIONUNIT$, null);
      return;
    }
    { GlobalVariable global = null;
      Stella_Object initialvaluetree = null;

      { Object [] caller_MV_returnarray = new Object[1];

        global = Cons.defineStellaGlobalVariableFromParseTree(tree, Native.stringify(tree), caller_MV_returnarray);
        initialvaluetree = ((Stella_Object)(caller_MV_returnarray[0]));
      }
      ((TranslationUnit)(Stella.$CURRENTTRANSLATIONUNIT$.get())).theObject = global;
      ((TranslationUnit)(Stella.$CURRENTTRANSLATIONUNIT$.get())).codeRegister = initialvaluetree;
      ((TranslationUnit)(Stella.$CURRENTTRANSLATIONUNIT$.get())).auxiliaryP = global.variableAuxiliaryP;
    }
  }