Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator kind #1256

Open
StoneCypher opened this issue Oct 25, 2023 · 0 comments
Open

operator kind #1256

StoneCypher opened this issue Oct 25, 2023 · 0 comments

Comments

@StoneCypher
Copy link
Owner

StoneCypher commented Oct 25, 2023

In the spirit of #100, but in the more modern notational viewpoint, we could declare an operator kind similar to operator state, which allowed us to declare a set of attributes on a kind. This is basically the equals-sign notation in the old issue (let's generate less sugar.)

kind input { shape: invtrapezium; fillcolor: cyan; color: black; };
kind processor { };
kind storage { };

state WebForm { kind: input; };
state TextMessage { kind: input; };
state PhoneAgent { kind: input; };
state Email { kind: input; };

state HelpDesk { kind: processor; };
state Warehouse { kind: processor; };

state Archival { kind: storage; };

[ WebForm TextMessage PhoneAgent Email ] -> Helpdesk;

HelpDesk -> Support -> Warehouse -> Archival;
HelpDesk -> Support -> Archival;
HelpDesk -> Warehouse -> Archival;
HelpDesk -> Archival;

Blocks #1257, and most of the thinking should go there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant