Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement CORE::<lang-rev> pseudo-packages
Extend `CORE` with second-level packages representing individual cores for specific language revisions. I.e, `CORE::C` is for `CORE.setting` or, correspondingly, for 6.c language. `CORE::D`, `CORE::E`, and so on. New letters become available as soon as a `CORE` context with `CORE-SETTING-REV` symbol becomes available. Each subpackage has `PRECISE_SCOPE`. Thus, `CORE::D::Any` will fail because `Any` is not defined in `CORE.d.setting`. Raku/problem-solving#80
- Loading branch information
Showing
5 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use nqp; | ||
|
||
# This constant is only to support tests. | ||
# This constant must specify current CORE revision | ||
my constant CORE-SETTING-REV = 'd'; | ||
|
||
# vim: ft=perl6 expandtab sw=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
use nqp; | ||
|
||
# This constant is only to support tests. | ||
# This constant must specify current CORE revision | ||
my constant CORE-SETTING-REV = 'e'; | ||
|
||
# vim: ft=perl6 expandtab sw=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters