Sha256: c6a87def567f4ae8d87c3b39a76510c7af902a221e2dc1bb80378a09def4b1f1

Contents?: true

Size: 1.84 KB

Versions: 27

Compression:

Stored size: 1.84 KB

Contents

{
  "name": "Apollo Guidance Computer",
  "scopeName": "source.agc",
  "patterns": [
    {
      "include": "#main"
    }
  ],
  "repository": {
    "comment": {
      "patterns": [
        {
          "name": "comment.line.number-sign.agc",
          "begin": "#",
          "end": "$",
          "patterns": [
            {
              "name": "disable-todo",
              "match": "TODO|FIXME|CHANGED|XXX|IDEA|HACK|NOTE|REVIEW|NB|BUG"
            }
          ],
          "beginCaptures": {
            "0": {
              "name": "punctuation.definition.comment.agc"
            }
          }
        },
        {
          "name": "comment.annotation.numeric.agc",
          "match": "^\\t[-+]\\d+(?=\\t)"
        }
      ]
    },
    "identifier": {
      "name": "entity.name.identifier.agc",
      "match": "^(?!\\$)(?:[^#\\s]{1,7}\\t|[^#\\s]{8})"
    },
    "inclusion": {
      "name": "meta.preprocessor.include.directive.agc",
      "begin": "^\\$",
      "end": "(?=\\s)",
      "beginCaptures": {
        "0": {
          "name": "punctuation.definition.directive.agc"
        }
      }
    },
    "main": {
      "patterns": [
        {
          "include": "#comment"
        },
        {
          "include": "#number"
        },
        {
          "include": "#inclusion"
        },
        {
          "include": "#identifier"
        },
        {
          "include": "#opcode"
        }
      ]
    },
    "number": {
      "name": "constant.numeric.agc",
      "match": "[-+]\\d+(?:\\.\\d+)?D?"
    },
    "opcode": {
      "name": "meta.opcode.agc",
      "begin": "(?\u003c=\\t)([^#\\s]+)(?=\\s|$)",
      "end": "$|(?=#)|[^#\\s]+",
      "beginCaptures": {
        "1": {
          "name": "keyword.function.opcode.agc"
        }
      },
      "endCaptures": {
        "0": {
          "name": "variable.parameter.operand.agc"
        }
      }
    }
  }
}

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
github-linguist-7.11.1 grammars/source.agc.json
github-linguist-7.10.0 grammars/source.agc.json
github-linguist-7.11.0 grammars/source.agc.json
github-linguist-7.9.0 grammars/source.agc.json
github-linguist-7.8.0 grammars/source.agc.json
github-linguist-7.7.0 grammars/source.agc.json
github-linguist-7.6.1 grammars/source.agc.json
github-linguist-7.6.0 grammars/source.agc.json
github-linguist-7.5.1 grammars/source.agc.json
github-linguist-7.5.0 grammars/source.agc.json
github-linguist-7.4.0 grammars/source.agc.json
github-linguist-7.3.1 grammars/source.agc.json
github-linguist-7.3.0 grammars/source.agc.json
github-linguist-7.2.0 grammars/source.agc.json
github-linguist-7.1.3 grammars/source.agc.json
github-linguist-7.1.2 grammars/source.agc.json
github-linguist-7.1.1 grammars/source.agc.json
github-linguist-7.1.0 grammars/source.agc.json
github-linguist-7.0.0 grammars/source.agc.json
github-linguist-6.4.1 grammars/source.agc.json