Conversation
PURL-TYPES.rst
Outdated
|
|
||
| - ``compiler``: for toolchains that implement a language standard. | ||
|
|
||
| - The ``name`` must correspond to the identifier of the language. Common examples |
There was a problem hiding this comment.
i can already imagine the purl-community fighting over well-known "names".
too much ambiguity.
lets say, i want to have a PURL that fits to all java runtime environments that are compatible with java 17. what would be my PURL?
is it java? is it JRE? uppercase/lowercase?
what about c++? why is the example using cxx? why not cpp? or even c%2B%2B?
There was a problem hiding this comment.
The language is Java, so I'd use pkg:abstract/compiler/java@17. I'm using cxx because cpp is C Pre Processor, and to save the + encoding. Other than that, it's just one possible proposal.
What's the suggestion here, to provide a table of languages? Or a general rule to create the name with a couple of exceptions? (e.g. lowercase with underscores for spaces, must be in the TIOBE index).
There was a problem hiding this comment.
still to early to think about this, i dont think all real-world requirements were considered/met, yet.
Co-authored-by: Jan Kowalleck <jan.kowalleck@gmail.com>
|
what about language compiler-plugins and extensions? |
|
In the case of PHP, are those really "virtual"? I'm not too familiar with the ecosystem, but they feel like a concrete set of packages needed by the php interpreter, so they should not be expressed using the proposed type in this PR. |
These are actual virtual packages, just asbthe language compilers/interpreters/implementation. |
|
I see, thank for the details. I guess something along the lines of |
|
These are questions that should be discussed in the ticket, not in a proposed solution ;) |
Closes #222.