Skip to content

Commit e4461ed

Browse files
committed
Simplify versioning
1 parent 1c2ece9 commit e4461ed

File tree

1 file changed

+5
-24
lines changed

1 file changed

+5
-24
lines changed

PATH-TO-RAKU.md

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,11 @@ to be discussed further.
2323

2424
## Versioning
2525

26-
The approach for using letters to indicate language versions will be continued
27-
but without the mention of `6`. And uppercase letters will be used, because
28-
mentioning `Raku D` looks much better then mentioning `Raku d`.
29-
30-
The `use` statement is historically used to indicate the version of the
31-
compilation unit. Since direct code compatibility with Perl 5 is no longer
32-
on the horizon, it seems like a good opportunity to remove any ambiguity
33-
from the `use` statement by moving that functionality to the `unit` statement.
34-
35-
unit :ver<D>; # same as "use v6.d;"
36-
unit :lang<Perl5>:ver<30>; # if we have direct support for Perl 5.30
37-
38-
Some kind of API should be conceived to actually hand the rest of the code
39-
of the compilation unit to another interpreter, so that the above :lang<Perl5>
40-
case could possibly be handled by `Inline::Perl5`. And allow support for
41-
other languages, e.g. `:lang<Python>` to be handed over to `Inline::Python`.
42-
43-
Also, this would allow to specify compiler versions as well, although that
44-
might be a compiler specific feature:
45-
46-
unit :release<2019.07>; # release 2019.07 or higher
47-
48-
Compilers would be free to either ignore additional named parameters, or
49-
warn about named parameters they do not understand.
26+
Because the next language release (6.e) will not coincide with
27+
the rename, no changes to versioning of the language need to be done.
28+
Given we are no longer forced to have "6" in the version, there are now
29+
more options to do language versioning properly, and this aspect will
30+
need to be discussed separately.
5031

5132
## Documentation changes
5233

0 commit comments

Comments
 (0)