maude-help AT lists.siebelschool.illinois.edu
Subject: Maude-help mailing list
List archive
- From: Patrick Lincoln <lincoln AT csl.sri.com>
- To: maude-help AT banyan.cs.uiuc.edu
- Cc: lincoln AT csl.sri.com
- Subject: [Maude-help] megzari: [Maude-user] 2 questions !
- Date: Mon, 07 Jul 2003 07:50:09 -0700
- List-archive: <http://maude.cs.uiuc.edu/pipermail/maude-help/>
- List-id: Maude help list <maude-help.maude.cs.uiuc.edu>
--- Begin Message ---Dear Patrick,
- From: megzari <karim.megzari AT univ-savoie.fr>
- To: Lincoln AT csl.sri.com
- Subject: [Maude-user] 2 questions !
- Date: Mon, 07 Jul 2003 13:57:54 +0200
I have 2 questions related to Maude, I have Just start to learn it ! :)
a) We can for example Rewrite a module A.fm by a module B.fm (with
applying some rewriting rules that add sorts or rules, for
instance), and store the new module B.fm in the Persistent Maude
DataBase ? and show it by the command show ? otherwise, I want to refine
the
module A.fm (with a new body) ! :)
b) How we can describe or specify preconditions and postconditions in
Maude ? in semantic Level !
for instance, how we can please do this in Maude :
refine ModuleA by ModuleA1 {
precondiction ( the sort s not exist in the moduleA)
postcondition (add sort s in the moduleA)
} as ModuleA1
when we write the command Maude>Show ModuleA1
Maude output :
fmod ModuleA1 is
sort s1 .... s
Thank you,
---------------------------------------------------------------
Karim Megzari
Phd student at SEG/Listic - Annecy (France)
+33450096591
---------------------------------------------------------
--- End Message ---
- [Maude-help] megzari: [Maude-user] 2 questions !, Patrick Lincoln, 07/07/2003
Archive powered by MHonArc 2.6.16.