the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
import cpp from './cpp.mjs'
|
||||
import python from './python.mjs'
|
||||
import javascript from './javascript.mjs'
|
||||
import r from './r.mjs'
|
||||
import sql from './sql.mjs'
|
||||
|
||||
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Julia\",\"name\":\"julia\",\"patterns\":[{\"include\":\"#operator\"},{\"include\":\"#array\"},{\"include\":\"#string\"},{\"include\":\"#parentheses\"},{\"include\":\"#bracket\"},{\"include\":\"#function_decl\"},{\"include\":\"#function_call\"},{\"include\":\"#for_block\"},{\"include\":\"#keyword\"},{\"include\":\"#number\"},{\"include\":\"#comment\"},{\"include\":\"#type_decl\"},{\"include\":\"#symbol\"},{\"include\":\"#punctuation\"}],\"repository\":{\"array\":{\"patterns\":[{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"meta.bracket.julia\"}},\"end\":\"(])(\\\\.?'*)\",\"endCaptures\":{\"1\":{\"name\":\"meta.bracket.julia\"},\"2\":{\"name\":\"keyword.operator.transpose.julia\"}},\"name\":\"meta.array.julia\",\"patterns\":[{\"match\":\"\\\\bbegin\\\\b\",\"name\":\"constant.numeric.julia\"},{\"match\":\"\\\\bend\\\\b\",\"name\":\"constant.numeric.julia\"},{\"include\":\"#self_no_for_block\"}]}]},\"bracket\":{\"patterns\":[{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"meta.bracket.julia\"}},\"end\":\"(})(\\\\.?'*)\",\"endCaptures\":{\"1\":{\"name\":\"meta.bracket.julia\"},\"2\":{\"name\":\"keyword.operator.transpose.julia\"}},\"patterns\":[{\"include\":\"#self_no_for_block\"}]}]},\"comment\":{\"patterns\":[{\"include\":\"#comment_block\"},{\"begin\":\"#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.julia\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.number-sign.julia\",\"patterns\":[{\"include\":\"#comment_tags\"}]}]},\"comment_block\":{\"patterns\":[{\"begin\":\"#=\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.julia\"}},\"end\":\"=#\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.julia\"}},\"name\":\"comment.block.number-sign-equals.julia\",\"patterns\":[{\"include\":\"#comment_tags\"},{\"include\":\"#comment_block\"}]}]},\"comment_tags\":{\"patterns\":[{\"match\":\"\\\\bTODO\\\\b\",\"name\":\"keyword.other.comment-annotation.julia\"},{\"match\":\"\\\\bFIXME\\\\b\",\"name\":\"keyword.other.comment-annotation.julia\"},{\"match\":\"\\\\bCHANGED\\\\b\",\"name\":\"keyword.other.comment-annotation.julia\"},{\"match\":\"\\\\bXXX\\\\b\",\"name\":\"keyword.other.comment-annotation.julia\"}]},\"for_block\":{\"patterns\":[{\"begin\":\"\\\\b(for)\\\\b\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.julia\"}},\"end\":\"(?<![,\\\\s])(\\\\s*\\\\n)\",\"patterns\":[{\"match\":\"\\\\bouter\\\\b\",\"name\":\"keyword.other.julia\"},{\"include\":\"$self\"}]}]},\"function_call\":{\"patterns\":[{\"begin\":\"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?\\\\.?(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.julia\"},\"2\":{\"name\":\"support.type.julia\"},\"3\":{\"name\":\"meta.bracket.julia\"}},\"end\":\"\\\\)(('|(\\\\.'))*\\\\.?')?\",\"endCaptures\":{\"0\":{\"name\":\"meta.bracket.julia\"},\"1\":{\"name\":\"keyword.operator.transposed-func.julia\"}},\"patterns\":[{\"include\":\"#self_no_for_block\"}]}]},\"function_decl\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.function.julia\"},\"2\":{\"name\":\"support.type.julia\"}},\"match\":\"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃𝟎-𝟡[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?(?=\\\\([^#]*\\\\)(::\\\\S+)?(\\\\s*\\\\bwhere\\\\b\\\\s+.+?)?\\\\s*?=(?![=>]))\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.julia\"},\"2\":{\"name\":\"keyword.operator.dots.julia\"},\"3\":{\"name\":\"entity.name.function.julia\"},\"4\":{\"name\":\"support.type.julia\"}},\"match\":\"\\\\b(function|macro)(?:\\\\s+(?:[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆Line truncated
|
||||
|
||||
export default [
|
||||
...cpp,
|
||||
...python,
|
||||
...javascript,
|
||||
...r,
|
||||
...sql,
|
||||
lang
|
||||
]
|
||||
Reference in new issue
Block a user