Package org.clafer.cli
package org.clafer.cli
This package provides the command-line interface of clafersg, the Clafer
solution generator (formerly chocosolver): the main class of
clafersg.jar.
It reads a model (.cfr, explicit or not, or a .js file),
compiling a .cfr model with the Java frontend or, for a
[choco| |] escape or with --haskell-frontend, with the
Clafer compiler. A static model is solved with Choco, in batch mode, with
validation (-v) or in the REPL (--repl); a temporal model is
solved with Alloy 6, as claferIG solves it.
-
ClassDescriptionA model that cannot be read.clafersg's REPL for a static model: the Choco backend of the one solution loop (
Repl), with clafersg's commands and messages, and the instances as chocosolver prints them.