Skip to content

Parsing with Imports and Standard Library #1

@EthanJamesLew

Description

@EthanJamesLew

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions