Add BQN support (#1151)

This commit is contained in:
Tony Zorman 2024-09-30 10:46:49 +02:00 committed by GitHub
parent 320d1d2c58
commit 3688ee5cdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 17 additions and 0 deletions

View File

@ -350,6 +350,7 @@ Bazel
Bean
Bicep
Bitbake
BQN
BrightScript
C
Cabal

View File

@ -169,6 +169,12 @@
"quotes": [["\\\"", "\\\""], ["'", "'"]],
"extensions": ["bb", "bbclass", "bbappend", "inc", "conf"]
},
"Bqn": {
"name": "BQN",
"line_comment": ["#"],
"extensions": ["bqn"],
"quotes": [["\\\"", "\\\""], ["'", "'"]],
},
"BrightScript": {
"quotes": [["\\\"", "\\\""]],
"line_comment": ["'", "REM"],

10
tests/data/bqn.bqn Normal file
View File

@ -0,0 +1,10 @@
# 10 lines 3 code 3 comments 4 blanks
256=28
# Comment
<'a'/"Big Questions Notation"
# A magic square of length ⊢
MS (-÷2)(˘˘)˜×˜