generate TAGS file for Isabelle sources;
authorwenzelm
Wed, 07 Jun 2000 12:18:02 +0200
changeset 9048 3add5cfc89c2
parent 9047 810966809663
child 9049 8a3101b62c4f
generate TAGS file for Isabelle sources;
Admin/MIRRORS
Admin/mktags
--- a/Admin/MIRRORS	Wed Jun 07 12:16:43 2000 +0200
+++ b/Admin/MIRRORS	Wed Jun 07 12:18:02 2000 +0200
@@ -2,13 +2,13 @@
 * Cambridge (UK)
 http://www.cl.cam.ac.uk/Research/HVG/Isabelle/dist/
 
-* Minho (Portugal)	-- CURRENTLY DISABLED
-http://ciumix.ci.uminho.pt/mirrors/isabelle/
-archive@ci.uminho.pt, sergio@ci.uminho.pt
-
 * Munich (Germany)
 http://isabelle.in.tum.de/dist/
 
 * New Jersey (USA)
-ftp://ftp.research.bell-labs.com/dist/smlnj/isabelle/index.html
+http://ftp.research.bell-labs.com/dist/smlnj/isabelle/source.html
 Dave MacQueen <dbm@research.bell-labs.com>
+
+* Stanford (USA)
+ftp://rodin.stanford.edu/pub/smlnj/isabelle/source.html
+Lal George (?)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Admin/mktags	Wed Jun 07 12:18:02 2000 +0200
@@ -0,0 +1,26 @@
+#!/bin/bash
+#
+# $Id$
+
+find . \( -name \*.ML -o -name \*.sml -o -name \*.sig \) -print | \
+  etags \
+    --language=none \
+    --regex='/[ \t]*structure +\([A-Za-z_0-9]+\)/\1/' \
+    --regex='/[ \t]*functor +\([A-Za-z_0-9]+\)/\1/' \
+    --regex='/[ \t]*signature +\([A-Za-z_0-9]+\)/\1/' \
+    --regex='/[ \t]*fun +\([A-Za-z_0-9]+\)/\1/' \
+    --regex='/[ \t]*val +\([A-Za-z_0-9]+\)/\1/' \
+    --regex='/[ \t]*and +\([A-Za-z_0-9]+\)/\1/' \
+    --regex='/[ \t]*exception +\([A-Za-z_0-9]+\)/\1/' \
+    --regex='/[ \t]*type +\([A-Za-z_0-9]+\)/\1/' \
+    --regex='/[ \t]*datatype +\([A-Za-z_0-9]+\)/\1/' \
+    --regex='/[ \t]*= +\([A-Z_]+\)/\1/' \
+    --regex='/[ \t]*| +\([A-Z_]+\)/\1/' \
+    -
+
+find . -type f -print | \
+  fgrep -v .ML | \
+  fgrep -v .sml | \
+  fgrep -v .sig | \
+  fgrep -v TAGS | \
+  etags --language=none --append -