Skip to content

Commit

Permalink
Merge pull request #818 from drkameleon/master
Browse files Browse the repository at this point in the history
Add support for Arturo, #818
  • Loading branch information
AlDanial committed Mar 8, 2024
2 parents d904e13 + 927d1f6 commit d6cdfe3
Show file tree
Hide file tree
Showing 7 changed files with 457 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,7 @@ APL (apl, apla, aplc, aplf, apli, apln, aplo, dyalog, dya
AppleScript (applescript)
Arduino Sketch (ino, pde)
ArkTs (ets)
Arturo (art)
AsciiDoc (adoc, asciidoc)
ASP (asa, ashx, asp, axd)
ASP.NET (asax, ascx, asmx, aspx, master, sitemap, webinfo)
Expand Down
3 changes: 2 additions & 1 deletion Unix/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ https://github.com/kaelig
https://github.com/mwiley
https://github.com/michalmuskala
https://github.com/Inventitech
https://github.com/zhangzqs
https://github.com/zhangzqs
https://github.com/drkameleon
6 changes: 6 additions & 0 deletions Unix/cloc
Original file line number Diff line number Diff line change
Expand Up @@ -8211,6 +8211,7 @@ sub set_constants { # {{{1
'dyalog' => 'APL' ,
'dyapp' => 'APL' ,
'mipage' => 'APL' ,
'art' => 'Arturo' ,
'as' => 'ActionScript' ,
'adoc' => 'AsciiDoc' ,
'asciidoc' => 'AsciiDoc' ,
Expand Down Expand Up @@ -9288,6 +9289,10 @@ sub set_constants { # {{{1
[ 'rm_comments_in_strings', '"', '//', '' ],
[ 'call_regexp_common' , 'C++' ],
],
'Arturo' => [
[ 'remove_matches' , '^\s*;' ],
[ 'remove_inline' , ';.*$' ],
],
'AsciiDoc' => [
[ 'remove_between_general', '////', '////' ],
[ 'remove_matches' , '^\s*\/\/' ],
Expand Down Expand Up @@ -11063,6 +11068,7 @@ sub set_constants { # {{{1
'Apex Trigger' => 1.4 ,
'AppleScript' => 4.0 ,
'Arduino Sketch' => 1.00,
'Arturo' => 4.00,
'Assembly' => 0.25,
'Astro' => 3.0,
'Asymptote' => 2.50,
Expand Down
5 changes: 5 additions & 0 deletions Unix/t/00_C.t
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ my @Tests = (
'ref' => '../tests/outputs/openharmony.ets.yaml',
'args' => '../tests/inputs/openharmony.ets',
},
{
'name' => 'Arturo',
'ref' => '../tests/outputs/Arturo.art.yaml',
'args' => '../tests/inputs/Arturo.art',
},
{
'name' => 'AsciiDoc',
'ref' => '../tests/outputs/asciidoctor.adoc.yaml',
Expand Down
6 changes: 6 additions & 0 deletions cloc
Original file line number Diff line number Diff line change
Expand Up @@ -8226,6 +8226,7 @@ sub set_constants { # {{{1
'dyalog' => 'APL' ,
'dyapp' => 'APL' ,
'mipage' => 'APL' ,
'art' => 'Arturo' ,
'as' => 'ActionScript' ,
'adoc' => 'AsciiDoc' ,
'asciidoc' => 'AsciiDoc' ,
Expand Down Expand Up @@ -9303,6 +9304,10 @@ sub set_constants { # {{{1
[ 'rm_comments_in_strings', '"', '//', '' ],
[ 'call_regexp_common' , 'C++' ],
],
'Arturo' => [
[ 'remove_matches' , '^\s*;' ],
[ 'remove_inline' , ';.*$' ],
],
'AsciiDoc' => [
[ 'remove_between_general', '////', '////' ],
[ 'remove_matches' , '^\s*\/\/' ],
Expand Down Expand Up @@ -11069,6 +11074,7 @@ sub set_constants { # {{{1
'Apex Class' => 1.50,
'APL' => 2.50,
'ArkTs' => 2.50,
'Arturo' => 4.00,
'AsciiDoc' => 1.50,
'AspectJ' => 1.36,
'asa' => 1.29,
Expand Down

0 comments on commit d6cdfe3

Please sign in to comment.