Skip to content

Commit

Permalink
support bait
Browse files Browse the repository at this point in the history
  • Loading branch information
serkonda7 committed Apr 20, 2022
1 parent 664cd2c commit 31b6667
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -17,6 +17,7 @@ scc

# IDE
.idea/
*.code-workspace

# Performance tests
examples/performance_tests/0
Expand All @@ -35,4 +36,4 @@ gitignorefile.txt

# macOS

.DS_Store
.DS_Store
1 change: 1 addition & 0 deletions LANGUAGES.md
Expand Up @@ -17,6 +17,7 @@ ATS (dats,sats,ats,hats)
Autoconf (in)
AutoHotKey (ahk)
AWK (awk)
bait (bait)
BASH (bash,bash_login,bash_logout,bash_profile,bashrc,.bash_login,.bash_logout,.bash_profile,.bashrc)
Basic (bas)
Batch (bat,btm,cmd)
Expand Down
62 changes: 52 additions & 10 deletions languages.json
Expand Up @@ -459,6 +459,54 @@
"multi_line": [],
"quotes": []
},
"bait": {
"complexitychecks": [
"for ",
"if ",
"else ",
" or ",
" and ",
"!= ",
"== "
],
"extensions": [
"bait"
],
"keywords": [
"and",
"break",
"const ",
"continue",
"else ",
"fun ",
"import ",
"not ",
"or ",
"package ",
"return",
"struct "
],
"line_comment": [
"//"
],
"multi_line": [
[
"/*",
"*/"
]
],
"nestedmultiline": true,
"quotes": [
{
"end": "'",
"start": "'"
},
{
"end": "`",
"start": "`"
}
]
},
"BASH": {
"complexitychecks": [
"for ",
Expand Down Expand Up @@ -5513,9 +5561,9 @@
"== "
],
"extensions": [
"sql",
"dml",
"ddl",
"sql",
"dml",
"ddl",
"dql"
],
"line_comment": [
Expand Down Expand Up @@ -6686,13 +6734,7 @@
"line_comment": [
"//"
],
"multi_line": [
[
"/*",
"*/"
]
],
"nestedmultiline": true,
"multi_line": [],
"quotes": [
{
"end": "\"",
Expand Down

0 comments on commit 31b6667

Please sign in to comment.