| Copyright | (c) Fontaine Dobrikov 2011 |
|---|---|
| License | BSD3 |
| Maintainer | fontaine@cs.uni-duesseldorf.de |
| Stability | experimental |
| Portability | GHC-only |
| Safe Haskell | None |
| Language | Haskell2010 |
Language.CSPM.CompileAstToProlog
Description
Translation of an AST into Prolog terms, suitable for the ProB CSPM-Interpreter
- cspToProlog :: ModuleFromRenaming -> Doc
- mkSymbolTable :: AstAnnotation UniqueIdent -> Doc
- mkSrcLoc :: SrcLoc -> Term
Documentation
Arguments
| :: ModuleFromRenaming | the renamed Module |
| -> Doc | prolog facts |
mkSymbolTable :: AstAnnotation UniqueIdent -> Doc Source #
Translate a AstAnnotation with UnqiueIdentifier (i.e. a Symboltable) into a Doc containing Prolog facts