CSPM-ToProlog-0.5.2.0: some modules specific for the ProB tool

Copyright(c) Fontaine 2010 - 2011
LicenseBSD3
Maintainerfontaine@cs.uni-duesseldorf.de
Stabilityexperimental
PortabilityGHC-only
Safe HaskellNone
LanguageHaskell2010

Language.CSPM.TranslateToProlog

Description

Translate a CSPM-specification to Prolog. This is the interface used by Prolog

Synopsis

Documentation

toPrologVersion :: Version Source

The version of the CSPM-ToProlog library

translateToProlog Source

Arguments

:: FilePath

filename input

-> FilePath

filename output

-> IO () 

translateToProlog reads a CSPM specification from inFile and writes the Prolog representation to outFile. It handles all lexer and parser errors and catches all exceptions.