aterm-0.1.0.2: serialisation for Haskell values with sharing support

Copyright(c) Klaus Luettich C.Maeder Uni Bremen 2002-2005
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilitynon-portable (imports ATerm.AbstractSyntax)
Safe HaskellNone
LanguageHaskell98

ATerm.ReadWrite

Contents

Description

convert ATermTables (created by toATermTable) from Strings and to SDocs as shared (TAF format) or unshared (AT format). Indices (following hash marks) are base64 encoded.

Synopsis

read shared or unshared ATerms

readATerm :: String -> ATermTable Source #

create an ATerm table from an input string. Shared or unshared ATerms can be read. A string for shared ATerms usually starts with an exclamation mark and contains many hash marks indicating references. Unshared ATerms are plain constructor terms.

writing out shared ATerms (use these functions for serialization)

writing out unshared ATerms (just for compatibility purposes)

support different renderings via SDoc