carl2 / elm-sml Goto Github PK
View Code? Open in Web Editor NEWMake Sml(c++) based on some
License: MIT License
Make Sml(c++) based on some
License: MIT License
Use the newModel instead of List (List String)
For some reason Elm and Prism is not playing nice with each other .
Other option might be
Highlight
Haven't spent much time looking into it .. But it would be nice to have
Make it go down instead of right all the time.
There need to be a main first.
Here is a good tutorial
Link
At the moment , this is created.
constexpr static auto X = sml::state<class X>;
Though X is defined inside sml as a end state, so it needs to be recognised.
Should be possible to extend this, or even reduce
Events could be added to another code section.
Events also needs to be unique
It would be nice to have something that created a small main.
Just to make it clear how to construct a Machine object.
For example each state could be made constexpr, this example shows Init .
struct StateMachine {
constexpr static auto Init = sml::state<class Init>;
.
.
.
auto operator()() const {
.....}
};
Right now it only shows the action.
it should show [on_entry|on_exit] / action
But this might go into a larger remake of the PlantUml file.
These are available
Create a plantuml picture
see Plantuml
for example
Breaking up the attributes with a new line makes it look better.
ev [not doingverymuch] / verylongactiontodosomething
ev [not doingverymuch]
/ verylongactiontodosomething
Set on entry to a state and on exit.
Not sure how this would be added...
State2 + sml::on_exit<_> / on_s2_exit
What would be the best way to add support for this?
It could be that if the name of the event is on_exit then this would it changes it to sml::on_exit<_>
or something
Then guard and end state should be grayed out.
Use model and create a plantuml string .
This string can later be send to the server side for an image.
It should be possible to set the name of the statemachine
For the timebeing its:
struct StateMachine
{
But StateMachine should be changable..
Need to add headers to the table
Add guards and action prototypes.
It would be nice to have some nicer UI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.