name: Scilab fileTypes:
-
sce
-
sci
-
tst
-
dem
scopeName: source.scilab uuid: 14374AA3-A329-4623-8DFA-1ACC2CE222B9 foldingStartMarker: ^(?!.//.).*b(if|while|for|function|select)b patterns:
-
name: comment.line.double-slash.scilab begin: // end: $n?
-
name: constant.numeric.scilab match: b(([0-9]+.?[0-9]*)|(.+))((e|E)(+|-)?+)?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: “''|""”
-
-
name: string.quoted.single.scilab begin: (?<![w])])' end: “'(?!')” patterns:
-
name: constant.character.escape.scilab match: “''|""”
-
-
captures:
"1": name: keyword.control.scilab "2": name: entity.name.function.scilab
match: b(function)s+(?:[^=]+=s*)?(w+)(?:s*(.*))?
-
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*$
foldingStopMarker: b(endfunction|end)b