Comments (6)
closing here because you're chatting there
from jssm.
One of the solutions could be something like this one:
State_A ['action_a', 'action_b'] -> State_B;
from jssm.
Because there's a whole bunch of tools, we use the issue tracker on the fsl repo.
This is tracked as StoneCypher/fsl#325
If I'm mistaken and this is different, do me a favor and open an issue over there explaining why it isn't 325
Close this issue if/when you agree that this is 325
from jssm.
Anyway as it stands right now, FSL disallows multiple edges between two states. The easiest workaround is to have a landing state to catch them and to carry on from there.
I'll prioritize automatic successor states so that this won't impact you much
from jssm.
Yeah, to make it more semantic, I've implemented 'auto' action, so that SM factory will automatically process it and move to the next state.
Like so:
a 'do' -> b;
a 'dotoo' -> c 'auto' -> b;
Or even so:
a 'do' -> a;
a 'dotoo' -> b 'auto' -> a;
But again, I guess having multiple actions would make code much more clean.
from jssm.
I agree that this is a desirable thing
The reason I'm dragging my heels is that a huge portion of the codebase is written with the assumption that you can ask the machine for the edge between a
and b
, and get an unambiguous answer
To do this would break that, which is a massive breaking change and also would mean a whole bunch of stuff would need to move to being container based, which would probably slow things down by an order of ten
I have kicked around the idea of saying "it'll return the main path and only main path has this restriction" but that still breaks older machines written without main paths
I'm still thinking over what I think is the right thing to do here
Would you be okay with my closing this, and talking on StoneCypher/fsl#325 instead, please? There are ~30 repos and it's hard to keep track of things if they're not all in the same place
from jssm.
Related Issues (20)
- domain for editor HOT 1
- editor dies when high unicode like ✅ is used HOT 1
- Does this need a video series? HOT 3
- get a mention HOT 1
- Request: Improvement to README HOT 6
- Publish the next NPM version HOT 3
- NodeJS approach to producing SVGs HOT 7
- fsl to svg cli HOT 4
- Link SVG stuff from site; make youtube HOT 1
- Github action for graphing HOT 1
- reassert videos on site HOT 1
- Gh actions viz build HOT 1
- Events HOT 6
- Todo list (v3) HOT 1
- TypeScript type declarations file HOT 11
- Huge package HOT 24
- Parse the JSSM format HOT 4
- Do a full rescan of repo HOT 1
- Saving/restoring machine state between runs HOT 7
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 jssm.