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

Change builtins language name? #195

Closed
enikao opened this issue Oct 12, 2023 · 5 comments
Closed

Change builtins language name? #195

enikao opened this issue Oct 12, 2023 · 5 comments

Comments

@enikao
Copy link
Contributor

enikao commented Oct 12, 2023

(from Jos' thread)

Is there a reason why we have as key LionCore-builtins and as id Lioncore.builtins for the builtins language (similar for LionCore-M3/.M3)?
It's useful to have different name and key to not mix them up.

But I was hoping to get rid of the dot, as the language name can be part of a qualified name and often these are represented with dots between the names.
According to the metametamodel :

A IKeyed’s name MUST be unique within the namespace (i.e. Language, Classifier, or Enumeration). The name MUST be a valid programming language identifier.

As Language is an IKeyed, I think that the name of a language should be a valid identifier and not contain a dot.

@enikao enikao added the M3 label Oct 12, 2023
@enikao
Copy link
Contributor Author

enikao commented Oct 16, 2023

Decision on 2023-10-12: Rename builtin languages to LionCore_M3, LionCore_builtins.

Rationale:

@dslmeinte
Copy link
Contributor

LionCore_M3 or really Core_M3?

@enikao
Copy link
Contributor Author

enikao commented Oct 16, 2023

LionCore_M3 or really Core_M3?

You're right, typo. I edited my comment.

@enikao
Copy link
Contributor Author

enikao commented Oct 16, 2023

We do not rename builtins to stdlib or similar, as there might be a "standard library" for the host programming language, the DSL itself, or the runtime environment of the DSL. Thus, builtins is more distinctive.

@joswarmer
Copy link
Contributor

Should close this

@enikao enikao closed this as completed Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants