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

gong AST : add marshalling / unmarshalling of the stage as a package #345

Open
thomaspeugeot opened this issue Jun 9, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@thomaspeugeot
Copy link
Contributor

Situation:

In modelling activities with gongdoc, the abstract part of the model is the
go code of the model and the concrete part is a function whose purposes is to instantiates shapes.
The shapes refers to abstract objects via the doclink syntax that points to go identifiers.

If we want to extend modelling to other meta model, one either continue to persist the abstract part
as go code (which is possible according to the SySML spec 2.5.1 "semantic conformance" §2 Conformance and §6.3)

Alternative:

suppose we escape the semantic conformance requirement in the model, then one have to produce something that can
be referenced from the concrete syntax. In this case, doclink is not possible anymore to point to go identifiers
since they are not go identifiers anymore (no go code).

A solution would be to persist the stage as a package.

@thomaspeugeot thomaspeugeot self-assigned this Jun 9, 2023
@thomaspeugeot thomaspeugeot added the enhancement New feature or request label Sep 30, 2023
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

No branches or pull requests

1 participant