Skip to content

Commit

Permalink
Settle on .raku / .rakumod / .rakudoc / .rakutest
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 21, 2019
1 parent 6e7e625 commit e0185a4
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions solutions/language/PATH-TO-RAKU.md
Expand Up @@ -142,16 +142,18 @@ be symlinks. If at all technically possible, running a script using the

### Extensions

The matter of file extensions will be decided as a separate issue / PR.

Suggestions for that issue: the extension `.rk` for scripts, `.rkm` for
modules, and `.rd` for documentation (POD6) to become the defacto standards
for files containing `Raku` code or documentation. The old `.pm`, `.pm6` and
`.pod6` extensions will continue to be supported for 6.e. In 6.f, the `.pm`,
`.pm6` and `.pod6` extensions could be marked as DEPRECATED, causing a message
to be generated when the module is loaded.

On Windows, installers should add a `.rk` association alongside the `.p6`
The extension `.raku` for scripts, `.rakumod` for modules, and `.rakudoc`
for documentation (POD6) to become the defacto standards for files containing
`Raku` code or documentation. The old `.pm`, `.pm6` and `.pod6` extensions
will continue to be supported for 6.e. In 6.f, the `.pm`, `.pm6` and `.pod6`
extensions could be marked as DEPRECATED, causing a message to be generated
when the module is loaded.

For testing, the extension `.rakutest` should be used, while the old `.t`
extension will continue to be supported for 6.e, with deprecation messages
appearing drom 6.f onward.

On Windows, installers should add a `.raku` association alongside the `.p6`
association for the time being. Around the time of 6.f, a `.p6` association
could be deselected by default, and perhaps dropped entirely by 6.g.

Expand Down

0 comments on commit e0185a4

Please sign in to comment.