{ "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", "name": "CENTVRION", "patterns": [ { "include": "#comments" }, { "include": "#strings" }, { "include": "#keywords" }, { "include": "#builtins" }, { "include": "#modules" }, { "include": "#fractions" }, { "include": "#constants" }, { "include": "#variables" } ], "repository": { "comments": { "patterns": [ { "name": "comment.block.cent", "begin": "/\\*", "end": "\\*/" }, { "name": "comment.line.double-slash.cent", "match": "//[^\\n]*" } ] }, "keywords": { "patterns": [ { "name": "keyword.control.cent", "match": "\\b(AETERNVM|ALIVD|AVGE|AVT|CAPE|CONTINVA|CVM|DEFINI|DESIGNA|DIVIDE|DONICVM|DVM|ERVMPE|ET|FAC|FVNCTIO|GRADV|IN|INVOCA|MINVE|MVLTIPLICA|NON|PER|REDI|SI|TABVLA|TEMPTA|TVNC|VSQVE|VT)\\b" }, { "name": "keyword.operator.comparison.cent", "match": "\\b(HAVD_PLVS|HAVD_MINVS|DISPAR|EST|MINVS|PLVS)\\b" }, { "name": "keyword.operator.arithmetic.cent", "match": "\\b(RELIQVVM)\\b" }, { "name": "keyword.operator.arithmetic.cent", "match": "(\\*|\\+|-|/|&|@)" } ] }, "builtins": { "patterns": [ { "name": "support.function.builtin.cent", "match": "\\b(ADDE|ADIVNGE|AVDI_NVMERVS|AVDI|AVSCVLTA|CLAVES|CONFLA|CRIBRA|DECIMATIO|DIC|DORMI|EVERRE|FORTVITVS_NVMERVS|FORTVITA_ELECTIO|IASON_LEGE|IASON_SCRIBE|INSERE|IVNGE|LEGE|LITTERA|LONGITVDO|MAIVSCVLA|MINVSCVLA|MVTA|NECTE|NVMERVS|ORDINA|PETE|PETITVR|QVAERE|SCINDE|SCRIBE|SEMEN|SENATVS|SVBSTITVE|TOLLE|TYPVS)\\b" } ] }, "modules": { "patterns": [ { "name": "support.class.module.cent", "match": "\\b(FORS|FRACTIO|IASON|MAGNVM|RETE|SCRIPTA|SVBNVLLA)\\b" } ] }, "constants": { "patterns": [ { "name": "constant.numeric.roman.cent", "match": "\\b[IVXLCDM][IVXLCDM_]*\\b" }, { "name": "constant.language.roman.cent", "match": "\\b(VERITAS|FALSITAS)\\b" }, { "name": "constant.numeric.nullus.cent", "match": "\\bNVLLVS\\b" } ] }, "fractions": { "patterns": [ { "name": "constant.numeric.fraction.cent", "match": "\\b[IVXLCDM][IVXLCDM_]*(?:S[S:.|]*|:[S:.|]+|\\.[S:.|]*)" }, { "name": "constant.numeric.fraction.cent", "match": "(?