[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] Perl6 is now known as raku.
From: |
Brendan O'Dea |
Subject: |
[PATCH 2/2] Perl6 is now known as raku. |
Date: |
Thu, 20 Jan 2022 21:46:17 +1100 |
Update modes and filters to use "raku" over "perl6". Extensions as per:
https://github.com/Raku/problem-solving/blob/master/solutions/language/Path-to-Raku.md#extensions
are matched, as are the previous ".p6", ".pl6", etc.
Note renames:
mv filters/pl6filt.c filters/raku-filt.c
mv filters/perl6.key filters/raku.key
---
filters/genmake.mak | 4 ++--
filters/{pl6filt.c => raku-filt.c} | 8 ++++----
filters/{perl6.key => raku.key} | 0
macros/modes.rc | 10 +++++-----
4 files changed, 11 insertions(+), 11 deletions(-)
rename filters/{pl6filt.c => raku-filt.c} (99%)
rename filters/{perl6.key => raku.key} (100%)
diff --git a/filters/genmake.mak b/filters/genmake.mak
index 2258246..dd9118a 100644
--- a/filters/genmake.mak
+++ b/filters/genmake.mak
@@ -1,4 +1,4 @@
-# $Id: genmake.mak,v 1.49 2020/05/09 09:27:50 tom Exp $
+# $Id$
# This is a list of filter root names and whether .c or .l files define the
# filter. Except for vile-crypt and vile-manfilt (which do not correspond to
# majormodes), the filter names are constructed as vile-{root}-filt.
@@ -7,7 +7,7 @@ c c-filt c
key key-filt c
m4 m4-filt c
perl pl-filt c
-perl6 pl6filt c
+raku raku-filt c
ruby rubyfilt c
sed sed-filt c
tags tagsfilt c
diff --git a/filters/pl6filt.c b/filters/raku-filt.c
similarity index 99%
rename from filters/pl6filt.c
rename to filters/raku-filt.c
index 7cd5580..c451cea 100644
--- a/filters/pl6filt.c
+++ b/filters/raku-filt.c
@@ -1,16 +1,16 @@
/*
- * $Id: pl6filt.c,v 1.1 2019/07/21 17:42:30 tom Exp $
+ * $Id: raku-filt.c,v 1.1 2019/07/21 17:42:30 tom Exp $
*
- * Filter to add vile "attribution" sequences to perl6 scripts.
+ * Filter to add vile "attribution" sequences to raku (formerly perl6) scripts.
* This is a clone of "pl-filt.c", to handle differences from perl5.
*/
#include <filters.h>
#ifdef DEBUG
-DefineOptFilter(perl6, "d");
+DefineOptFilter(raku, "d");
#else
-DefineFilter(perl6);
+DefineFilter(raku);
#endif
/*
diff --git a/filters/perl6.key b/filters/raku.key
similarity index 100%
rename from filters/perl6.key
rename to filters/raku.key
diff --git a/macros/modes.rc b/macros/modes.rc
index a082d1f..4a3c7ca 100644
--- a/macros/modes.rc
+++ b/macros/modes.rc
@@ -706,11 +706,11 @@ define-mode perl
; fence-fi '^\s*}'
~endwith
-define-mode perl6
-~with define-submode perl6
- preamble
'^\(#!\s*\(\/[^\\]*\)\?\<perl6\>\)\|\(\s*use\s\+v6\s*;\)'
- suffixes '\.\(pl6\|rakudo\)$'
- mode-pathname '^.*perl6.*\.t$'
+define-mode raku
+~with define-submode raku
+ preamble
'^\(#!\s*\(\/[^\\]*\)\?\<\(perl6\|rakudo\)\>\)\|\(\s*use\s\+v6\s*;\)'
+ suffixes '\.\(pl\?6\|pm6\|raku\(\|mod\|test\)\)$'
+ mode-pathname '^.*rakudo.*\.t$'
after "perl"
cindent
cindent-chars &cat ':' $fences
--
2.34.1
- [PATCH 2/2] Perl6 is now known as raku.,
Brendan O'Dea <=