diff options
| author | David Aspinall | 1999-11-13 13:47:29 +0000 |
|---|---|---|
| committer | David Aspinall | 1999-11-13 13:47:29 +0000 |
| commit | 2b2a5250ea25f2ebd841fbb552f06d6a97fa8772 (patch) | |
| tree | 4181bbf3fb0fa5552cadfce347a6ebec924995df /generic/proof-site.el | |
| parent | 25fe2ff8892e33e7d5e6d2b8710e34b44a81d423 (diff) | |
Added example instantiation demoisa
Diffstat (limited to 'generic/proof-site.el')
| -rw-r--r-- | generic/proof-site.el | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/generic/proof-site.el b/generic/proof-site.el index 7577c6e3..85827c7f 100644 --- a/generic/proof-site.el +++ b/generic/proof-site.el @@ -37,12 +37,16 @@ ;; Master table of supported assistants. May not enable both kinds of ;; Isabelle interfaces at the same time! (defcustom proof-assistant-table - '((isar "Isabelle/Isar" "\\.thy$") + '(;; For demonstration instance of Proof General, + ;; set PROOFGENERAL_ASSISANTS=demoisa. It really works! + ;; To use Isabelle/Isar instead of classic Isabelle, + ;; set PROOFGENERAL_ASSISANTS=isar + (demoisa "Isabelle Demo" "\\.ML$") + (isar "Isabelle/Isar" "\\.thy$") (isa "Isabelle" "\\.ML$\\|\\.thy$") (lego "LEGO" "\\.l$") (coq "Coq" "\\.v$") - (plastic "Plastic" "\\.lf$") - ) + (plastic "Plastic" "\\.lf$")) "*Proof General's table of supported proof assistants. Extend this table to add a new proof assistant. Each entry is a list of the form @@ -205,9 +209,9 @@ Note: to change proof assistant, you must start a new Emacs session.") ;; NB: Mode name for each prover is <symbol name>-mode! (proofgen-mode (intern (concat sname "-mode"))) ;; NB: Customization group for each prover is its l.c.'d name! - (cusgrp (intern (downcase assistant-name))) - (cus-internals (intern (concat (downcase assistant-name) - "-config"))) + (cusgrp-rt (substitute ?\- ?\ (downcase assistant-name))) + (cusgrp (intern cusgrp-rt)) + (cus-internals (intern (concat cusgrp-rt "-config"))) ;; Stub to do some automatic initialization and load ;; the specific code. |
