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

Parsing with Imports and Standard Library #1

Open
EthanJamesLew opened this issue Oct 8, 2024 · 0 comments
Open

Parsing with Imports and Standard Library #1

EthanJamesLew opened this issue Oct 8, 2024 · 0 comments

Comments

@EthanJamesLew
Copy link

EthanJamesLew commented Oct 8, 2024

Hello MontiCore Team,

Thank you for the parser and validation. Currently, I cannot get sysml v2 that has imports to pass validation

package MyLibrary {
    import ScalarValues::*;

    package SubPackage {
        part def PartName {
            attribute a:Integer;
            attribute b:Integer;
        }
    }
}

results in

[WARN]  Defining symbol for Integer was not set.
[WARN]  Defining symbol for Integer was not set.
  • can the parser resolve imports and check for the symbols?
  • can I get the parser to use the standard library?

Thanks!

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

No branches or pull requests

1 participant