Skip to content

fix: hex support on 2025.1#1730

Merged
sergej-koscejev merged 5 commits intomaintenance/mps20251from
bugfix/hexadecimal
Apr 13, 2026
Merged

fix: hex support on 2025.1#1730
sergej-koscejev merged 5 commits intomaintenance/mps20251from
bugfix/hexadecimal

Conversation

@sergej-koscejev
Copy link
Copy Markdown
Member

Fixes #1715.

Introduce a new language for replacing model accessors in property cells.

Also a few minor build tweaks.

The new version contains editor test lifecycle annotations.
Add a language, org.iets3.internal.modelaccessor, containing
a NodeAttribute to override the model accessor of
an EditorCell_Property or SplittableCell.

To be used instead of setting a final field with reflection.
Change hex-capable editors to use the new modelaccessor language instead
of reflection.

Fixes #1715
@arimer
Copy link
Copy Markdown
Member

arimer commented Apr 13, 2026

Looking into it now.

@arimer
Copy link
Copy Markdown
Member

arimer commented Apr 13, 2026

Do you think it makes sense to move the new language to the ‘mps-extensions’ ?

Copy link
Copy Markdown
Member

@arimer arimer left a comment

Choose a reason for hiding this comment

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

Changes look good. Thanks for adding the additional editor tests and cleaning up the build 👍🏼

@sergej-koscejev
Copy link
Copy Markdown
Member Author

Do you think it makes sense to move the new language to the ‘mps-extensions’ ?

I thought about this but decided against it because overriding property accessors is only necessary for the current design of IETS3 hex literals and doesn't feel like an approach that we should encourage other projects to follow.

@sergej-koscejev sergej-koscejev merged commit 8cae8fb into maintenance/mps20251 Apr 13, 2026
2 checks passed
@sergej-koscejev sergej-koscejev deleted the bugfix/hexadecimal branch April 13, 2026 10: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