Admin/update-keywords
author wenzelm
Sun, 20 Mar 2011 17:40:45 +0100
changeset 42003 6e45dc518ebb
parent 41563 0b0cec12aae3
child 44231 f9799971ca97
permissions -rwxr-xr-x
replaced File.check by specific File.check_file, File.check_dir; clarified File.full_path -- include parts of former Thy_Load.get_file; simplified Thy_Load.check_file -- do not read/digest yet; merged Thy_Load.check_thy/deps_thy -- always read text and parse header; clarified Thy_Header.read -- NB: partial Path.explode outside of args parser combinator; Thy_Info.check_deps etc.: File.read exactly once;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: Update standard keyword files for Emacs Proof General

ISABELLE_HOME="$(isabelle getenv -b ISABELLE_HOME)"
LOG="$(isabelle getenv -b ISABELLE_OUTPUT)"/log


cd "$ISABELLE_HOME/etc"

isabelle keywords \
  "$LOG/Pure.gz" "$LOG/HOL.gz" "$LOG/HOLCF.gz" "$LOG/HOL-Boogie.gz" \
  "$LOG/HOL-Nominal.gz" "$LOG/HOL-Statespace.gz" "$LOG/HOL-SPARK.gz"

isabelle keywords -k ZF \
  "$LOG/Pure.gz" "$LOG/FOL.gz" "$LOG/ZF.gz"