{"name":"Scilab","scopeName":"source.scilab","patterns":[{"begin":"(^[ \\t]+)?(?=//)","end":"(?!\\G)","patterns":[{"name":"comment.line.double-slash.scilab","begin":"//","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.scilab"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.scilab"}}},{"name":"constant.numeric.scilab","match":"\\b(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?\\b"},{"name":"support.constant.scilab","match":"(%inf|%i|%pi|%eps|%e|%nan|%s|%t|%f)\\b"},{"name":"string.quoted.double.scilab","begin":"\"","end":"\"(?!\")","patterns":[{"name":"constant.character.escape.scilab","match":"''|\"\""}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.scilab"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.scilab"}}},{"name":"string.quoted.single.scilab","begin":"(?\u003c![\\w\\]\\)])'","end":"'(?!')","patterns":[{"name":"constant.character.escape.scilab","match":"''|\"\""}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.scilab"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.scilab"}}},{"match":"\\b(function)\\s+(?:[^=]+=\\s*)?(\\w+)(?:\\s*\\(.*\\))?","captures":{"1":{"name":"keyword.control.scilab"},"2":{"name":"entity.name.function.scilab"}}},{"name":"keyword.control.scilab","match":"\\b(if|then|else|elseif|while|for|function|end|endfunction|return|select|case|break|global)\\b"},{"name":"punctuation.separator.continuation.scilab","match":"\\.\\.\\.\\s*$"}]}
