github-linguist 7.17.0 → 7.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/github-linguist +1 -0
- data/grammars/annotation.liquidhaskell.haskell.json +1 -1
- data/grammars/hint.haskell.json +1 -1
- data/grammars/hint.message.haskell.json +1 -1
- data/grammars/hint.type.haskell.json +1 -1
- data/grammars/liquid.injection.json +1 -0
- data/grammars/markdown.cadence.codeblock.json +1 -0
- data/grammars/markdown.curry.codeblock.json +1 -0
- data/grammars/markdown.prisma.codeblock.json +1 -0
- data/grammars/markdown.textproto.codeblock.json +1 -0
- data/grammars/source.2da.json +1 -0
- data/grammars/source.abap.json +1 -1
- data/grammars/source.acucobol.json +1 -1
- data/grammars/source.aidl.json +1 -1
- data/grammars/source.alloy.json +1 -1
- data/grammars/source.astro.json +1 -0
- data/grammars/source.ats.json +1 -1
- data/grammars/source.ballerina.json +1 -1
- data/grammars/source.berry.bytecode.json +1 -0
- data/grammars/source.berry.json +1 -0
- data/grammars/source.bms.json +1 -0
- data/grammars/source.bmsmap.json +1 -0
- data/grammars/source.bnd.json +1 -0
- data/grammars/source.cadence.json +1 -0
- data/grammars/source.cairo.json +1 -0
- data/grammars/source.cl.json +1 -0
- data/grammars/source.clar.json +1 -0
- data/grammars/source.clojure.json +1 -1
- data/grammars/source.cmd.json +1 -0
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.cobol_acu_listfile.json +1 -0
- data/grammars/source.cobol_mf_listfile.json +1 -0
- data/grammars/source.cobol_mfprep.json +1 -0
- data/grammars/source.cobol_pcob_listfile.json +1 -0
- data/grammars/source.cobolit.json +1 -0
- data/grammars/source.cobsql_dir.json +1 -0
- data/grammars/source.cs.json +1 -1
- data/grammars/source.csound.json +1 -1
- data/grammars/source.curry.json +1 -0
- data/grammars/source.dart.json +1 -1
- data/grammars/source.data-weave.json +1 -1
- data/grammars/source.dds.dspf.json +1 -0
- data/grammars/source.dds.icff.json +1 -0
- data/grammars/source.dds.lf.json +1 -0
- data/grammars/source.dds.pf.json +1 -0
- data/grammars/source.dds.prtf.json +1 -0
- data/grammars/source.deb-control.json +1 -0
- data/grammars/source.debian.makefile.json +1 -0
- data/grammars/source.denizenscript.json +1 -0
- data/grammars/source.dir.json +1 -0
- data/grammars/source.ditroff.json +1 -1
- data/grammars/source.earthfile.json +1 -0
- data/grammars/source.elixir.json +1 -1
- data/grammars/source.euphoria.json +1 -0
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.futhark.json +1 -1
- data/grammars/source.gcode.json +1 -1
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.genero-forms.json +1 -0
- data/grammars/source.genero.json +1 -0
- data/grammars/source.gitignore.json +1 -1
- data/grammars/source.gleam.json +1 -0
- data/grammars/source.goldgrm.json +1 -0
- data/grammars/source.gsc.json +1 -0
- data/grammars/source.hack.json +1 -1
- data/grammars/source.haskell.json +1 -1
- data/grammars/source.hlasm.json +1 -0
- data/grammars/source.hoon.json +1 -0
- data/grammars/source.hsig.json +1 -1
- data/grammars/source.icurry.json +1 -0
- data/grammars/source.janet.json +1 -0
- data/grammars/source.jcl.json +1 -1
- data/grammars/source.js.json +1 -1
- data/grammars/source.json.json +1 -1
- data/grammars/source.julia.json +1 -1
- data/grammars/source.kotlin.json +1 -1
- data/grammars/source.ligo.json +1 -0
- data/grammars/source.m2.json +1 -1
- data/grammars/source.matlab.json +1 -1
- data/grammars/source.mc.json +1 -0
- data/grammars/source.mfu.json +1 -0
- data/grammars/source.mfupp_dir.json +1 -0
- data/grammars/source.mi.json +1 -0
- data/grammars/source.miniyaml.json +1 -0
- data/grammars/source.mint.json +1 -0
- data/grammars/source.mligo.json +1 -0
- data/grammars/source.mlir.json +1 -1
- data/grammars/source.mo.json +1 -0
- data/grammars/source.opts.json +1 -1
- data/grammars/source.p4.json +1 -1
- data/grammars/source.pcb.schematic.json +1 -1
- data/grammars/source.pcb.sexp.json +1 -1
- data/grammars/source.pic.json +1 -1
- data/grammars/source.pli.json +1 -0
- data/grammars/source.pnlgrp.json +1 -0
- data/grammars/source.pony.json +1 -1
- data/grammars/source.postscript.json +1 -1
- data/grammars/source.procfile.json +1 -0
- data/grammars/source.promela.json +1 -0
- data/grammars/source.proto.json +1 -1
- data/grammars/source.python.kivy.json +1 -0
- data/grammars/source.q.json +1 -1
- data/grammars/source.q_output.json +1 -1
- data/grammars/source.qsharp.json +1 -1
- data/grammars/source.rego.json +1 -1
- data/grammars/source.religo.json +1 -0
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.rpg.json +1 -0
- data/grammars/source.rpgle.json +1 -0
- data/grammars/source.scala.json +1 -1
- data/grammars/source.shell.json +1 -1
- data/grammars/source.shellcheckrc.json +1 -1
- data/grammars/source.smali.json +1 -1
- data/grammars/source.solidity.json +1 -1
- data/grammars/source.ssh-config.json +1 -1
- data/grammars/source.stan.json +1 -1
- data/grammars/source.swift.json +1 -1
- data/grammars/source.talon.json +1 -0
- data/grammars/source.textproto.json +1 -0
- data/grammars/source.ts.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.utreport.json +1 -0
- data/grammars/source.vyper.json +1 -1
- data/grammars/source.win32-messages.json +1 -0
- data/grammars/source.witcherscript.json +1 -0
- data/grammars/source.wsd.json +1 -1
- data/grammars/source.yara.json +1 -1
- data/grammars/text.html.liquid.json +1 -1
- data/grammars/text.html.markdown.astro.json +1 -1
- data/grammars/text.html.php.json +1 -1
- data/grammars/text.roff.json +1 -1
- data/grammars/text.rtf.json +1 -1
- data/grammars/text.savane.json +1 -0
- data/grammars/text.tex.latex.haskell.json +1 -1
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/generated.rb +32 -14
- data/lib/linguist/generic.yml +1 -0
- data/lib/linguist/heuristics.yml +63 -1
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +333 -3
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/vendor.yml +1 -1
- metadata +106 -43
- data/grammars/source.opencobol.json +0 -1
- data/grammars/text.html.astro.json +0 -1
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/linguist.so +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"Genero Forms","scopeName":"source.genero-forms","patterns":[{"include":"#Comments"},{"include":"#GridLayout"},{"include":"#Keywords"},{"include":"#Layout"},{"name":"storage.type.per","match":"\\b(DECIMAL|CHAR|DATE|INTEGER)\\b"},{"include":"#StringDoubleQuote"},{"include":"#StringSingleQuote"},{"include":"#FormAttributes"},{"include":"#ComparisonOperators"},{"include":"#Groups"},{"include":"#Tables"},{"name":"keyword.amp.per","match":"(\u0026)"}],"repository":{"Comments":{"patterns":[{"name":"comment.line.number-sign.per","match":"#.*"},{"name":"comment.line.double-dash.per","match":"--.*"}]},"ComparisonOperators":{"patterns":[{"name":"keyword.operator.per","match":"(\\=|\\\u003c|\\\u003e|\\!)"}]},"EscapeCharacters":{"name":"constant.character.escape.4gl","match":"\\\\.{1}"},"FormAttributes":{"match":"(?i)\\s*\\b(AGGREGATE|BUTTON|BUTTONEDIT|CANVAS|CHECKBOX|COMBOBOX|DATEEDIT|EDIT|FIELD|IMAGE|LABEL|PROGRESSBAR|RADIOGROUP|SCROLLGRID|SLIDER|SPINEDIT|TABLE|TEXTEDIT|TIMEEDIT|TREE|WEBCOMPONENT|SCREEN RECORD|PHANTOM)\\b\\s+(\\w+)\\s*(?:(\\:|\\=)|(?:\\())","captures":{"1":{"name":"storage.type.class.per"},"2":{"name":"entity.name.function.per"},"3":{"name":"keyword.operator.per"}}},"FormFields":{"name":"variable.parameter.per","begin":"\\[","end":"\\]","patterns":[{"include":"#StringDoubleQuote"},{"include":"#StringSingleQuote"},{"name":"support.constant.field.divide.per","match":"(\\||:)"},{"name":"variable.parameter.form.grid.per","match":"(?i)\\b([a-z0-9\\#\\/\\'\\_]+)\\b"}],"beginCaptures":{"0":{"name":"string.unquoted.form.grid.field.brackes.per"}},"endCaptures":{"0":{"name":"string.unquoted.form.grid.field.brackets.per"}}},"FormatStrings":{"patterns":[{"name":"support.type.format.per","match":"[\\#\\\u003c\\\u003e\\*\\-\\+]{2,}"},{"name":"constant.lanauge.format.per","match":"\\\u0026"},{"name":"keyword.operator.per","match":"\\,"}]},"GridLayout":{"name":"meta.form.grid.per","begin":"\\{","end":"\\}","patterns":[{"include":"#FormFields"},{"include":"#Tags"}]},"Groups":{"patterns":[{"match":"(?i)\\b(GROUP)\\b\\s+(\\w+)\\s*(\\:)","captures":{"1":{"name":"storage.type.class.per"},"2":{"name":"entity.name.function.per"},"3":{"name":"keyword.operator.per"}}}]},"Keywords":{"patterns":[{"name":"keyword.per","match":"(?i)\\b(DATABASE|SCREEN SIZE|BY|END|ATTRIBUTES|TYPE|INSTRUCTIONS|DELIMITERS|COMMENTS)\\b"},{"name":"keyword.per","match":"(?i)\\b(ACCELERATOR|ACCELERATOR2|ACCELERATOR3|ACCELERATOR4|ACTION|AGGREGATETEXT|AGGREGATETYPE|AUTOSCALE|AUTONEXT|BUTTONTEXTHIDDEN|CENTURY|CLASS|COLOR|COLOR WHERE|CONFIG|CONTEXTMENU|COMMENT|COMPONENTTYPE|DEFAULT|DEFAULTVIEW|DISPLAY LIKE|DOUBLECLICK|DOWNSHIFT|EXPANDEDCOLUMN|FONTPITCH|FORMAT|GRIDCHILDRENINPARENT|HIDDEN|HEIGHT|IDCOLUMN|IMAGE|IMAGECOLUMN|IMAGECOLLAPSED|IMAGEEXPANDED|IMAGELEAF|INCLUDE|INITIALIZER|INVISIBLE|ISNODECOLUMN|ITEMS|JUSTIFY|KEY|MINHEIGHT|MINWIDTH|NOENTRY|NOT NULL|NOTEDITABLE|OPTIONS|ORIENTATION|PARENTIDCOLUMN|PICTURE|PROGRAM|PROPERTIES|QUERYEDITABLE|REQUIRED|REVERSE|SAMPLE|SCROLL|SCROLLBARS|SIZEPOLICY|SPACING|SPLITTER|STEP|STRETCH|STYLE|TABINDEX|TAG|TEXT|TITLE|UNSORTABLE|UNSORTABLECOLUMNS|UNSIZABLE|UNSIZABLECOLUMNS|UNHIDABLE|UNHIDABLECOLUMNS|UNMOVABLE|UNMOVABLECOLUMNS|UPSHIFT|VALIDATE|VALIDATE LIKE|VALUEMIN|VALUEMAX|VALUECHECKED|VALUEUNCHECKED|VERIFY|VERSION|WANTFIXEDPAGESIZE|WANTNORETURNS|WANTTABS|WIDGET|WIDTH|WINDOWSTYLE|WORDWRAP)\\b"},{"name":"constant.language.per","match":"(?i)\\b(FORMONLY|FIXED)\\b"}]},"Layout":{"patterns":[{"name":"keyword.layout.per","match":"(?i)\\b(GRID|TABLE|HBOX|VBOX|LAYOUT|FORM)\\b"},{"name":"keyword.layout.per","match":"(?i)\\b(TABLE|FOLDER)\\b"},{"match":"(?i)(GROUP|TABLE|PAGE)\\s*(\\w*)\\s*\\(","captures":{"1":{"name":"keyword.layout.per"},"2":{"name":"support.type.class.per"}}}]},"StringDoubleQuote":{"patterns":[{"name":"string.quoted.double.content.per","begin":"\"","end":"\"","patterns":[{"include":"#EscapeCharacters"},{"include":"#FormatStrings"}],"beginCaptures":{"0":{"name":"string.quoted.double.per"}},"endCaptures":{"0":{"name":"string.quoted.double.per"}}}]},"StringSingleQuote":{"patterns":[{"name":"string.quoted.single.content.per","begin":"'","end":"'","patterns":[{"include":"#EscapeCharacters"},{"include":"#FormatStrings"}],"beginCaptures":{"0":{"name":"string.quoted.single.per"}},"endCaptures":{"0":{"name":"string.quoted.single.per"}}}]},"Tables":{"name":"support.class.table.per","begin":"(?i)\\bTABLES\\b","end":"(?i)\\bEND\\b","beginCaptures":{"0":{"name":"keyword.per"}},"endCaptures":{"0":{"name":"keyword.per"}}},"Tags":{"begin":"\\\u003c","end":"\\\u003e","patterns":[{"match":"(?i)\\b(G|GROUP|T|TABLE|TREE|S|SCROLLGRID)\\b\\s+(\\w+)","captures":{"0":{"name":"support.function.per"},"1":{"name":"support.variable.per"}}},{"include":"#StringDoubleQuote"},{"include":"#StringSingleQuote"}],"beginCaptures":{"0":{"name":"string.unquoted.form.grid.group.brackes.per"}},"endCaptures":{"0":{"name":"string.unquoted.form.grid.group.brackes.per"}}}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"Genero","scopeName":"source.genero","patterns":[{"include":"#CharacterOperators"},{"include":"#Comments"},{"include":"#ComparisonOperators"},{"include":"#DateOperators"},{"include":"#EscapeCharacters"},{"include":"#FlowControl"},{"include":"#Functions"},{"include":"#GeneroControlBlocks"},{"include":"#KeywordsControl"},{"include":"#KeywordsOther"},{"include":"#KeywordsSupport"},{"include":"#KeywordsOtherUnsorted"},{"include":"#KeywordsString"},{"include":"#KeywordsSql"},{"include":"#LogicalOperators"},{"include":"#MathOperators"},{"include":"#Numbers"},{"include":"#Parens"},{"include":"#StringDoubleQuote"},{"include":"#StringSingleQuote"},{"include":"#Support"},{"include":"#SupportConstant"},{"include":"#Types"},{"include":"#TypeModifiers"}],"repository":{"CharacterOperators":{"name":"keyword.operator.char.4gl","match":"\\b(?i)(USING|CLIPPED|COLUMN|ASCII|LSTR|ORD|SFMT|SPACES)\\b"},"Comments":{"patterns":[{"name":"comment.block.document.4gl","match":"#\\+.*$"},{"name":"comment.line.number-sign.4gl","match":"#.*"},{"name":"comment.line.double-dash.4gl","match":"--.*"},{"name":"comment.block.4gl","begin":"\\{","end":"\\}","beginCaptures":{"0":{"name":"comment.block.4gl"}},"endCaptures":{"0":{"name":"comment.block.4gl"}}}]},"ComparisonOperators":{"patterns":[{"name":"keyword.operator.4gl","match":"(?i)(\\=|\\\u003c|\\\u003e|\\!)"},{"name":"keyword.operator.4gl","match":"(?i)(LIKE|MATCHES|IIF|NVL)"}]},"DateOperators":{"name":"support.type.4gl","match":"\\b(?i)(DATE|UNITS|CURRENT|TODAY|DAY|YEAR|TIME|EXTEND|WEEKDAY|MONTH|MDY)\\b"},"DialogOperators":{"name":"support.function.4gl","match":"\\b(?i)(FIELD_TOUCHED|GET_FLDBUF|INFIELD|ARG_VAL|ARR_COUNT|ARR_CURR|CURSOR_NAME|DOWNSHIFT|ERR_GET|ERR_PRINT|ERR_QUIT|ERRORLOG|FGL_DRAWBOX|FGL_DYNARR_EXTENTSIZE|FGL_GETENV|FGL_GETKEY|FGL_ISDYNARR_ALLOCATED|FGL_KEYVAL|FGL_LASTKEY|FGL_SCR_SIZE|FGL_SETCURRLINE|LENGTH|NUM_ARGS|ORD|SRC_LINE|SET_COUNT|SHOWHELP|STARTLOG|UPSHIFT|MDY|LOAD|UNLOAD)\\b"},"EscapeCharacters":{"name":"constant.character.escape.4gl","match":"\\\\.{1}"},"FlowControl":{"patterns":[{"name":"keyword.other.flowcontrol.4gl","match":"\\b(?i)(IF|CALL|FOR|WHILE|RETURNING|EXIT|RETURN|CONTINUE|CASE|LABEL|SLEEP|TRY|CATCH|GOTO)\\b"}]},"Functions":{"patterns":[{"name":"meta.function.4gl","match":"(?i)(?:^\\s*)\\b(MAIN)\\b","captures":{"1":{"name":"storage.type.function.4gl"}}},{"name":"meta.function.4gl","match":"(?xi)^(PUBLIC|PRIVATE|\\s*)?(?:\\s*)(?:\\b(FUNCTION|REPORT|DIALOG)\\b\\s+)((?:\\w+))","captures":{"1":{"name":"storage.type.modifier.4gl"},"2":{"name":"keyword.other.4gl"},"3":{"name":"entity.name.function.4gl"}}}]},"GeneroControlBlocks":{"name":"meta.name.section.4gl","match":"\\b(?i)(menu\\s|input\\sby\\sname|construct\\sby\\sname|display\\sarray)\\b","captures":{"1":{"name":"keyword.control.4gl"}}},"KeywordsControl":{"name":"keyword.control.4gl","match":"\\b(?i)(IF|CALL|FOR|ELSE|WHILE|RETURNING|EXIT|RETURN|CONTINUE|CASE|WHEN|AFTER|FOREACH|THEN|END MAIN|END REPORT|END|RUN|LABEL|CHANGE|ON|ACTION|END IF|IIF|GOTO|BREAK|NAME|IDLE|DISPLAY|SLEEP|BREAKPOINT|BEFORE|CONSTRUCT|INPUT)\\b"},"KeywordsOther":{"name":"keyword.other.4gl","match":"\\b(?i)(LET|INTO|FUNCTION|CURSOR|DEFINE|ERROR|INITIALIZE|KEY|TABLE|DEFAULT|UP|ROWS|SCREEN|LEFT|FORM|TABLES|GLOBAL|FIELD|MORE|CLEAR|INSTRUCTIONS|INTERRUPT|ESCAPE|MENU|COMMENT|DATABASE|COLUMN|COMMENTS|ATTRIBUTE|SQL|DEFER|GLOBALS|COLUMNS|DELIMITERS|RIGHT|TAB|WINDOW|ROW|DEFAULTS|DELIMITER|DOWN|ESC|COLOR|ATTRIBUTES|ASCENDING|DESCENDINGSQLAWARN|SQLERRM|SQLERROR|SQLERRP|SQLSTATE|SQLWARNING|OPTION|OPTIONS|ALL|HIDE|SPACE|SPACES|WRAP|STEP|SKIP|SIZE|LINE|LINES|MARGIN|MESSAGE|INVISIBLE|BLACK|BLINK|BLUE|BOLD|BORDER|BOTTOM|CYAN|UNDERLINE|WHITE|YELLOW|RED|PROMPT|NOENTRY|MAGENTO|MODULE)\\b"},"KeywordsOtherUnsorted":{"patterns":[{"name":"keyword.other.unsorted.4gl","match":"\\b(?i)(INT_FLAG|CHECK|VERIFY|NUMBER|SCROLL|HEADER|INDEX|TEMP|READ|START|SET|NEED|ONLY|AS|INCLUDE|TYPE|CONSTANT|AVERAGE|NEW|PROGRAM|AUDIT|LOG|REMOVE|STOP|PRIOR|LOCK|OUTPUT|PRINT|EACH|REVERSE|TOP|PERCENT|MODULE|FOUND|MIN|DATA|AVG|SOME|WORK|VARIABLES|USER|TOTAL|SUM|ADD|OLD|WHENEVER|ENTRY|PRECISION|DBA|GREEN|RESTRICT|ROLLFORWARD|COBOL|REPEATABLE|PLI|DISCONNECT|SYSTEM|COMMAND|READONLY|RECOVER|ENABLED|ATTACH|FILE|TRIGGER|EVERY|BEGIN|TYPEDEF|CLASS_ORIGIN|DEBUG|ROWID|COMPRESS|IMMEDIATE|SYSDEPEND|ROOT|RESUME|TRIM|VARIANCE|REOPTIMIZATION|SYSFRAGMENTS|MODIFY|LONG|RETURNED_SQLSTATE|REAL|PRINTER|SYSFRAGAUTH|PAUSE|EXTERNAL|FORTRAN|CHARACTER_LENGTH|UNSIGNED|CONTROL|SCHEMA|TRAILER|FORMAT|REMAINDER|SERIAL|SYSCONSTRAINTS|EXPLAIN|SYSUSERS|SERVER_NAME|SYSTABLES|ASCII|ABORT|NOCR|RENAME|SHARE|REFERENCES|FRAGMENT|ROUND|MEMORY|BETWEEN|DIAGNOSTICS|EXPRESSION|SYSCOLUMNS|MESSAGE_LENGTH|SESSION|PROCEDURE|SYSPROCPLAN|ROWIDS|BUFFERED|WRITE|FINISH|LOCATE|DIALOG|SUBDIALOG|BOTH|OCTET_LENGTH|DEC|ITYPE|PASCAL|CONSTRAINED|SYSREFERENCES|STATISTICS|SYSCOLDEPEND|PRIMARY|EXP|TRANSACTION|SQRT|DETACH|WARNING|HEX|SECTION|CHAR_LENGTH|ABSOLUTE|EXTENT|ATAN|PAGE|AUTONEXT|SYSPROCEDURES|SITENAME|QUIT|FIELD_TOUCHED|SCALE|COMMIT|PDQPRIORITY|RELATIVE|FOREIGN|DBINFO|AUTO|SYSSYNTABLE|SHORT|ISOLATION|DEALLOCATE|HELP|PIPE|SYSROLEAUTH|LOGN|SYSTRIGBODY|INDICATOR|ASIN|DBSERVERNAME|REVOKE|DEFERRED|RAISE|ROLLBACK|FILTERING|DORMANT|SYSVIEWS|MODE|CASCADE|CLUSTER|EXCLUSIVE|ATAN2|ROLE|MEDIUM|SIZEOF|NULLABLE|WAIT|DIRTY|STATIC|VIOLATIONS|PICTURE|WAITING|SWITCH|ANSI|ACCEPT|UNCOMMITTED|DESCRIPTOR|FILLFACTOR|SYSOPCLSTR|OPTIMIZATION|AUTHORIZATION|QUIT_FLAG|STABILITY|DISTINCT|ISAM|ALLOCATE|PREVPAGE|COS|REQUIRED|ABS|RESOLUTION|TRAILING|SYSTRIGGERS|NEXTPAGE|HIGH|DISABLED|LEADING|EXCEPTION|CHARACTER|COMPOSITES|RESOURCE|DISTRIBUTIONS|SYSTABAUTH|STRUCT|SYSPROCBODY|TRACE|SERIALIZABLE|CONNECTION|GO|COMMITTED|ILENGHT|REFERENCING|ZEROFILL|SYSDISTRIB|SYSCHECKS|SYNONYM|LOW|SYSPROCAUTH|INDEXES|POW|ACCESS|STDEV|OFF|ROBIN|CONSTRAINT|TRUNC|NONE|SYSVIOLATIONS|PRIVILEGES|DESCRIBE|UNCONSTRAINED|CONNECTION_ALIAS|LINENO|EXTERN|VARYING|ADA|PAGENO|ROW_COUNT|LANGUAGE|SYSDEFAULTS|APPEND|VIEW|LOG10|SYSINDEXES|TAN|ACOS|INIT|CONNECT|UNLOCK|GRANT|NUMERIC|DATASKIP|VALIDATE|SYSCOLAUTH|MESSAGE_TEXT|DIM|SYSSYNONYMS|SYSBLOBS|FRACTION|TRIGGERS|EXEC|CONCURRENT|REGISTER|SYSOBJSTATE|RANGE|SUBCLASS_ORIGIN|NORMAL|IDATA|CONSTRAINTS|NEXT|SHOW|ADD|SCR_LINE)\\b"},{"name":"keyword.other.unsorted","match":"\\\u0026"}]},"KeywordsSql":{"name":"keyword.control.sql.4gl","match":"\\b(?i)(USING|FROM|CLOSE|OPEN|FETCH|PREPARE|DECLARE|EXECUTE|SELECT|WHERE|CREATE|UPDATE|DELETE|INSERT|FOREACH|COUNT|FREE|FLUSH|PUT|ALTER|ASC|DESC|DROP|ORDER|UNION|UNIQUE|OUTER|MAX|EXISTS|GROUP|HAVING|VALUES|VALUE|IN|BY)\\b"},"KeywordsString":{"patterns":[{"name":"keyword.operator.string.4gl","match":"\\b(?i)(IS|THRU|WITH|HOLD|TO|PREVIOUS|NO|LAST|AT|WITHOUT|OF|ANY|OTHERWISE|THROUGH|FORMONLY|CLIPPED|INFIELD|FIRST)\\b"},{"name":"keyword.operator.string.4gl","match":"(\\,|\\.|\\|\\|)"}]},"KeywordsSupport":{"name":"support.type.4gl","match":"\\b(?i)(SECOND|YEAR|DAY|HOUR|TIME|TODAY|SQLERRD|SQLCA|MINUTE|SQLCODE|WEEKDAY|STATUS|MONTH)\\b"},"LogicalOperators":{"name":"keyword.operator.logical.4gl","match":"\\b(?i)(AND|NOT|OR)\\b"},"MathOperators":{"patterns":[{"name":"keyword.operator.math.4gl","match":"(\\;|\\:|\\+|\\-|\\/|\\*\\*)"},{"name":"keyword.operator.math.4gl","match":"(?i)\\b(MOD)\\b"}]},"Numbers":{"name":"constant.numeric.4gl","match":"\\b\\d+\\b"},"Parens":{"patterns":[{"name":"variable.parameter.4gl","begin":"\\(","end":"\\)","patterns":[{"include":"#StringDoubleQuote"},{"include":"#SupportConstant"},{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.control.4gl"}},"endCaptures":{"0":{"name":"keyword.control.4gl"}}}]},"SQLPlaceHolder":{"patterns":[{"name":"constant.character.placeholder.4gl","match":"\\?"},{"name":"keyword.sql.comma.4gl","match":"\\,"},{"name":"entity.name.tag.4gl","match":"(?i)\\b(AND|OR|ORDER BY|GROUP BY|PARTITION BY|ON|SELECT|UPDATE|INSERT|DELETE|FROM|WHERE|LEFT JOIN|INNER JOIN|RIGHT JOIN|DECLARE|SET)\\b"},{"name":"support.function.sql.4gl","match":"(?i)\\b(COUNT|ROW_NUMBER|OVER|MIN|MAX|AVG|SUM)\\b"},{"name":"support.type.sql.4gl","match":"(?i)\\b(ASC|DESC)\\b"},{"name":"constant.character.placeholder.4gl","match":"(?i)@\\b([a-z0-9\\-]+)\\b"},{"match":"(?i)(?:\\()?\\s*(\\*)\\s*(?:\\))?","captures":{"1":{"name":"constant.character.placeholder.4gl"}}}]},"StringDoubleQuote":{"patterns":[{"name":"string.quoted.double.content.4gl","begin":"\"","end":"\"","patterns":[{"include":"#EscapeCharacters"},{"include":"#SQLPlaceHolder"},{"include":"#LogicalOperators"},{"include":"#SupportConstant"},{"include":"#ComparisonOperators"}],"beginCaptures":{"0":{"name":"string.quoted.double.4gl"}},"endCaptures":{"0":{"name":"string.quoted.double.4gl"}}}]},"StringSingleQuote":{"patterns":[{"name":"string.quoted.single.content.4gl","begin":"'","end":"'","patterns":[{"include":"#EscapeCharacters"},{"include":"#SQLPlaceHolder"},{"include":"#LogicalOperators"},{"include":"#SupportConstant"},{"include":"#ComparisonOperators"}],"beginCaptures":{"0":{"name":"string.quoted.single.4gl"}},"endCaptures":{"0":{"name":"string.quoted.single.4gl"}}}]},"Support":{"match":"\\b(?i)(import)\\s*([a-z0-9]+)(\\s+\\w+)?\\b","captures":{"1":{"name":"support.function.4gl"},"2":{"name":"support.class.4gl"},"3":{"name":"support.type.4gl"}}},"SupportConstant":{"patterns":[{"name":"support.constant.4gl","match":"(?i)\\b(NULL|FALSE|NOTFOUND|TRUE)\\b"}]},"TypeModifiers":{"name":"storage.type.modifier.4gl","match":"\\b(?i)(DYNAMIC|PRIVATE|PUBLIC)\\b"},"Types":{"name":"storage.type.4gl","match":"\\b(?i)(RECORD|SMALLINT|ARRAY|DATE|DECIMAL|INTEGER|PRECISION|FLOAT|VARCHAR|BOOLEAN|MONEY|BYTE|DATETIME|TEXT|INT|INTERVAL|NUMERIC|CHARGETYPE|DEC|SMALLFLOAT|CHARACTER|CHAR|STRING|DO|DOUBLE|NCHAR|NVARCHAR|TINYINT)\\b"}}}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"
|
1
|
+
{"name":"Ignore List","scopeName":"source.gitignore","patterns":[{"include":"#main"}],"repository":{"bazaarPrefixes":{"patterns":[{"name":"storage.modifier.bazaar.re-prefix.gitignore","match":"^RE(:)(?=\\S)"},{"name":"keyword.operator.logical.not.negation.elevated.bazaar.gitignore","match":"^!!(?=\\S)"}]},"comment":{"name":"comment.line.number-sign.gitignore","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.gitignore"}}},"cvsSyntax":{"match":"\\A(syntax)(:)\\s+(glob)$","captures":{"1":{"name":"variable.parameter.assignment.glob-syntax.cvs.gitignore"},"2":{"name":"keyword.operator.assignment.separator.key-value.cvs.gitignore"},"3":{"name":"support.constant.language.syntax-type.cvs.gitignore"}}},"escape":{"name":"constant.character.escape.backslash.gitignore","match":"(\\\\).","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitignore"}}},"magic":{"patterns":[{"name":"meta.magic-signature.long.gitignore","begin":"^(:)(\\()(?=.*?\\))","end":"(?\u003c!\\\\)\\)|(?=\\s*$)","patterns":[{"include":"#escape"},{"include":"#magicInnards"}],"beginCaptures":{"1":{"name":"keyword.operator.signature.begin.gitignore"},"2":{"name":"punctuation.section.signature.begin.gitignore"}},"endCaptures":{"0":{"name":"punctuation.section.signature.end.gitignore"}}},{"name":"meta.magic-signature.short.gitignore","match":"^(:)([!^]+)","captures":{"1":{"name":"keyword.operator.signature.begin.gitignore"},"2":{"name":"keyword.operator.mnemonic.gitignore"}}}]},"magicInnards":{"patterns":[{"include":"etc#comma"},{"name":"meta.attribute-list.gitignore","begin":"(?:\\G|(?\u003c=,|\\())(attr)(:)","end":"(?=,|\\)|$)","patterns":[{"name":"meta.attribute.gitignore","match":"(-|!)?((?:[^\\\\\\s=\\(\\),]|\\\\.)++)(?:(=)((?:[^\\\\\\s=\\(\\),]|\\\\.)*+))?","captures":{"1":{"patterns":[{"include":"#magicMnemonic"}]},"2":{"name":"variable.parameter.attribute.gitignore","patterns":[{"include":"#escape"}]},"3":{"name":"punctuation.definition.assignment.equals-sign.gitignore"},"4":{"name":"constant.language.other.gitignore","patterns":[{"include":"#escape"}]}}}],"beginCaptures":{"1":{"name":"keyword.control.magic-signature.$1.gitignore"},"2":{"patterns":[{"include":"etc#colon"}]}}},{"name":"meta.$1-attribute.gitignore","match":"(?:\\G|(?\u003c=,|\\())(-|!)?(attr|exclude|glob|icase|literal|top)(?=,|\\))","captures":{"1":{"patterns":[{"include":"#magicMnemonic"}]},"2":{"name":"keyword.control.magic-signature.$2.gitignore"}}},{"name":"meta.unknown-attribute.gitignore","match":"(?:\\G|(?\u003c=,|\\())(-|!)?((?:[^\\\\=\\s,:\\)]|\\\\.)++)(?=,|\\))","captures":{"1":{"patterns":[{"include":"#magicMnemonic"}]},"2":{"name":"keyword.control.magic-signature.unknown.gitignore"}}}]},"magicMnemonic":{"patterns":[{"name":"keyword.operator.logical.not.negation.gitignore","match":"-"},{"name":"keyword.operator.unset.delete.gitignore","match":"!"}]},"main":{"patterns":[{"include":"#comment"},{"include":"#cvsSyntax"},{"include":"#magic"},{"include":"#pattern"},{"include":"#escape"}]},"pattern":{"name":"meta.pattern.gitignore","begin":"(?=[^#\\s])","end":"$|(?=#)","patterns":[{"include":"#bazaarPrefixes"},{"include":"#patternInnards"}]},"patternInnards":{"patterns":[{"include":"#escape"},{"include":"#range"},{"name":"keyword.operator.logical.not.negation.gitignore","match":"\\G!"},{"name":"keyword.operator.glob.wildcard.globstar.gitignore","match":"\\*\\*"},{"name":"keyword.operator.glob.wildcard.gitignore","match":"[*?]"},{"name":"punctuation.directory.separator.meta.gitignore","match":"/"},{"name":"entity.other.file.name.gitignore","match":"[^\\[\\]\\\\*?#/\\s]+"}]},"range":{"name":"meta.character-range.gitignore","contentName":"constant.character.class.gitignore","begin":"\\[","end":"\\]|(?=$)","patterns":[{"include":"#escape"},{"name":"punctuation.delimiter.range.character-set.gitignore","match":"-"}],"beginCaptures":{"0":{"name":"punctuation.definition.square.bracket.begin.gitignore"}},"endCaptures":{"0":{"name":"punctuation.definition.square.bracket.end.gitignore"}}}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"Gleam","scopeName":"source.gleam","patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#strings"},{"include":"#constant"},{"include":"#entity"}],"repository":{"binary_number":{"name":"constant.numeric.binary.gleam","match":"\\b0b[0-1]+\\b"},"boolean":{"name":"constant.language.boolean.gleam","match":"\\b(True|False)\\b"},"comments":{"patterns":[{"name":"comment.line.gleam","match":"//.*"}]},"constant":{"patterns":[{"include":"#binary_number"},{"include":"#octal_number"},{"include":"#hexadecimal_number"},{"include":"#decimal_number"},{"include":"#boolean"},{"name":"entity.name.type.gleam","match":"[[:upper:]][[:word:]]*"}]},"decimal_number":{"name":"constant.numeric.decimal.gleam","match":"\\b[[:digit:]][[:digit:]_]*(\\.[[:digit:]]*)?\\b"},"entity":{"patterns":[{"begin":"\\b([[:lower:]][[:word:]]*)([[:space:]]*)?\\(","end":"\\)","patterns":[{"include":"$self"}],"captures":{"1":{"name":"entity.name.function.gleam"}}},{"name":"variable.parameter.gleam","match":"\\b([[:lower:]][[:word:]]*):\\s"},{"name":"entity.name.namespace.gleam","match":"\\b([[:lower:]][[:word:]]*):"}]},"hexadecimal_number":{"name":"constant.numeric.hexadecimal.gleam","match":"\\b0x[[:xdigit:]]+\\b"},"keywords":{"patterns":[{"name":"keyword.control.gleam","match":"\\b(case|if|external|fn|import|let|assert|try|pub|type|opaque|const|todo)\\b"},{"name":"keyword.operator.arrow.gleam","match":"-\u003e"},{"name":"keyword.operator.pipe.gleam","match":"\\|\u003e"},{"name":"keyword.operator.splat.gleam","match":"\\.\\."},{"name":"keyword.operator.comparison.float.gleam","match":"(\u003c=\\.|\u003e=\\.|==\\.|!=\\.|\u003c\\.|\u003e\\.)"},{"name":"keyword.operator.comparison.int.gleam","match":"(\u003c=|\u003e=|==|!=|\u003c|\u003e)"},{"name":"keyword.operator.logical.gleam","match":"(\u0026\u0026|\\|\\|)"},{"name":"keyword.operator.other.gleam","match":"\\|"},{"name":"keyword.operator.arithmetic.float.gleam","match":"(\\+\\.|\\-\\.|/\\.|\\*\\.|%\\.)"},{"name":"keyword.operator.arithmetic.int.gleam","match":"(\\+|\\-|/|\\*|%)"},{"name":"keyword.operator.assignment.gleam","match":"="}]},"octal_number":{"name":"constant.numeric.octal.gleam","match":"\\b0o[0-7]+\\b"},"strings":{"name":"string.quoted.double.gleam","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.gleam","match":"\\\\."}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"GOLD Grammar","scopeName":"source.goldgrm","patterns":[{"include":"#main"}],"repository":{"alternation":{"name":"keyword.operator.logical.or.alternation.goldgrm","match":"\\|"},"attribute":{"patterns":[{"begin":"(?\u003c=[,\\s{]|^|\\G)[ \\t]*([-.\\w]+)","end":"=|(?=})","patterns":[{"include":"#comments"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.goldgrm"}},"endCaptures":{"0":{"name":"keyword.operator.assignment.key-value.attribute.goldgrm"}}},{"begin":"(?!\\G)(?\u003c==)","end":"(?=}|,)","patterns":[{"include":"#rhsInnards"}]}]},"attributes":{"begin":"(?\u003c=@=)\\G","end":"(?\u003c=})","patterns":[{"begin":"\\G","end":"(?={)","patterns":[{"include":"#comments"}]},{"name":"meta.attributes.goldgrm","begin":"(?!\\G){","end":"}","patterns":[{"include":"#attribute"},{"include":"#comma"}],"beginCaptures":{"0":{"name":"punctuation.scope.section.begin.goldgrm"}},"endCaptures":{"0":{"name":"punctuation.scope.section.end.goldgrm"}}}],"applyEndPatternLast":true},"charsets":{"patterns":[{"name":"support.constant.character-set.${1:/[[:^alnum:]]+/-/g:/downcase}.goldgrm","match":"(?x) (?\u003c=^|\\G|[{\\s])\n# Common character sets\n( Number # 30-39\n| Digit # 30-39\n| Letter\\ Extended # C0-D6, D8-F6, F8-FF\n| Letter # 41-5A, 61-7A\n| AlphaNumeric # 30-39, 41-5A, 61-7A\n| Printable\\ Extended # A1-FF\n| Printable # 20-7E, A0\n| Whitespace # 09-0D, 20, A0\n\n# “Useful” character sets\n| All \\ (Latin|Letters|Newline|Printable|Space|Whitespace)\n\n# “Miscellaneous” character sets\n| ANSI (?:\\ (?:Mapped|Printable))?\n| All \\ Valid\n| Control \\ Codes\n| Euro \\ Sign\n| Formatting\n\n# Unicode blocks\n| Alphabetic\\ Presentation\\ Forms\n| Arabic\\ Presentation\\ Forms-[AB]\n| Arabic\\ Supplement\n| Arabic\n| Armenian\n| Arrows\n| Balinese\n| Bamum\n| Basic\\ Latin\n| Bengali\n| Block\\ Elements\n| Box\\ Drawing\n| Braille\\ Patterns\n| Buginese\n| Buhid\n| CJK\\ Compatibility\\ Forms\n| CJK\\ Compatibility\\ Ideographs\n| CJK\\ Compatibility\n| CJK\\ Radicals\\ Supplement\n| CJK\\ Strokes\n| CJK\\ Symbols\\ and\\ Punctuation\n| CJK\\ Unified\\ Ideographs\\ Extension\\ A\n| CJK\\ Unified\\ Ideographs\n| Cham\n| Cherokee\n| Combining\\ Diacritical\\ Marks(?:\\ Supplement|\\ for\\ Symbols)?\n| Combining\\ Half\\ Marks\n| Common\\ Indic\\ Number\\ Forms\n| Control\\ Pictures\n| Coptic\n| Currency\\ Symbols\n| Cyrillic\\ Extended-[AB]\n| Cyrillic\\ Supplement\n| Cyrillic\n| Devanagari\\ Extended\n| Devanagari\n| Dingbats\n| Enclosed\\ Alphanumerics\n| Enclosed\\ CJK\\ Letters\\ and\\ Months\n| Ethiopic\\ Extended\n| Ethiopic\\ Supplement\n| Ethiopic\n| General\\ Punctuation\n| Geometric\\ Shapes\n| Georgian\\ Supplement\n| Georgian\n| Glagolitic\n| Greek\\ Extended\n| Greek\\ and\\ Coptic\n| Gujarati\n| Gurmukhi\n| Halfwidth\\ and\\ Fullwidth\\ Forms\n| Hangul\\ Compatibility\\ Jamo\n| Hangul\\ Jamo(?:\\ Extended-[AB])?\n| Hangul\\ Syllables\n| Hanunoo\n| Hebrew\n| Hiragana\n| IPA\\ Extensions\n| Ideographic\\ Description\\ Characters\n| Javanese\n| Kanbun\n| Kangxi\\ Radicals\n| Kannada\n| Katakana\\ Phonetic\\ Extensions\n| Katakana\n| Kayah\\ Li\n| Khmer\\ Symbols\n| Khmer\n| Lao\n| Latin-1\\ Supplement\n| Latin\\ Extended(?:-[ABCD]|\\ Additional)\n| Lepcha\n| Letterlike\\ Symbols\n| Limbu\n| Lisu\n| Malayalam\n| Mathematical\\ Operators\n| Meetei\\ Mayek\n| Miscellaneous \\ (?:Mathematical\\ Symbols-[AB]|Symbols(?:\\ and\\ Arrows)?|Technical)\n| Modifier\\ Tone\\ Letters\n| Mongolian\n| Myanmar\\ Extended-A\n| Myanmar\n| NKo\n| New\\ Tai\\ Lue\n| Number\\ Forms\n| Ogham\n| Ol\\ Chiki\n| Optical\\ Character\\ Recognition\n| Oriya\n| Phags-pa\n| Phonetic\\ Extensions\\ Supplement\n| Phonetic\\ Extensions\n| Private\\ Use\\ Area\n| Rejang\n| Runic\n| Samaritan\n| Saurashtra\n| Sinhala\n| Small\\ Form\\ Variants\n| Spacing\\ Modifier\\ Letters\n| Sundanese\n| Superscripts\\ and\\ Subscripts\n| Supplemental\\ Arrows-[AB]\n| Supplemental\\ Mathematical\\ Operators\n| Supplemental\\ Punctuation\n| Syloti\\ Nagri\n| Syriac\n| Tagalog\n| Tagbanwa\n| Tai\\ (?:Le|Tham|Viet)\n| Tamil\n| Telugu\n| Thaana\n| Thai\n| Tibetan\n| Tifinagh\n| (?:Bopomofo|Unified\\ Canadian\\ Aboriginal\\ Syllabics)(?:\\ Extended)?\n| Vai\n| Variation\\ Selectors\n| Vedic\\ Extensions\n| Vertical\\ Forms\n| Yi\\ Radicals\n| Yi\\ Syllables\n| Yijing\\ Hexagram\\ Symbols\n) (?=$|\\s|})"}]},"codepoint":{"patterns":[{"include":"#codepointDec"},{"include":"#codepointHex"}]},"codepointDec":{"name":"constant.character.entity.codepoint.decimal.dec.goldgrm","match":"(#)[0-9]+","captures":{"1":{"name":"punctuation.definition.entity.goldgrm"}}},"codepointHex":{"name":"constant.character.entity.codepoint.hexadecimal.hex.goldgrm","match":"(\u0026)[0-9A-Fa-f]+","captures":{"1":{"name":"punctuation.definition.entity.goldgrm"}}},"comma":{"name":"punctuation.separator.delimiter.comma.goldgrm","match":","},"commentBlock":{"name":"comment.block.goldgrm","begin":"!\\*","end":"\\*!","patterns":[{"include":"#commentBlock"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.goldgrm"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.goldgrm"}}},"commentLine":{"name":"comment.line.bang.exclamation-mark.goldgrm","begin":"!","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.goldgrm"}}},"comments":{"patterns":[{"include":"#commentBlock"},{"include":"#commentLine"}]},"constants":{"match":"(?x)\n(?\u003c=^|\\G|[{\\s])\n( (HT) # Horizontal tab\n| (LF) # Line feed\n| (VT) # Vertical tab. Rarely used.\n| (FF) # Form feed. Also known as “New Page”\n| (CR) # Carriage return\n| (Space) # Space\n| (NBSP) # Non-breaking space\n| (LS) # Line separator\n| (PS) # Paragraph separator\n) (?=$|\\s|})","captures":{"1":{"name":"constant.character.whitespace.horizontal-tab.goldgrm"},"2":{"name":"constant.character.whitespace.line-feed.goldgrm"},"3":{"name":"constant.character.whitespace.vertical-tab.goldgrm"},"4":{"name":"constant.character.whitespace.form-feed.goldgrm"},"5":{"name":"constant.character.whitespace.carriage-return.goldgrm"},"6":{"name":"constant.character.whitespace.space.goldgrm"},"7":{"name":"constant.character.whitespace.non-breaking-space.goldgrm"},"8":{"name":"constant.character.whitespace.line-separator.goldgrm"},"9":{"name":"constant.character.whitespace.paragraph-separator.goldgrm"}}},"lhs":{"name":"meta.lhs.goldgrm","begin":"\\G","end":"(::=)|(@=)|(=)","patterns":[{"begin":"\\G","end":"(?!\\G)","patterns":[{"include":"#stringDouble"},{"include":"#setName"},{"include":"#nonterminal"},{"include":"#terminal"}],"applyEndPatternLast":true}],"endCaptures":{"1":{"name":"keyword.operator.assignment.rule.goldgrm"},"2":{"name":"keyword.operator.assignment.attribute.goldgrm"},"3":{"name":"keyword.operator.assignment.property.goldgrm"}}},"main":{"patterns":[{"include":"#comments"},{"include":"#production"},{"include":"#setName"},{"include":"#setNameInnards"},{"include":"#nonterminal"},{"include":"#terminal"}]},"nonterminal":{"name":"meta.nonterminal.goldgrm","contentName":"entity.name.tag.nonterminal.goldgrm","begin":"\u003c","end":"\u003e","beginCaptures":{"0":{"name":"punctuation.definition.tag.nonterminal.begin.goldgrm"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.nonterminal.end.goldgrm"}}},"operators":{"patterns":[{"name":"keyword.operator.combinator.add.goldgrm","match":"\\+"},{"name":"keyword.operator.combinator.remove.goldgrm","match":"-"}]},"production":{"name":"meta.production.declaration.goldgrm","begin":"(?x)\n(?= \u003c [^\u003c\u003e]* \u003e \\s* :* =\n| { [^{}]*? } \\s* @? =\n| \" [^\"]* \" \\s* @? =\n| (?!\\s) [-.\\s\\w]+? \\s* @? =\n)","end":"(?!\\G)","patterns":[{"include":"#lhs"},{"include":"#rhs"}],"applyEndPatternLast":true},"quantifiers":{"patterns":[{"name":"keyword.operator.quantifier.repetition.kleene-closure.goldgrm","match":"\\*"},{"name":"keyword.operator.quantifier.repitition.optional.goldgrm","match":"\\?"}]},"range":{"name":"keyword.operator.range.splat.spread.goldgrm","match":"(?\u003c!\\[)\\.\\.(?!\\])"},"rhs":{"name":"meta.rhs.goldgrm","begin":"(?\u003c==)","end":"(?x) ^\n(?=\\s*[^!\\s])\n(?=\n\t\\s*\n\t(?: \" [^\"]* \"\n\t| \u003c [^\u003c\u003e]* \u003e\n\t| { [^{}]* }\n\t| (?!\\s)[^{}\u003c\u003e\\[(|)\\]*+?!:=\"']+?\n\t) \\s* :* =\n)","patterns":[{"include":"#attributes"},{"include":"#rhsInnards"}]},"rhsInnards":{"patterns":[{"include":"#comments"},{"include":"#subexpression"},{"include":"#operators"},{"include":"#quantifiers"},{"include":"#alternation"},{"include":"#setName"},{"include":"#nonterminal"},{"include":"#string"},{"include":"#set"},{"include":"#terminal"}]},"set":{"name":"string.regexp.character-class.goldgrm","begin":"\\[","end":"\\]","patterns":[{"include":"#range"},{"include":"#stringSingle"},{"name":"constant.character.single.character-class.goldgrm","match":"[^\\[\\]']"}],"beginCaptures":{"0":{"name":"punctuation.definition.character-class.set.begin.goldgrm"}},"endCaptures":{"0":{"name":"punctuation.definition.character-class.set.end.goldgrm"}}},"setName":{"name":"meta.set-name.goldgrm","contentName":"entity.name.set.goldgrm","begin":"{","end":"}","patterns":[{"include":"#setNameInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.set.bracket.curly.begin.goldgrm"}},"endCaptures":{"0":{"name":"punctuation.definition.set.bracket.curly.end.goldgrm"}}},"setNameInnards":{"patterns":[{"include":"#constants"},{"include":"#charsets"},{"include":"#codepoint"},{"include":"#range"}]},"string":{"patterns":[{"include":"#stringDouble"},{"include":"#stringSingle"}]},"stringDouble":{"name":"string.quoted.double.goldgrm","begin":"\"","end":"\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.goldgrm"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.goldgrm"}}},"stringSingle":{"patterns":[{"name":"constant.character.escape.quote.goldgrm","match":"''"},{"name":"string.quoted.single.goldgrm","begin":"'","end":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.goldgrm"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.goldgrm"}}}]},"subexpression":{"name":"meta.expression.group.goldgrm","begin":"\\(","end":"\\)","patterns":[{"include":"#rhsInnards"}],"beginCaptures":{"0":{"name":"punctuation.section.expression.begin.goldgrm"}},"endCaptures":{"0":{"name":"punctuation.section.expression.end.goldgrm"}}},"terminal":{"patterns":[{"name":"meta.group-name.goldgrm","match":"([-.\\w]+)\\s+([-.\\w]+)(?=\\s*(?:$|@?=|::=|!))","captures":{"1":{"name":"entity.name.container.goldgrm"},"2":{"name":"storage.type.role.${2:/downcase}.goldgrm"}}},{"name":"entity.name.terminal.goldgrm","match":"[-.\\w]+(?:\\s+[-.\\w]+)*+"}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"GSC","scopeName":"source.gsc","patterns":[{"include":"#code"}],"repository":{"block":{"patterns":[{"name":"meta.block.source.gsc","begin":"{","end":"}","patterns":[{"include":"#code"}],"beginCaptures":{"0":{"name":"punctuation.section.block.begin.source.gsc"}},"endCaptures":{"0":{"name":"punctuation.section.block.end.source.gsc"}}},{"name":"meta.devblock.source.gsc","begin":"/#","end":"#/","patterns":[{"include":"#code"}],"beginCaptures":{"0":{"name":"punctuation.section.block.begin.source.gsc"}},"endCaptures":{"0":{"name":"punctuation.section.block.end.source.gsc"}}}]},"code":{"patterns":[{"include":"#block"},{"include":"#comments"},{"include":"#constants"},{"include":"#keywords"},{"include":"#preprocessor"},{"include":"#documentation"},{"include":"#supports"}]},"comments":{"patterns":[{"name":"comment.block.gsc","begin":"/\\*","end":"\\*/\\n?"},{"name":"comment.line.double-slash.gsc","match":"//.*$\\n?"}]},"constants":{"patterns":[{"name":"constant.numeric.source.gsc","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"},{"name":"string.quoted.double.literal.source.gsc","match":"@\"([^\"]|\"\")*\"","captures":{"0":{"name":"punctuation.definition.string.begin.source.gsc"}}},{"name":"string.quoted.double.source.gsc","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.source.gsc","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.source.gsc"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.source.gsc"}}},{"name":"constant.language.source.gsc","match":"\\b(undefined|false|true|self|world|classes|level|game|anim|vararg)\\b"}]},"documentation":{"patterns":[{"name":"comment.block.documentation.gsc","begin":"/@","end":"@/"}]},"keywords":{"patterns":[{"name":"keyword.control.source.gsc","match":"\\b(if|else|while|for|foreach|in|do|return|continue|break|switch|case|default)\\b"},{"name":"keyword.operator.source.gsc","match":"\\b(size|assert|assertmsg|notify|endon)\\b"},{"name":"keyword.other.source.gsc","match":"\\b(class|function|var|wait|thread|waittill|waittillmatch|waittillframeend|isdefined|constructor|destructor|autoexec|private|const)\\b"}]},"preprocessor":{"patterns":[{"name":"keyword.preprocessor.source.gsc","match":"^\\s*#\\s*(define)\\b\\s*(\\S*)","captures":{"2":{"name":"entity.name.function.preprocessor.source.gsc"}}},{"name":"keyword.preprocessor.source.gsc","match":"^\\s*#\\s*(if|ifdef|ifndef|else|elif|endif|define|insert|using|precache|using_animtree)\\b","captures":{"2":{"name":"keyword.control.import.source.gsc"}}},{"name":"keyword.preprocessor.source.gsc","match":"^\\s*#\\s*(namespace)\\b","captures":{"2":{"name":"meta.namespace.identifier"}}}]}}}
|