public static Stella_Object standardizeLogicalParseTree(Stella_Object tree) {
    { Stella_Object standardizedtree = null;

      if (((Keyword)(Logic.$LOGIC_DIALECT$.get())) == Logic.KWD_KIF) {
        standardizedtree = Logic.kifExpressionToUntypedStellaExpression(tree);
      }
      else if (((Keyword)(Logic.$LOGIC_DIALECT$.get())) == Logic.KWD_STELLA) {
        standardizedtree = Logic.convertToPrefixPropositionTree(tree);
      }
      else if (((Keyword)(Logic.$LOGIC_DIALECT$.get())) == Logic.KWD_PREFIX_STELLA) {
        standardizedtree = tree;
      }
      else if (((Keyword)(Logic.$LOGIC_DIALECT$.get())) == Logic.KWD_MELD) {
      }
      else if (((Keyword)(Logic.$LOGIC_DIALECT$.get())) == Logic.KWD_LOOM) {
        standardizedtree = Logic.kifExpressionToUntypedStellaExpression(tree);
      }
      else {
        { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

          stream000.nativeStream.print("`" + ((Keyword)(Logic.$LOGIC_DIALECT$.get())) + "' is not a valid case option");
          throw ((StellaException)(StellaException.newStellaException(stream000.theStringReader()).fillInStackTrace()));
        }
      }
      return (standardizedtree);
    }
  }