| Copyright | (c) Soeren Schulze Uni Bremen 2012 | 
|---|---|
| License | GPLv2 or higher, see LICENSE.txt | 
| Maintainer | s.schulze@uni-bremen.de | 
| Stability | provisional | 
| Portability | portable | 
| Safe Haskell | Safe | 
CommonLogic.Print_KIF
Description
Pretty Printer for KIF.  Partially based on "pretty" instances in AS_CommonLogic.
Note that the output does not perfectly match the input, as CommonLogic does
not have the concept of "free variables" (as opposed to variables bound by a
quantifier).  Thus, any free variables are converted into constants and lose
their ? prefix.  When CommonLogic code is emitted as KIF, the comments in
commented sentences and terms get lost, and modules are inlined.
Documentation
printBasicSpec :: BASIC_SPEC -> Doc Source #
printBasicItems :: BASIC_ITEMS -> Doc Source #
printTextMeta :: TEXT_META -> Doc Source #
printPhrase :: PHRASE -> Doc Source #
printQuant :: QUANT -> Doc Source #
printAndOr :: AndOr -> Doc Source #
printImplEq :: ImplEq -> Doc Source #
getQuantVarName :: NAME_OR_SEQMARK -> String Source #
printSentence :: Set String -> SENTENCE -> Doc Source #
printBoolSent :: Set String -> BOOL_SENT -> Doc Source #
printRowVar :: Token -> Doc Source #
printTermSeq :: Set String -> TERM_SEQ -> Doc Source #
printNameOrSeqMark :: Set String -> NAME_OR_SEQMARK -> Doc Source #