StateML (@stateml_org) 's Twitter Profile
StateML

@stateml_org

A language for modeling event-driven behavior

ID: 1435245955058601986

linkhttps://stateml.org calendar_today07-09-2021 14:18:33

34 Tweet

546 Followers

5 Following

๐•ฎ (@chrisshank23) 's Twitter Profile Photo

Francois Laberge โœ๏ธ Steve Ruiz tldraw GitHub This is something we are exploring with StateML (but we haven't mentioned in public yet). The DSL is designed to *approach* a 1:1 mapping with the visual formalism of statecharts. A `.sml` file can simultaneously be viewed/edited as text and visualized as a graph.

๐•ฎ (@chrisshank23) 's Twitter Profile Photo

One example that I am working on right now is a web component for an embeddable StateML visualizer. If JavaScript is disabled or fails to load, the browser will fallback to rendering the semantic HTML in the slot.

One example that I am working on right now is a web component for an embeddable <a href="/StateML_org/">StateML</a> visualizer. If JavaScript is disabled or fails to load, the browser will fallback to rendering the semantic HTML in the slot.
๐•ฎ (@chrisshank23) 's Twitter Profile Photo

Part of our long-term vision for StateML is helping state machines and statecharts become *infrastructural* and a good starting point is improving learnability of these topics.

๐•ฎ (@chrisshank23) 's Twitter Profile Photo

I cant express how important it has been to have a north star while designing StateML. Many times we go down a rabbit hole or feel stuck we ask ourselves โ€œwhat does the visual formalism (of statecharts) reveal?โ€ and every time it has helped get us move forward. ๐Ÿ™

๐•ฎ (@chrisshank23) 's Twitter Profile Photo

I love the vision Andrew laid out here! One of the early thought experiments we had for StateML is envisioning what it could look like if a dedicated language for statecharts existed in the browser.

๐•ฎ (@chrisshank23) 's Twitter Profile Photo

Let's compare the "noise" of that different textual formats impose on authoring statecharts, particularly JSON, SCXML, and StateML's DSL. Here is a comparison between JSON and StateML:

๐•ฎ (@chrisshank23) 's Twitter Profile Photo

The beginning of 2023 marks the 50 year anniversary of when Harel conceptualized the statechart formalism. ๐ŸŽ‰ I hope that we can reflect on this milestone by learning more about itโ€™s rich history and gaining a deeper appreciation for all of the prior art. ๐ŸŽจ

The beginning of 2023 marks the 50 year anniversary of when Harel conceptualized the statechart formalism. ๐ŸŽ‰

I hope that we can reflect on this milestone by learning more about itโ€™s rich history and gaining a deeper appreciation for all of the prior art. ๐ŸŽจ
๐•ฎ (@chrisshank23) 's Twitter Profile Photo

Love this exploration of using color to shrink the distance between modalities! Been exploring similar topics with statecharts via StateML.

Love this exploration of using color to shrink the distance between modalities! Been exploring similar topics with statecharts via <a href="/StateML_org/">StateML</a>.
Owen Kelly (@ojkelly) 's Twitter Profile Photo

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.

๐•ฎ (@chrisshank23) 's Twitter Profile Photo

Added View Transition API to a POC of a potential StateML visualizer! Took 10 LOC to add, a little polish on the animations would make this legit.