Skip to content
/ sc Public

sc is a code generation tool based on state charts

Notifications You must be signed in to change notification settings

SoenkeD/sc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SC - State Chart

State Chart is a tool that generates application code based on state charts to help solving complex tasks. Using state charts in programming has many advantages. Some of the most important are:

  • Easier to understand & serves as a communication basis
  • Decouple overall behavior from components
  • Scales good with increasing complexity
  • Supports documenting without additional effort

To get more information about state charts (in programming) or read about the concept of SC, consider visiting statechart.dev, which contains a nice collection of information and explanations regarding this topic.

Install sc

The build-in version check and update capabilities require a build flag to be set. Consider removing an existing version before by running rm ~/go/bin/sc. To do this there are currently two options:

  1. Automatic
  • Install from Github go install github.com/SoenkeD/sc@main
  • Update it to set the build flag sc version --update
  1. Manual

Get Started

  1. Install the sc tool from GitHub (see above)

  2. (optional) Read the documentation

  3. Decide on a language on following the the available guides and examples

Releases

No releases published

Packages

No packages published