Skip to content

Commit

Permalink
Add APL support
Browse files Browse the repository at this point in the history
  • Loading branch information
slotThe committed Aug 25, 2024
1 parent 6e75f90 commit 88bd933
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ Ada
Agda
Alex
Alloy
APL
Asn1
Asp
AspNet
Expand Down
6 changes: 6 additions & 0 deletions languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
"multi_line_comments": [["/*", "*/"]],
"extensions": ["als"]
},
"Apl": {
"name": "APL",
"line_comment": [""],
"extensions": ["apl", "aplf", "apls"],
"quotes": [["'", "'"]],
},
"Arduino": {
"name": "Arduino C++",
"line_comment": ["//"],
Expand Down
10 changes: 10 additions & 0 deletions tests/data/apl.apl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
10 lines 3 code 3 comments 4 blanks


256=2*8

Comment
¨ ' '() 'A Programming Language'

A magic square of length ⊢
MS (-÷2)(),×

0 comments on commit 88bd933

Please sign in to comment.