Comments (6)
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.
FYI, I'm reworking the docs, if you want to check the new README and tutorial.
substitute()
page is coming soon.
from hfsm.
FYI, the link to the example in the tutorial is currently broken.
from hfsm.
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.
from hfsm.
All existing docs were moved to Wiki, more is coming, see sidebar for the planned list of topics.
from hfsm.
Related Issues (12)
- Update documentation to remove Time HOT 1
- Can't use it on the x86 platform HOT 1
- More Complete Examples HOT 6
- Single-File Release version of header? HOT 6
- Compile Error with Logging Enabled HOT 2
- assert failure when running tests HOT 17
- Question about substitute() method HOT 5
- wideForwardRequest fails to build in release mode HOT 1
- Add ability to save current state as .dot file (or similar) HOT 1
- Support passing action data to States HOT 11
- Exception handling from react() methods HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hfsm.