Skip to content

Check Apollo models with additional CoCos#152

Draft
linggd wants to merge 2 commits into
release/7.8.xfrom
ln/apollo-check-additional-coco
Draft

Check Apollo models with additional CoCos#152
linggd wants to merge 2 commits into
release/7.8.xfrom
ln/apollo-check-additional-coco

Conversation

@linggd

@linggd linggd commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

The Apollo-11 models can already be parsed(#146) . The symbol resolution and CoCos are adapted so that the models also pass the CoCos.

1/5 errors exposed by the CoCos:

0xFF005 — adapted : Valid quoted SysML names containing spaces, dots, or hyphens, such as 'Roger B. Chaffee', were previously rejected by the Isabelle name validation and caused this error. The validation was extended to accept these names.

Changelog

Changed

  • Adapted the Isabelle name compatibility check to allow valid SysML names containing spaces, dots, and hyphens.

@linggd linggd marked this pull request as ready for review June 19, 2026 19:46
@linggd linggd changed the title Ln/apollo check additional coco Check Apollo models with additional CoCos Jun 19, 2026
if(!name.matches("^(?!0-9)[a-zA-Z0-9_]+$") && !name.isEmpty()) {
// Names must start with a letter or underscore.
// Subsequent characters may also include digits, spaces, dots, and hyphens.
// Names like 'Roger B. Chaffee' , 'F-1', 'SA-500F' can be accepted.

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.

Image

Siehe auch https://git.rwth-aachen.de/monticore/languages/sysml2/sysml2official/-/work_items/52

Ich denke die korrekte Lösung ein Encoding der Namen im Transformer ist. Vorschlag:

<ASCII letters/digits> --> identisch

_ (Underscore)             --> __ (double Underscore)

Unicode U+XXXX        --> _uXXXX_

Dieser PR kann nicht gemerged werden, bitte mit anderen CoCos weitermachen.
Danach hier: https://git.rwth-aachen.de/montibelle/frontend/transformer/sysmltransformer/-/work_items/320

@mathias-pfeiffer mathias-pfeiffer marked this pull request as draft June 22, 2026 07:44
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.

2 participants