object MainAsScalaParAM
Execute some abstract machines on some Scheme programs depending of some parameters.
Run with --help command line parameter to show all options: $ java -cp scala-am.jar MainAsScalaParAM --help
This main program is used to interact with Scala-Par-AM https://bitbucket.org/OPiMedia/scala-par-am/ a parallel version of this Scala-AM.
- Alphabetic
- By Inheritance
- MainAsScalaParAM
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class ParamsConfig(root: String = "", exceptsFilename: String = "", lattices: Seq[Config.Lattice.Value] = List(Config.Lattice.TypeSet), bounds: Seq[Int] = List(100), addresses: Seq[Config.Address.Value] = List(Config.Address.Classical), filenamesPattern: String = "regex:.+\\.scm", machines: Seq[Config.Machine.Value] = List(Config.Machine.AAMNS), filenamePrepare: String = "", nbRepetition: Int = 1, timeout: Option[Duration] = Some(Duration(1, "day")), headerEnabled: Boolean = true, printOldAAM: Boolean = false) extends Product with Serializable
Value Members
- val default: ParamsConfig
-
def
foreachFile[U](config: ParamsConfig): Unit
For each file described in config, for each machine, lattice from config.machines and config.lattices, apply run(lattice, bound, address, file, machine, config.timeout, config.nbRepetition, config.printOldAAM).
-
def
main(args: Array[String]): Unit
Parse command line and run
-
def
readExcepts(filename: String): Set[String]
Reads the file filename and returns set of files.
Reads the file filename and returns set of files.
The format of read filename is, for each line: [#] FILENAME [# COMMENT] Each line beginning by # is ignored.
If filename doesn't exist then return an empty set.
-
def
run(latticeValue: Config.Lattice.Value, bound: Int, addressValue: Config.Address.Value, file: Path, machineValue: Config.Machine.Value, timeout: Option[Duration], nbRepetition: Int, printOldAAM: Boolean = false): Unit
Run the machine on file with corresponding parameters.
- val scalaAMVersion: String