author | Walther Neuper <neuper@ist.tugraz.at> |
Mon, 11 Oct 2010 12:55:40 +0200 | |
branch | isac-update-Isa09-2 |
changeset 38057 | 293a30867f15 |
parent 38051 | efdeff9df986 |
child 38058 | ad0485155c0e |
permissions | -rw-r--r-- |
neuper@38051 | 1 |
(* Title: build and test isac |
neuper@38057 | 2 |
Author: Walther Neuper, TU Graz, 100808 |
neuper@38051 | 3 |
(c) due to copyright terms |
neuper@38024 | 4 |
|
neuper@38057 | 5 |
$ cd /usr/local/Isabelle2009-1/src/Tools/isac |
neuper@38030 | 6 |
$ /usr/local/isabisac/bin/isabelle emacs Build_Test_Isac.thy & |
neuper@38030 | 7 |
$ /usr/local/isabisac/bin/isabelle jedit Build_Test_Isac.thy & |
neuper@38024 | 8 |
|
neuper@38057 | 9 |
create a new Isac heap (via ~~/ROOT.ML) with |
neuper@38057 | 10 |
$ /usr/local/isabisac/bin/isabelle usedir -b HOL Isac |
neuper@38057 | 11 |
|
neuper@38024 | 12 |
12345678901234567890123456789012345678901234567890123456789012345678901234567890 |
neuper@38024 | 13 |
10 20 30 40 50 60 70 80 |
neuper@38024 | 14 |
*) |
neuper@38024 | 15 |
|
neuper@38024 | 16 |
header {* Loading the isac mathengine *} |
neuper@38024 | 17 |
|
neuper@38030 | 18 |
theory Build_Test_Isac |
neuper@38057 | 19 |
imports Complex_Main "ProgLang/Language" "Knowledge/Isac" "Test_Isac" |
neuper@38024 | 20 |
begin |
neuper@38024 | 21 |
|
neuper@38057 | 22 |
use_thy "Build_Isac" |
neuper@38024 | 23 |
|
neuper@38057 | 24 |
(* PROCEEDING WITH TESTS HERE DOESN'T WORK, |
neuper@38057 | 25 |
because the 'imports "Knowledge/Isac" is required; for instance: |
neuper@38057 | 26 |
use "../../../test/Tools/isac/Interpret/calchead.sml" |
neuper@38057 | 27 |
*** get_pbt not found: ["linear","system"] |
neuper@38057 | 28 |
use"../../../test/Tools/isac/Knowledge/integrate.sml"; |
neuper@38057 | 29 |
*) |
neuper@38024 | 30 |
|
neuper@38024 | 31 |
use_thy "Test_Isac" |
neuper@38024 | 32 |
|
neuper@38057 | 33 |
end |
neuper@38057 | 34 |
|
neuper@38057 | 35 |
(*=== inhibit exn ?============================================================= |
neuper@38057 | 36 |
===== inhibit exn ?===========================================================*) |
neuper@38057 | 37 |
|
neuper@38057 | 38 |
|
neuper@38057 | 39 |
(*========== inhibit exn ======================================================= |
neuper@38057 | 40 |
|
neuper@38057 | 41 |
"########### testcode inserted vvv ###########################################"; |
neuper@38057 | 42 |
"########### testcode inserted ^^^ ###########################################"; |
neuper@38057 | 43 |
|
neuper@38057 | 44 |
============ inhibit exn =====================================================*) |
neuper@38057 | 45 |
|
neuper@38057 | 46 |
|
neuper@38057 | 47 |
(*-.-.-.-.-.-isolate response.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. |
neuper@38057 | 48 |
-.-.-.-.-.-.-isolate response.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*) |