Skip to content

Coordination automata#181

Open
Rorck wants to merge 31 commits intodevfrom
coordination-automata
Open

Coordination automata#181
Rorck wants to merge 31 commits intodevfrom
coordination-automata

Conversation

@Rorck
Copy link
Copy Markdown
Contributor

@Rorck Rorck commented Aug 5, 2025

PR to track the changes related to the Coordination Automata transformation


override String _serialize(NotExpression expression) '''(«super._serialize(expression)»)'''

override String _serialize(ImplyExpression expression) '''(«expression.leftOperand.serialize» => «expression.rightOperand.serialize»)'''
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grbeni grbeni self-requested a review February 3, 2026 17:49
@grbeni grbeni self-assigned this Feb 3, 2026
@grbeni grbeni added the enhancement New feature or request label Feb 3, 2026
Copy link
Copy Markdown
Contributor

@grbeni grbeni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments to address.

;

SequentialCoordinationReferenceExpression returns SequentialCoordinationReferenceExpression:
'seq' '{' instances+=ComponentInstanceReferenceExpression((',') instances+=ComponentInstanceReferenceExpression)* '}' | instances+=ComponentInstanceReferenceExpression
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the sake of unity, we may (or may not) want to revamp these keywords, e.g., seq -> sequential; we tend to use complete words like transition, state, integer...


protected def EqualityExpression createComponentScheduledEqualityExpression(VariableDeclaration scheduledCtrlVar, String name) {
val enumTypeDefinition = scheduledCtrlVar.typeDefinition as EnumerationTypeDefinition
return createEqualityExpression(scheduledCtrlVar, createEnumerationLiteralExpression(enumTypeDefinition, name))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return scheduledCtrlVar.createEqualityExpression(
        createEnumerationLiteralExpression(enumTypeDefinition, name))

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants