package lambdapi
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
sha256=1066aed2618fd8e6a400c5147dbf55ea977ce8d3fe2e518ac6785c6775a1b8be
    
    
  sha512=f7f499626aba92e070ae69581299a58525973fdbfd04a160ed3ac89209fb6cbe307b816d0b23e1b75bc83467ce8b4b0530c6f9816eaf58f7a07fde65a450106c
    
    
  doc/lambdapi.tool/Tool/External/index.html
Module Tool.ExternalSource
Provides a function for calling external checkers using a Unix command.
run prop pp cmd sign runs the external checker given by the Unix command cmd on the signature sign. The signature is processed and written to a Unix pipe using the formatter pp, and the produced output is fed to the command on its standard output. The return value is Some true in case of a successful check, Some false in the case of a failed check, and None if the external tool cannot conclude. Note that the command cmd should write either "YES", "NO" or "MAYBE" as its first line of (standard) output. The exception Fatal may be raised if cmd exhibits a different behavior. The name prop is used to refer to the checked property when an error message is displayed.
NOTE that for any given property being checked, the simplest possible valid command is "echo MAYBE". Moreover, "cat > file; echo MAYBE" can conveniently be used to write generated data to the file "file". This is useful for debugging purposes.