Skip to content

TEMP phaser is not really implemented, but not a syntax error either #511

@lizmat

Description

@lizmat

After some spelunking, it appears that the TEMP phaser (as described in S06 - Temporization) was never implemented.

It looks like rakudo/rakudo@973df80cfad07b68da9 in May 2012 was the last real work in that area, and nothing happened after that. However, the TEMP phaser is valid syntax at the moment:

$ raku -e 'TEMP say "temp"'

parses ok, but there is no way to actually get that TEMP phaser to execute.

The fact that nobody has felt the need to actually implement it since then, indicates to me that it is not needed. The temp / let / KEEP phaser / UNDO phaser provide all of the possibilities that are needed.

Removal would be simple. However, there are a few TODO'd roast tests that would need to be changed as well.

So the proposal is to do just that: remove the TODO'd roast tests, and make TEMP say "temp" an error (possibly NYI, or perhaps a DEPRECATED message?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    languageChanges to the Raku Programming Language

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions