Giter Club home page Giter Club logo

Comments (6)

StoneCypher avatar StoneCypher commented on June 3, 2024 1

closing here because you're chatting there

from jssm.

xtovski avatar xtovski commented on June 3, 2024

One of the solutions could be something like this one:

State_A ['action_a', 'action_b'] -> State_B;

from jssm.

StoneCypher avatar StoneCypher commented on June 3, 2024

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.

StoneCypher avatar StoneCypher commented on June 3, 2024

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.

xtovski avatar xtovski commented on June 3, 2024

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.

StoneCypher avatar StoneCypher commented on June 3, 2024

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)

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.