Specify recipe element names #68
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Source code is trivial here. I just want to lock down the string values for what we're naming these things. I.e. when we have a recipe entry in some JSON file or whatever and it says
type: ...what appears on the other side?For the logical elements, I'm super comfortable just labelling them based on their operative name for, while-do, try-except[0-n]-finally, and if-elif[0-n]-then[+0-n]-else.
The main sticking points then are the atomic nodes and the subgraph nodes. I'm trying to avoid the term "node" here, because IMO all these are representable as a "node" -- including subgraphs! That's the whole point of allowing nestable and hierarchical graphs.
I don't want to spend ages agonizing over this, but I at least want to spend a hot second getting something several of us can live with.
Alternatives I'm fine with and can think of: