Skip to content

COMPILING PseudoStash is not implemented, not documented and not used #513

@lizmat

Description

@lizmat

In the old design the COMPILING is described at https://github.com/Raku/old-design-docs/blob/master/S02-bits.pod#the-compiling-pseudopackage

The COMPILING PseudoStash currently allows assignments at runtime:

$ raku -e 'COMPILING::<foo> = 42; dd COMPILING::<foo>'
42

There are also some TODOed tests in roast, specifically in t/spec/S04-declarations/constant.t.

There is no mention of the COMPILING PseudoStash in the ecosystem that I could find.

All in all it feels like something that turned out to not really be needed, as the Rakudo compiler has been able to all of the things that were described in the design without actually needing to implement the COMPILING PseudoStash.

Feels to me that all references to COMPILING as a PseudoStash can be removed from Rakudo and roast.

Metadata

Metadata

Assignees

No one assigned

    Labels

    languageChanges to the Raku Programming Language

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions