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

Import from Lionweb models not exported from Kolasu #67

Merged
merged 3 commits into from
May 14, 2024

Conversation

alessiostalla
Copy link
Member

This fixes #66

// TODO we assume that:
// 1) we're importing a StarLasu AST
// 2) containments in a StarLasu AST are either AST nodes or internal StarLasu objects like the position
// TODO is it possible in Lionweb to have a Containment that's not a concept?
Copy link
Member

Choose a reason for hiding this comment

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

Yes: it could be a ConceptInterface

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, it makes sense to support that as well.

@ftomassetti
Copy link
Member

I am not sure I understand the code, but I cannot find anything obviously wrong with it.

Maybe adding a test would make the resolution more obvious, but I would not block this PR because of that.

@alessiostalla
Copy link
Member Author

I've kept the existing tests and they still pass. I've manually modified the FS language so that no concept inherits from ASTNode, that should be sufficient to verify we can actually handle those languages.

@alessiostalla alessiostalla merged commit 366e7f7 into master May 14, 2024
2 checks passed
@alessiostalla alessiostalla deleted the fix/lionweb-import branch May 14, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with LionWeb interoperability
2 participants