Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.61 KB

readme.md

File metadata and controls

40 lines (33 loc) · 1.61 KB

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