Skip to content
/ smv Public

An OCaml library for processing SMV (NuSMV/nuXmv) files

Notifications You must be signed in to change notification settings

VUISIS/smv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Smvlib - An Ocaml library for parsing/writing SMV files

This library contains an AST for the SMV model checking language used by NuSMV and nuXmv. It can parse SMV files and also generate them.

To parse a file, use Smv_io.parse_smv, like:

Smv_io.parse_smv "myfile.smv"

The parse_smv function returns a value of type Smv.Program.

To write a value of type Smv.Program use Smv_io.write_smv:

Smv.io.write_smv "outfile.smv" some_program

This would essentially make a copy of an SMV file, with possible differences in whitespace and parentheses in expressions:

Smv_io.write_smv "outfile.smv" (Smv_io.parse_smv "infile.smv")

About

An OCaml library for processing SMV (NuSMV/nuXmv) files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published