Skip to content

max-leuthaeuser/SCROLLGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCROLLGen

Code generation from CROM models to the SCala ROLes Language.

Usage:

SCROLLGen
 Usage: java -jar SCROLLGen.jar --in <file> --out <path>

 --in <file>
   The .ecore model that should be used for code generation

 --out <folder-path>
   The path to the folder where the generated .scala file should be located at

 --caseClass [true/false]
   Set this to true if you want all natural, player, role and compartment  classes generated as case classes (default: false)

To get the jar run sbt core/assembly which stores it in core/target/scala-x.yz/.

Supported features (correct generation of):

  • Data-Types
  • Natural-Types
  • Role-Types
  • Compartment-Types
  • Fulfillments
  • Relationsships
  • Role-Constraints (Riehle)
  • Role-Groups