| 1 |
% --------------------------------------------------------------------- % |
| 2 |
% DIRECTORY: tooltool % |
| 3 |
% % |
| 4 |
% DESCRIPTION: SunView HOL interface tool (using tooltool) % |
| 5 |
% % |
| 6 |
% AUTHOR: David Shepherd % |
| 7 |
% % |
| 8 |
% ADDRESS: INMOS Ltd. % |
| 9 |
% 1000 Aztec West % |
| 10 |
% Almondsbury % |
| 11 |
% Bristol, BS6 6JG % |
| 12 |
% England. % |
| 13 |
% % |
| 14 |
% email: [email protected] % |
| 15 |
% % |
| 16 |
% DATE: 90.04.11 % |
| 17 |
% --------------------------------------------------------------------- % |
| 18 |
|
| 19 |
The files on contrib/tooltool are the sources for tooltool supplied to me |
| 20 |
by David Shepherd of Inmos. His HOL interface is hol.tt (I have changed |
| 21 |
iserif.r.14 to serif.14 as SRI does not have iserif fonts). |
| 22 |
|
| 23 |
Here is a message from David Shepherd documenting the interface: |
| 24 |
|
| 25 |
From: David Shepherd <[email protected]> |
| 26 |
Date: Fri, 12 May 89 13:29:36 BST |
| 27 |
To: mjcg@sri-cam |
| 28 |
Subject: Re: tooltool |
| 29 |
|
| 30 |
Once you've made tooltool you can run my mini hol interface by |
| 31 |
|
| 32 |
tooltool -f hol.tt |
| 33 |
|
| 34 |
you may need to add a directory path to the "application" entry in hol.tt. |
| 35 |
|
| 36 |
After you have done this you will get a window with hol in it with a small |
| 37 |
window below with 5 "buttons" and a % symbol. |
| 38 |
|
| 39 |
If you move into this window and type the text will come up next to the % |
| 40 |
sign. pressing return automatically sends the line to hol. |
| 41 |
|
| 42 |
Pressing the left mouse button on the "goal" button sets the goal to the |
| 43 |
text line contents (n.b. no need for "s round the term). |
| 44 |
|
| 45 |
Pressing the left mouse button on the "expand" button expands the current |
| 46 |
goal with the text line. |
| 47 |
|
| 48 |
the backup and rotate buttons do what you would expect and the exit button |
| 49 |
stops the tool. |
| 50 |
|
| 51 |
Example. (<xxxx> means pressing left mouse button on button "xxxx") |
| 52 |
|
| 53 |
! (x:*) . ? y . x=y <goal> |
| 54 |
STRIP_TAC <expand> |
| 55 |
EXISTS_TAC "y:*" <expand> |
| 56 |
<backup> |
| 57 |
EXISTS_TAC "x:*" <expand> |
| 58 |
REWRITE_TAC[] <expand> |
| 59 |
|
| 60 |
|
| 61 |
david |
| 62 |
|
| 63 |
|
| 64 |
MJCG |
| 65 |
12 May 1989 |