Skip to Content.
Sympa Menu

maude-help - Re: [Maude-help] Maude operator to flatten module imports?

maude-help AT lists.cs.illinois.edu

Subject: Maude-help mailing list

List archive

Re: [Maude-help] Maude operator to flatten module imports?


Chronological Thread 
  • From: Steven Eker <eker AT csl.sri.com>
  • To: maude-help AT peepal.cs.uiuc.edu
  • Cc: maude-help AT peepal.cs.uiuc.edu
  • Subject: Re: [Maude-help] Maude operator to flatten module imports?
  • Date: Fri, 29 May 2009 10:36:54 -0700
  • List-archive: <http://maude.cs.uiuc.edu/pipermail/maude-help>
  • List-id: Maude help list <maude-help.maude.cs.uiuc.edu>

There is not built in functionality in Core Maude. In a future release we
hope
to have meta interpreter objects that can be sent insertModule messages and
hence the whole of Core Maude rather than just the purely functional aspects
will be reflected.

Steven

On Friday 29 May 2009 00:43, Jeff Thompson wrote:
> I want to use metaReduce and supply my own module expression such as:
> fmod 'MOD2 is including 'MOD1 . sorts 'Sort2 . none none none none endfm
> I have another module expression for the included MOD1 module. But I
> don't want metaReduce to look for MOD1 in the Maude module database. I
> want to use the module expression that I dynamically created for MOD1,
> so I really need the module expression for MOD2 to be flattened with the
> included MOD1.
>
> Is there a meta-level operation to do this flattening? I basically want
> the result of upModule('MOD2, true), but without needing MOD1 and MOD2
> to already be loaded into Maude. (I imagine Full Maude does this trick
> internally but I can't find it.)
>
> Once again, thanks for the help,
> - Jeff
>
>
> _______________________________________________
> Maude-help mailing list
> Maude-help AT maude.cs.uiuc.edu
> http://maude.cs.uiuc.edu/cgi-bin/mailman/listinfo/maude-help




Archive powered by MHonArc 2.6.16.

Top of Page