Skip to content

Commit 81ba2b3

Browse files
authored
Merge pull request #343 from Garklein/master
Add Nial, SNOBOL, and K languages
2 parents f1d7a9a + 1d7a327 commit 81ba2b3

File tree

2 files changed

+85
-4
lines changed

2 files changed

+85
-4
lines changed

languages.json

Lines changed: 83 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@
3737
"",
3838
"~",
3939
"¨",
40-
"="
40+
"=",
41+
":"
4142
],
4243
"extensions": [
4344
"apl",
4445
"aplf",
4546
"apln",
46-
"aplc"
47+
"aplc",
48+
"dyalog"
4749
],
4850
"line_comment": [
4951
""
@@ -3522,6 +3524,32 @@
35223524
}
35233525
]
35243526
},
3527+
"K": {
3528+
"complexitychecks": [
3529+
"'",
3530+
"/",
3531+
"\\",
3532+
"':",
3533+
"/:",
3534+
"\\:",
3535+
"|",
3536+
"&",
3537+
"!",
3538+
"="
3539+
],
3540+
"extensions": [
3541+
"k"
3542+
],
3543+
"line_comment": [
3544+
"/"
3545+
],
3546+
"quotes": [
3547+
{
3548+
"end": "\"",
3549+
"start": "\""
3550+
}
3551+
]
3552+
},
35253553
"Korn Shell": {
35263554
"complexitychecks": [
35273555
"for ",
@@ -4390,6 +4418,34 @@
43904418
}
43914419
]
43924420
},
4421+
"Nial": {
4422+
"complexitychecks": [
4423+
"case ",
4424+
"for ",
4425+
"if ",
4426+
"repeat ",
4427+
"while ",
4428+
"or ",
4429+
"and ",
4430+
"= ",
4431+
"equal ",
4432+
"~= ",
4433+
"unequal "
4434+
],
4435+
"extensions": [
4436+
"ndf"
4437+
],
4438+
"line_comment": [
4439+
"%"
4440+
],
4441+
"multi_line": [],
4442+
"quotes": [
4443+
{
4444+
"end": "'",
4445+
"start": "'"
4446+
}
4447+
]
4448+
},
43934449
"Nim": {
43944450
"complexitychecks": [
43954451
"for ",
@@ -5644,6 +5700,31 @@
56445700
}
56455701
]
56465702
},
5703+
"SNOBOL": {
5704+
"complexitychecks": [
5705+
":(",
5706+
":s(",
5707+
":f(",
5708+
"eq ",
5709+
"ne "
5710+
],
5711+
"extensions": [
5712+
"sno"
5713+
],
5714+
"line_comment": [
5715+
"*"
5716+
],
5717+
"quotes": [
5718+
{
5719+
"end": "\"",
5720+
"start": "\""
5721+
},
5722+
{
5723+
"end": "'",
5724+
"start": "'"
5725+
}
5726+
]
5727+
},
56475728
"SPDX": {
56485729
"complexitychecks": [],
56495730
"extensions": [

processor/constants.go

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)