lib/Tools/yxml
author blanchet
Tue, 31 Aug 2010 10:13:04 +0200
changeset 38937 1b1a2f5ccd7d
parent 35022 c844b93dd147
permissions -rwxr-xr-x
take into consideration whether a fact is an "intro"/"elim"/"simp" rule as an additional factor influencing the relevance filter

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: simple XML to YXML converter


PRG="$(basename "$0")"

function usage()
{
  echo
  echo "Usage: isabelle $PRG"
  echo
  echo "  Convert XML (stdin) to YXML (stdout)."
  echo
  exit 1
}

function fail()
{
  echo "$1" >&2
  exit 2
}


## process command line

[ "$#" -ne 0 ] && usage


## main

exec "$ISABELLE_HOME/lib/scripts/yxml"