maude-help AT lists.siebelschool.illinois.edu
Subject: Maude-help mailing list
List archive
- From: Marc Boyer <Marc.Boyer AT onera.fr>
- To: "J.Hofmann" <jacky.hofmann AT gmx.de>, "maude-help AT cs.uiuc.edu >> Maude Help" <maude-help AT cs.uiuc.edu>
- Subject: Re: [Maude-help] Batch mode for Maude ?
- Date: Mon, 15 Oct 2012 13:35:33 +0200
- List-archive: <http://lists.cs.uiuc.edu/pipermail/maude-help/>
- List-id: <maude-help.cs.uiuc.edu>
Le 14/10/2012 14:19, J.Hofmann a écrit :
But unfortunately, I’m still stuck at the point to write something in a
file, and not in the console. I’m using Windows 7 with console2, but
tried it also with the normal cmd-prompt.
I tried to do the following:
1)Started maude in the console
2)Loaded the needed modules
3)Typed “reduce in MODUL : SOMETHING > path/file.txt .
I do not know how Window command line works.
On any Unix, the idea is to put the reduce command in a
command file
Assume I have a File defining some fib function. I simply write
a file testFib.maude containing
load Fact.maude
red fib(5) .
Then I run
maude < testFib.maude > testFib.out
or
maude < testFib.maude | tee testFib.out
Regards,
Marc Boyer
--
Marc Boyer, Ingenieur de recherche ONERA
Tel: (33) 5.62.25.26.36 DTIM
Fax: (33) 5.62.25.26.93 2, av Edouard Belin
http://www.onera.fr/staff/marc-boyer/ 31055 TOULOUSE Cedex 4
- [Maude-help] Batch mode for Maude ?, J.Hofmann, 10/13/2012
- <Possible follow-up(s)>
- Re: [Maude-help] Batch mode for Maude ?, Javi Espert, 10/13/2012
- Message not available
- Message not available
- Re: [Maude-help] Batch mode for Maude ?, J.Hofmann, 10/14/2012
- Re: [Maude-help] Batch mode for Maude ?, Marc Boyer, 10/15/2012
- Re: [Maude-help] Batch mode for Maude ?, J.Hofmann, 10/14/2012
- Message not available
- Message not available
Archive powered by MHonArc 2.6.16.