ashwanthkumar / asl-scala   0.5.5

GitHub

Amazon States Language Parser in Scala - https://states-language.net/spec.html

Scala versions: 2.12 2.11

Build Status

asl-scala

Scala parser for Amazon States Language. This library should help you parse an ASL JSON and give you the entities as nice case classes with which you can work in your project.

Usage

libraryDependencies += "in.ashwanthkumar" %% "asl-scala" % aslScalaVersion

Current Version: Maven Central

import in.ashwanthkumar.asl.ASLParser
val stateMachine = ASLParser.parse("...asl in json...")
// do whatever is needed with the stateMachine

Progress

We support parsing the spec with following type of states

  • Pass
  • Task
  • Choice
  • Fail
  • Wait
  • Succeed
  • Parallel
  • Map

License

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0