StateML (@StateML_org) profile picture

A language for modeling event-driven behavior

Earth
Joined September 2021
Photo by StateML (@StateML_org)Photo by StateML (@StateML_org)Photo by StateML (@StateML_org)Photo by StateML (@StateML_org)
Excited to announce the current plan for StateML!
7
18
5
215
I think part of the challenge comes from the fact that a State Machine (SM) is simpler than a Turing Complete Machine (TCM). Using an SM inside a TCM (eg a UI Component) requires reasoning about both machines and the boundary between them at the same time.
To be clear, people can and do successfully use state machines to build their UIs, but its not necessarily obvious or clear how to do so. Especially when moving beyond isolated machines to orchestrating machines together
1
2
3
1,651
“Our north stars for the StateML language” by @johnyanarella stateml.org/garden/north-sta…
1
2
Happy New Year! 🎉 It's been a year focused on language research and design, and all the rabbit holes we found along the way. After many iterations, we are now finalizing the StateML grammar and core tooling.
1
4
11
Early this coming year, we are looking forward to sharing a formal specification, building out our tooling for multiple host languages, and opening up our codebase to the statechart community. 😄
1
9
Happy to announce a digital garden/blog for StateML! 🎉 stateml.org/garden We haven't publicized many details about our vision and what we are building so far so we are excited to reach a point where we want to start sharing more! 😄
4
1
12
For those interested in the technical aspects, we used #vitepress and @tailwindcss to quickly scaffold a static website that outputs only HTML and CSS. Nothing to special going on here (as it should be 😜). github.com/StateML/stateml.g…
1
2
In the future we would love to open this digital garden up to the community, but we have a little more work to do before we get there! 🙂
The landing page for stateml.org is live! 🙌
2
10
StateML! It's a new language. The core reference tooling is written in Typescript. But we're also working on Swift and Golang tooling too. And there's no limitation to what languages it can be used with.
1
1
6
A big part of the language design we worked on is how to enable the language to be extended without permission from us. We want to support the variations we see across libraries and languages, without requiring future changes to the language.
1
1
3
I’m really excited with where we have got to, and are going with this! 🚀 Every single word and character in the language has been dissected with @johnyanarella, @chrisshank23, and me. All the parts that made it through and into the language have a very good reason to be there.
Excited to announce the current plan for StateML!
2
1
5
Before the initial announcement we will also be working on building out additional tooling (please note these are all tenative): - Interpreters for JS/TS, Swift and Go - Exports for xstate, SCXML, ASL, ect. - Support for build tools like rollup/vite, ect.
1
15
Iterating on some logos 🧑‍🎨
1
7
Arrived to some general consensus!
In some lengthy @StateML_org language design discussions @chrisshank23, @johnyanarella and I have been getting very close to a final specification. In addition to targeting XState, Golang and others, Amazon States Language is a really interesting target.
This post is from an account that no longer exists. Learn more
1
5
A great listen! With some welcome challenges for lovers of statecharts: Is JSON really the best we can do as a DSL for building statecharts? How do we build a better story for composing statecharts together?
🆕 Latest podcast is with @threepointone! youtube.com/watch?v=H3h1WICe… We discuss: - @Reactjs vs @Temporalio - @statelyai State Charts - React Streaming SSR - ESBuild vs swc - Figma vs Canva - Gatsby vs Next.js - React Server Components & @Shopify Hydrogen - Notion's 9MB JS website
1
2
22