aboutsummaryrefslogtreecommitdiff
path: root/pasm-syntax/syntaxes
diff options
context:
space:
mode:
Diffstat (limited to 'pasm-syntax/syntaxes')
-rw-r--r--pasm-syntax/syntaxes/pasm.tmLanguage.json145
1 files changed, 0 insertions, 145 deletions
diff --git a/pasm-syntax/syntaxes/pasm.tmLanguage.json b/pasm-syntax/syntaxes/pasm.tmLanguage.json
deleted file mode 100644
index e0df85e..0000000
--- a/pasm-syntax/syntaxes/pasm.tmLanguage.json
+++ /dev/null
@@ -1,145 +0,0 @@
-{
- "name": "PASM",
- "scopeName": "source.pasm",
- "fileTypes": [
- "pasm"
- ],
- "patterns": [
- {
- "include": "#comment"
- },
- {
- "include": "#macro"
- },
- {
- "include": "#instruction"
- },
- {
- "include": "#register"
- },
- {
- "include": "#number"
- }
- ],
- "repository": {
- "comment": {
- "patterns": [
- {
- "name": "comment.line.number-sign.pasm",
- "match": "#.*$"
- }
- ]
- },
- "macro": {
- "patterns": [
- {
- "name": "meta.macro.pasm",
- "begin": "(\\()",
- "beginCaptures": {
- "1": {
- "name": "punctuation.definition.macro.begin.pasm"
- }
- },
- "end": "(\\))",
- "endCaptures": {
- "1": {
- "name": "punctuation.definition.macro.end.pasm"
- }
- },
- "patterns": [
- {
- "include": "#instruction"
- },
- {
- "include": "#register"
- },
- {
- "include": "#number"
- },
- {
- "include": "#comment"
- }
- ]
- },
- {
- "name": "keyword.other.macro.pasm",
- "match": "@\\d+"
- }
- ]
- },
- "instruction": {
- "patterns": [
- {
- "name": "meta.instruction.ar.pasm",
- "captures": {
- "1": {
- "name": "keyword.instruction.prefix.ar.pasm"
- },
- "2": {
- "name": "string.quoted.double.pasm"
- }
- },
- "match": "\\b(ar)([1-8])\\b"
- },
- {
- "name": "meta.instruction.r.pasm",
- "captures": {
- "1": {
- "name": "keyword.instruction.prefix.r.pasm"
- },
- "2": {
- "name": "constant.numeric.instruction-number.r.pasm"
- },
- "3": {
- "name": "keyword.instruction.suffix.a.pasm"
- }
- },
- "match": "\\b(r)([1-8])(a)\\b"
- },
- {
- "name": "keyword.instruction.simple.pasm",
- "match": "\\b(hlt|con|mem|aca|add|sub|not|clr)\\b"
- }
- ]
- },
- "register": {
- "patterns": [
- {
- "name": "meta.register.ar.pasm",
- "captures": {
- "1": {
- "name": "variable.other.register.prefix.ar.pasm"
- },
- "2": {
- "name": "constant.numeric.register-number.ar.pasm"
- }
- },
- "match": "\\b(ar)([1-8])\\b"
- },
- {
- "name": "meta.register.r.pasm",
- "captures": {
- "1": {
- "name": "variable.other.register.prefix.r.pasm"
- },
- "2": {
- "name": "constant.numeric.register-number.r.pasm"
- },
- "3": {
- "name": "variable.other.register.suffix.a.pasm"
- }
- },
- "match": "\\b(r)([1-8])(a)\\b"
- }
- ]
- },
- "number": {
- "patterns": [
- {
- "name": "constant.numeric.decimal.pasm",
- "match": "\\b\\d+\\b"
- }
- ]
- }
- }
-} \ No newline at end of file