Sha256: 6f323cf04c8986353b7a9be6b1f6f4b5e6942bc2b34d72f372bf562eac36f3fc

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

---
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]*)|(\\.[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: "''|\"\""
- 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"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
code_rippa-1.0.1 lib/code_rippa/syntax/scilab.syntax
code_rippa-1.0.0 lib/code_rippa/syntax/scilab.syntax