Skip to content

Commit e0185a4

Browse files
committed
Settle on .raku / .rakumod / .rakudoc / .rakutest
1 parent 6e7e625 commit e0185a4

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

solutions/language/PATH-TO-RAKU.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,18 @@ be symlinks. If at all technically possible, running a script using the
142142

143143
### Extensions
144144

145-
The matter of file extensions will be decided as a separate issue / PR.
146-
147-
Suggestions for that issue: the extension `.rk` for scripts, `.rkm` for
148-
modules, and `.rd` for documentation (POD6) to become the defacto standards
149-
for files containing `Raku` code or documentation. The old `.pm`, `.pm6` and
150-
`.pod6` extensions will continue to be supported for 6.e. In 6.f, the `.pm`,
151-
`.pm6` and `.pod6` extensions could be marked as DEPRECATED, causing a message
152-
to be generated when the module is loaded.
153-
154-
On Windows, installers should add a `.rk` association alongside the `.p6`
145+
The extension `.raku` for scripts, `.rakumod` for modules, and `.rakudoc`
146+
for documentation (POD6) to become the defacto standards for files containing
147+
`Raku` code or documentation. The old `.pm`, `.pm6` and `.pod6` extensions
148+
will continue to be supported for 6.e. In 6.f, the `.pm`, `.pm6` and `.pod6`
149+
extensions could be marked as DEPRECATED, causing a message to be generated
150+
when the module is loaded.
151+
152+
For testing, the extension `.rakutest` should be used, while the old `.t`
153+
extension will continue to be supported for 6.e, with deprecation messages
154+
appearing drom 6.f onward.
155+
156+
On Windows, installers should add a `.raku` association alongside the `.p6`
155157
association for the time being. Around the time of 6.f, a `.p6` association
156158
could be deselected by default, and perhaps dropped entirely by 6.g.
157159

0 commit comments

Comments
 (0)