Skip to content

Commit

Permalink
added Raku info to languages.json
Browse files Browse the repository at this point in the history
note: also removed perl6 from the shebang list
for perl since perl6 is a different language
(now called raku)
  • Loading branch information
masukomi committed Jan 5, 2023
1 parent 5e0f2cf commit a18589b
Showing 1 changed file with 147 additions and 6 deletions.
153 changes: 147 additions & 6 deletions languages.json
Expand Up @@ -2157,10 +2157,10 @@
"and",
"or",
"xor",

"eq",
"=",

"smart-if",
"smart-if*",
"smart-when",
Expand Down Expand Up @@ -4499,7 +4499,7 @@
"line_comment": [
"%"
],
"multi_line": [
"multi_line": [
[
"%{",
"}%"
Expand Down Expand Up @@ -4801,7 +4801,7 @@
"line_comment": [
"//"
],
"multi_line": [
"multi_line": [
[
"/*",
"*/"
Expand Down Expand Up @@ -5149,8 +5149,7 @@
],
"shebangs": [
"perl",
"perl5",
"perl6"
"perl5"
]
},
"Plain Text": {
Expand Down Expand Up @@ -5684,6 +5683,148 @@
}
]
},
"Raku": {
"complexitychecks": [
"== ",
"",
"!= ",
"",
"!== ",
"",
"< ",
"",
"!< ",
"",
"<= ",
"",
"",
"!<= ",
"",
"> ",
"",
"!> ",
"",
">= ",
"",
"",
"!>= ",
"",
"=~= ",
"",
"=== ",
"eq ",
"!eq ",
"eqv ",
"ne ",
"gt ",
"ge ",
"lt ",
"le ",
"=:=",
"CATCH ",
"CONTROL ",
"DOC ",
"NEXT ",
"and ",
"default ",
"do {",
"else ",
"elsif ",
"emit ",
"for ",
"gather ",
"given ",
"if ",
"last ",
"loop (",
"next ",
"once ",
"or ",
"orwith ",
"react {",
"redo ",
"repeat ",
"start {",
"supply ",
"unless ",
"until ",
"when ",
"whenever ",
"while ",
"with ",
"without "
],
"extensions": [
"raku",
"rakumod",
"rakutest",
"rakudoc",
"t"
],
"line_comment": [
"#"
],
"multi_line": [
[
"=begin",
"=end"
],
[
"#`(",
")"
],
[
"#`[",
"]"
],
[
"#`{",
"}"
],
[
"#`「",
""
]

],
"quotes": [
{
"end": "\\\"",
"start": "\\\""
},
{
"end": "'",
"start": "'"
},
{
"end": "",
"start": ""
},
{
"end": "»",
"start": "«"
},
{
"end": ">>",
"start": "<<"
},
{
"end": "",
"start": ""
},
{
"end": "",
"start": ""
},
{
"end": "",
"start": ""
}
],
"shebangs": [
"raku"
]
},
"Razor": {
"complexitychecks": [
"for ",
Expand Down

0 comments on commit a18589b

Please sign in to comment.