diff --git a/.gitignore b/.gitignore index 4d4b3e56..7f0c5188 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ scc # IDE .idea/ +*.code-workspace # Performance tests examples/performance_tests/0 @@ -35,4 +36,4 @@ gitignorefile.txt # macOS -.DS_Store \ No newline at end of file +.DS_Store diff --git a/LANGUAGES.md b/LANGUAGES.md index a9c0a071..518ea2a8 100644 --- a/LANGUAGES.md +++ b/LANGUAGES.md @@ -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) diff --git a/languages.json b/languages.json index 8d779955..17179fa5 100644 --- a/languages.json +++ b/languages.json @@ -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 ", @@ -5513,9 +5561,9 @@ "== " ], "extensions": [ - "sql", - "dml", - "ddl", + "sql", + "dml", + "ddl", "dql" ], "line_comment": [ @@ -6686,13 +6734,7 @@ "line_comment": [ "//" ], - "multi_line": [ - [ - "/*", - "*/" - ] - ], - "nestedmultiline": true, + "multi_line": [], "quotes": [ { "end": "\"",