https://github.com/ashwanthkumar/asl-scala
Amazon States Language Parser in Scala - https://states-language.net/spec.html
https://github.com/ashwanthkumar/asl-scala
Last synced: about 1 year ago
JSON representation
Amazon States Language Parser in Scala - https://states-language.net/spec.html
- Host: GitHub
- URL: https://github.com/ashwanthkumar/asl-scala
- Owner: ashwanthkumar
- Created: 2020-05-28T09:41:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-02T08:26:02.000Z (about 6 years ago)
- Last Synced: 2025-05-17T20:36:40.158Z (about 1 year ago)
- Language: Scala
- Size: 81.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/ashwanthkumar/asl-scala)
# asl-scala
Scala parser for [Amazon States Language](https://states-language.net/spec.html). 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: [](https://maven-badges.herokuapp.com/maven-central/in.ashwanthkumar/asl-scala_2.12)
```scala
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
- [x] Pass
- [x] Task
- [x] Choice
- [x] Fail
- [ ] Wait
- [x] Succeed
- [ ] Parallel
- [ ] Map
## License
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0