| 1 |
name: newrw |
| 2 |
description: Updates rewriting conversions in HOL2.0 code to HOL2.01 |
| 3 |
author: Jim Grundy |
| 4 |
address: Univeristy of Cambridge, Computer Laboratory |
| 5 |
date: October 1992 |
| 6 |
|
| 7 |
One of the differences between HOL2.0 and HOL2.01 is that the function |
| 8 |
previously called REWRITE_CONV is now called REWR_CONV. |
| 9 |
This has allowed the introduction of rewriting conversions analagous |
| 10 |
to the existing rewrite rules and tactics. |
| 11 |
|
| 12 |
The shell script newrw in this directory can be used to subsitute instances |
| 13 |
of REWRITE_CONV with REWR_CONV in your ml files to help you update them |
| 14 |
to HOL2.01. |
| 15 |
|
| 16 |
Here are the expanatory comments from newrw. |
| 17 |
# This file is used to help update ml files from HOL2.0 to HOL2.01 |
| 18 |
# usage: newrw file.ml |
| 19 |
# It replaces instances of REWRITE_CONV in file.ml with REWR_CONV. |
| 20 |
# A copy of the original version of the file is saved in file.ml.old |
| 21 |
# An alternative usage for newrw is as follows: |
| 22 |
# usage: newrw file.ml target replacement |
| 23 |
# When used in this way newrw replaces instances of target in file.ml by |
| 24 |
# replacement. |
| 25 |
# newrc checks that replacement does not already appear in file.ml |