tamarin-prover-term-1.2.2: Term manipulation library for the tamarin prover.

Copyright(c) 2010 2011 Benedikt Schmidt
LicenseGPL v3 (see LICENSE)
MaintainerBenedikt Schmidt <beschmi@gmail.com>
Safe HaskellNone
LanguageHaskell98

Term.Maude.Parser

Contents

Description

Pretty printing and parsing of Maude terms and replies.

Synopsis

pretty printing of terms for Maude

ppMaude :: Term MaudeLit -> ByteString #

ppMaude t pretty prints the term t for Maude.

ppTheory :: MaudeSig -> ByteString #

The term algebra and rewriting rules as a functional module in Maude.

parsing of Maude replies

parseUnifyReply :: MaudeSig -> ByteString -> Either String [MSubst] #

parseUnifyReply reply takes a reply to a unification query returned by Maude and extracts the unifiers.

parseMatchReply :: MaudeSig -> ByteString -> Either String [MSubst] #

parseMatchReply reply takes a reply to a match query returned by Maude and extracts the unifiers.

parseReduceReply :: MaudeSig -> ByteString -> Either String MTerm #

parseReduceReply l parses a single solution returned by Maude.