Git Product home page Git Product logo

Comments (6)

andrew-gresyk avatar andrew-gresyk commented on June 9, 2024

OK, I'll add more detailed tutorial, together with examples it should help.
Substitute, injections aren't covered in readme, they deserve dedicated pages.

from hfsm.

andrew-gresyk avatar andrew-gresyk commented on June 9, 2024

FYI, I'm reworking the docs, if you want to check the new README and tutorial.
substitute() page is coming soon.

from hfsm.

bryceschober avatar bryceschober commented on June 9, 2024

FYI, the link to the example in the tutorial is currently broken.

from hfsm.

bryceschober avatar bryceschober commented on June 9, 2024

Some feedback on the design this time, after reading through the tutorial and example and actually mostly understanding it this time:

I found myself wishing that the state types were more explicit as I read through their definitions. It seems that most states would be designed to always fit into the same kind of slot in the hierarchy, and it would be helpful if their declarations were more explicit.

If a state is destined to be the head or a non-head sub-state, then it would be helpful to declare it as such, and it would enable compile-time checking of the eventual state machine construction. Same goes for differentiation between region types: if a state is destined for a composite vs. an orthogonal region, then it would be helpful to declare it as such and check the construction at compile time.

Even if the implementation of the state is identical, they could still be "strong types" that are "tagged" for more readably and verifiably different uses.

from hfsm.

andrew-gresyk avatar andrew-gresyk commented on June 9, 2024

from hfsm.

andrew-gresyk avatar andrew-gresyk commented on June 9, 2024

All existing docs were moved to Wiki, more is coming, see sidebar for the planned list of topics.

from hfsm.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.