Sha256: c17d60e976b620372153802c6e8a690b009439b1383b9f522377d634171bed87

Contents?: true

Size: 1.66 KB

Versions: 38

Compression:

Stored size: 1.66 KB

Contents

{
  "fileTypes": [
    "MCPOST"
  ],
  "name": "Mastercam (mcpost)",
  "patterns": [
    {
      "comment": "Comment",
      "match": "(#.*$)",
      "name": "comment.number-sign.MCPOST"
    },
    {
      "comment": "Number",
      "match": "(\\b)(zero|one|two|three|four|five|six|seven|height|nine)(\\b)",
      "name": "constant.numeric.MCPOST"
    },
    {
      "comment": "Number",
      "match": "(\\b)(-?[0-9]+)(.[0-9]+)?(\\b)",
      "name": "constant.numeric.MCPOST"
    },
    {
      "comment": "Framework variable",
      "match": "([a-zA-Z0-9]+)(\\$)",
      "name": "variable.language.MCPOST"
    },
    {
      "beginCaptures": {
        "1": {
          "name": "entity.name.function.MCPOST"
        },
        "3": {
          "name": "variable.parametere.MCPOST"
        }
      },
      "comment": "function",
      "match": "([a-zA-Z0-9]+)(\\()(.*)(\\))",
      "name": "entity.name.function.MCPOST"
    },
    {
      "comment": "function",
      "match": "(\\b)(^p[a-zA-Z]+)(_?([a-zA-Z]+)?)(_?)([a-zA-Z]+)(\\b)",
      "name": "entity.name.function.MCPOST"
    },
    {
      "comment": "keywords Attributes",
      "match": "^\\[[a-zA-Z0-9]((_?|\\-?)[a-zA-Z0-9\\s])*(_?|\\-?)[a-zA-Z0-9]\\]",
      "name": "keyword.MCPOST"
    },
    {
      "comment": "keywords",
      "match": "(\\b)(if|else|while|for|return)(\\b)",
      "name": "keyword.control.MCPOST"
    },
    {
      "comment": "String",
      "match": "\".*?\"",
      "name": "string.quoted.double.MCPOST"
    },
    {
      "comment": "String",
      "match": "\\'.*?\\'",
      "name": "string.quoted.single.MCPOST"
    }
  ],
  "scopeName": "source.MCPOST",
  "uuid": "f25b4ea3-22a6-4cd4-abe1-114a2a850c5a"
}

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
github-linguist-5.3.3 grammars/source.MCPOST.json
github-linguist-5.3.2 grammars/source.MCPOST.json
github-linguist-5.3.1 grammars/source.MCPOST.json
github-linguist-5.3.0 grammars/source.MCPOST.json
github-linguist-5.2.0 grammars/source.MCPOST.json
github-linguist-5.1.0 grammars/source.MCPOST.json
github-linguist-5.0.11 grammars/source.MCPOST.json
github-linguist-5.0.10 grammars/source.MCPOST.json
github-linguist-5.0.9 grammars/source.MCPOST.json
github-linguist-5.0.8 grammars/source.MCPOST.json
github-linguist-5.0.7 grammars/source.MCPOST.json
github-linguist-5.0.6 grammars/source.MCPOST.json
github-linguist-5.0.5 grammars/source.MCPOST.json
github-linguist-5.0.4 grammars/source.MCPOST.json
github-linguist-5.0.3 grammars/source.MCPOST.json
github-linguist-5.0.2 grammars/source.MCPOST.json
github-linguist-5.0.0 grammars/source.MCPOST.json
github-linguist-4.8.18 grammars/source.MCPOST.json
github-linguist-4.8.17 grammars/source.MCPOST.json
github-linguist-4.8.16 grammars/source.MCPOST.json