Sha256: 0c61ecd19951c6a70fe2af5b9d37ef0419edfce9e7c93d6cf2e7015b7f8f498d

Contents?: true

Size: 1.6 KB

Versions: 1

Compression:

Stored size: 1.6 KB

Contents

{
  "name": "REXX",
  "scopeName": "source.rexx",
  "patterns": [
    {
      "name": "comment.rexx",
      "begin": "/\\*",
      "end": "\\*/"
    },
    {
      "name": "constant.rexx",
      "match": "(['\"])[01 ]+\\1(?i:b)"
    },
    {
      "name": "constant.rexx",
      "match": "(['\"])[0-9a-fA-F ]+\\1(?i:x)"
    },
    {
      "name": "string.rexx",
      "begin": "(['\"])",
      "end": "\\1"
    },
    {
      "name": "entity.name.function.rexx",
      "match": "\\b[A-Za-z@#$!?_][A-Za-z@#$!?_0-9]*:"
    },
    {
      "name": "constant.numeric.rexx",
      "match": "([0-9]+(\\.)?[0-9]*(?i:e[-+]?[0-9]+)?|[0-9]*(\\.)?[0-9]+)(?i:e[-+]?[0-9]+)?\\b"
    },
    {
      "name": "constant.other.rexx",
      "match": "[0-9\\.][A-Za-z0-9@#$¢.!?_]*"
    },
    {
      "name": "keyword.operator.rexx",
      "match": "([\\+-/*%\u0026|()¬\\\\=\u003c\u003e~])"
    },
    {
      "name": "keyword.rexx",
      "match": "\\b(?i:do|forever|while|until|to|by|for|end|exit|if|then|else|iterate|leave|nop|return|select|when|otherwise|call(\\s+(off|on)\\s+(error|failure(\\s+name)?|halt))?|signal(\\s+(off|on)\\s+(error|failure(\\s+name)?|halt|novalue|syntax))|address\\s+\\w+|arg|drop|interpret|numeric\\s+(digits|form(\\s+(scientific|engineering|value))?|fuzz)|options|parse(\\s+upper)?\\s+(external|numeric|source|value|var|version)?|with|procedure(\\s+expose)?|pull|push|queue|say|trace\\s+\\w+|upper)\\b(?!\\.)"
    },
    {
      "name": "support.function.rexx",
      "match": "\\b[A-Za-z@#$!?_0-9]+(?=\\()"
    },
    {
      "name": "variable.rexx",
      "match": "\\b[A-Za-z@#$¢!?_][A-Za-z0-9@#$¢.!?_]*"
    }
  ]
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github-linguist-6.0.0 grammars/source.rexx.json