@shikijs/langs-precompiled 1.26.0 → 1.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/dist/abap.mjs +1 -1
  2. package/dist/actionscript-3.mjs +1 -1
  3. package/dist/angular-expression.mjs +1 -1
  4. package/dist/angular-let-declaration.mjs +1 -1
  5. package/dist/angular-ts.mjs +1 -1
  6. package/dist/apex.mjs +1 -1
  7. package/dist/apl.mjs +1 -1
  8. package/dist/applescript.mjs +1 -1
  9. package/dist/ara.mjs +1 -1
  10. package/dist/asm.mjs +1 -1
  11. package/dist/astro.mjs +1 -1
  12. package/dist/awk.mjs +1 -1
  13. package/dist/ballerina.mjs +1 -1
  14. package/dist/beancount.mjs +1 -1
  15. package/dist/berry.mjs +1 -1
  16. package/dist/bicep.mjs +1 -1
  17. package/dist/blade.mjs +1 -1
  18. package/dist/c.mjs +1 -1
  19. package/dist/cadence.mjs +1 -1
  20. package/dist/cairo.mjs +1 -1
  21. package/dist/clojure.mjs +1 -1
  22. package/dist/cobol.mjs +1 -1
  23. package/dist/codeql.mjs +2 -6
  24. package/dist/coffee.mjs +1 -1
  25. package/dist/common-lisp.mjs +1 -1
  26. package/dist/coq.mjs +1 -1
  27. package/dist/cpp-macro.mjs +1 -1
  28. package/dist/cpp.mjs +1 -1
  29. package/dist/crystal.mjs +1 -1
  30. package/dist/css.mjs +1 -1
  31. package/dist/cue.mjs +1 -1
  32. package/dist/d.mjs +1 -1
  33. package/dist/dart.mjs +1 -1
  34. package/dist/dax.mjs +1 -1
  35. package/dist/dotenv.mjs +1 -1
  36. package/dist/dream-maker.mjs +1 -1
  37. package/dist/elm.mjs +1 -1
  38. package/dist/emacs-lisp.mjs +1 -1
  39. package/dist/fish.mjs +1 -1
  40. package/dist/fluent.mjs +1 -1
  41. package/dist/fortran-free-form.mjs +1 -1
  42. package/dist/fsharp.mjs +1 -1
  43. package/dist/gdresource.mjs +1 -1
  44. package/dist/gdscript.mjs +1 -1
  45. package/dist/genie.mjs +1 -1
  46. package/dist/gleam.mjs +1 -1
  47. package/dist/glimmer-js.mjs +1 -1
  48. package/dist/glimmer-ts.mjs +1 -1
  49. package/dist/gnuplot.mjs +1 -1
  50. package/dist/go.mjs +1 -1
  51. package/dist/graphql.mjs +1 -1
  52. package/dist/groovy.mjs +1 -1
  53. package/dist/hack.mjs +10 -2
  54. package/dist/handlebars.mjs +1 -1
  55. package/dist/haskell.mjs +1 -1
  56. package/dist/haxe.mjs +1 -1
  57. package/dist/hcl.mjs +1 -1
  58. package/dist/hlsl.mjs +1 -1
  59. package/dist/html.mjs +1 -1
  60. package/dist/http.mjs +1 -1
  61. package/dist/hy.mjs +1 -1
  62. package/dist/imba.mjs +1 -1
  63. package/dist/index.d.mts +3 -1
  64. package/dist/index.mjs +90 -6
  65. package/dist/java.mjs +1 -1
  66. package/dist/javascript.mjs +1 -1
  67. package/dist/jinja.mjs +1 -1
  68. package/dist/jison.mjs +1 -1
  69. package/dist/jssm.mjs +1 -1
  70. package/dist/jsx.mjs +1 -1
  71. package/dist/julia.mjs +1 -1
  72. package/dist/kusto.mjs +1 -1
  73. package/dist/lean.mjs +1 -1
  74. package/dist/less.mjs +1 -1
  75. package/dist/liquid.mjs +1 -1
  76. package/dist/log.mjs +1 -1
  77. package/dist/lua.mjs +1 -1
  78. package/dist/luau.mjs +1 -1
  79. package/dist/markdown.mjs +1 -1
  80. package/dist/matlab.mjs +1 -1
  81. package/dist/mdc.mjs +1 -1
  82. package/dist/mdx.mjs +1 -1
  83. package/dist/mermaid.mjs +1 -1
  84. package/dist/mipsasm.mjs +1 -1
  85. package/dist/mojo.mjs +1 -1
  86. package/dist/move.mjs +1 -1
  87. package/dist/nextflow.mjs +1 -1
  88. package/dist/nginx.mjs +1 -1
  89. package/dist/nim.mjs +1 -1
  90. package/dist/nix.mjs +1 -1
  91. package/dist/nushell.mjs +1 -1
  92. package/dist/objective-c.mjs +1 -1
  93. package/dist/objective-cpp.mjs +1 -1
  94. package/dist/ocaml.mjs +1 -1
  95. package/dist/perl.mjs +1 -1
  96. package/dist/php.mjs +1 -1
  97. package/dist/polar.mjs +1 -1
  98. package/dist/postcss.mjs +1 -1
  99. package/dist/powershell.mjs +1 -1
  100. package/dist/prisma.mjs +1 -1
  101. package/dist/prolog.mjs +1 -1
  102. package/dist/proto.mjs +1 -1
  103. package/dist/pug.mjs +1 -1
  104. package/dist/puppet.mjs +1 -1
  105. package/dist/python.mjs +1 -1
  106. package/dist/r.mjs +1 -1
  107. package/dist/racket.mjs +1 -1
  108. package/dist/reg.mjs +1 -1
  109. package/dist/regexp.mjs +1 -1
  110. package/dist/rel.mjs +1 -1
  111. package/dist/riscv.mjs +1 -1
  112. package/dist/ruby.mjs +1 -1
  113. package/dist/sas.mjs +1 -1
  114. package/dist/sass.mjs +2 -4
  115. package/dist/scala.mjs +1 -1
  116. package/dist/scheme.mjs +1 -1
  117. package/dist/shaderlab.mjs +1 -1
  118. package/dist/shellscript.mjs +1 -1
  119. package/dist/smalltalk.mjs +1 -1
  120. package/dist/solidity.mjs +1 -1
  121. package/dist/ssh-config.mjs +1 -1
  122. package/dist/stata.mjs +1 -1
  123. package/dist/stylus.mjs +1 -1
  124. package/dist/svelte.mjs +1 -1
  125. package/dist/system-verilog.mjs +1 -1
  126. package/dist/systemd.mjs +1 -1
  127. package/dist/tcl.mjs +1 -1
  128. package/dist/templ.mjs +1 -1
  129. package/dist/terraform.mjs +1 -1
  130. package/dist/tex.mjs +1 -1
  131. package/dist/toml.mjs +1 -1
  132. package/dist/tsx.mjs +1 -1
  133. package/dist/turtle.mjs +1 -1
  134. package/dist/twig.mjs +1 -1
  135. package/dist/typescript.mjs +1 -1
  136. package/dist/typespec.mjs +1 -1
  137. package/dist/typst.mjs +1 -1
  138. package/dist/v.mjs +1 -1
  139. package/dist/vala.mjs +1 -1
  140. package/dist/vb.mjs +1 -1
  141. package/dist/verilog.mjs +1 -1
  142. package/dist/vhdl.mjs +1 -1
  143. package/dist/viml.mjs +1 -1
  144. package/dist/vue-html.mjs +1 -1
  145. package/dist/vue.mjs +1 -1
  146. package/dist/vyper.mjs +1 -1
  147. package/dist/wasm.mjs +1 -1
  148. package/dist/wgsl.mjs +1 -1
  149. package/dist/wikitext.mjs +1 -1
  150. package/dist/wolfram.mjs +1 -1
  151. package/dist/xml.mjs +1 -1
  152. package/dist/yaml.mjs +1 -1
  153. package/dist/zenscript.mjs +1 -1
  154. package/dist/zig.mjs +1 -1
  155. package/package.json +4 -4
package/dist/jinja.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import jinja_html from './jinja-html.mjs'
2
2
 
3
- const lang = Object.freeze({displayName:"Jinja",foldingStartMarker:/(\{%\p{space}*(block|filter|for|if|macro|raw))/dgv,foldingStopMarker:/(\{%\p{space}*(endblock|endfilter|endfor|endif|endmacro|endraw)\p{space}*%\})/dgv,name:"jinja",patterns:[{begin:/(\{%)\p{space}*(raw)\p{space}*(%\})/dgv,captures:{"1":{name:"entity.other.jinja.delimiter.tag"},"2":{name:"keyword.control.jinja"},"3":{name:"entity.other.jinja.delimiter.tag"}},end:/(\{%)\p{space}*(endraw)\p{space}*(%\})/dgv,name:"comment.block.jinja.raw"},{include:"#comments"},{begin:/\{\{-?/dgv,captures:[{name:"variable.entity.other.jinja.delimiter"}],end:/-?\}\}/dgv,name:"variable.meta.scope.jinja",patterns:[{include:"#expression"}]},{begin:/\{%-?/dgv,captures:[{name:"entity.other.jinja.delimiter.tag"}],end:/-?%\}/dgv,name:"meta.scope.jinja.tag",patterns:[{include:"#expression"}]}],repository:{comments:{begin:/\{#-?/dgv,captures:[{name:"entity.other.jinja.delimiter.comment"}],end:/-?#\}/dgv,name:"comment.block.jinja",patterns:[{include:"#comments"}]},escaped_char:{match:/\\x[0-9A-F]{2}/dgv,name:"constant.character.escape.hex.jinja"},escaped_unicode_char:{captures:{"1":{name:"constant.character.escape.unicode.16-bit-hex.jinja"},"2":{name:"constant.character.escape.unicode.32-bit-hex.jinja"},"3":{name:"constant.character.escape.unicode.name.jinja"}},match:/(\\U[0-9A-Fa-f]{8})|(\\u[0-9A-Fa-f]{4})|(\\N\{[a-zA-Z ]+\})/dgv},expression:{patterns:[{captures:{"1":{name:"keyword.control.jinja"},"2":{name:"variable.other.jinja.block"}},match:/\p{space}*\b(block)\p{space}+([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv},{captures:{"1":{name:"keyword.control.jinja"},"2":{name:"variable.other.jinja.filter"}},match:/\p{space}*\b(filter)\p{space}+([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv},{captures:{"1":{name:"keyword.control.jinja"},"2":{name:"variable.other.jinja.test"}},match:/\p{space}*\b(is)\p{space}+([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv},{captures:{"1":{name:"keyword.control.jinja"}},match:/(?<=\{%-|\{%)\p{space}*\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(?!\p{space}*[\,\=])/dgv},{match:/\b(and|else|if|in|import|not|or|recursive|with(out)?\p{space}+context)\b/dgv,name:"keyword.control.jinja"},{match:/\b(true|false|none)\b/dgv,name:"constant.language.jinja"},{match:/\b(loop|super|self|varargs|kwargs)\b/dgv,name:"variable.language.jinja"},{match:/[a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.other.jinja"},{match:/(\+|-|\*\*|\*|\/\/|\/|%)/dgv,name:"keyword.operator.arithmetic.jinja"},{captures:{"1":{name:"punctuation.other.jinja"},"2":{name:"variable.other.jinja.filter"}},match:/(\|)([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{captures:{"1":{name:"punctuation.other.jinja"},"2":{name:"variable.other.jinja.attribute"}},match:/(\.)([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{begin:/\[/dgv,captures:[{name:"punctuation.other.jinja"}],end:/\]/dgv,patterns:[{include:"#expression"}]},{begin:/\(/dgv,captures:[{name:"punctuation.other.jinja"}],end:/\)/dgv,patterns:[{include:"#expression"}]},{begin:/\{/dgv,captures:[{name:"punctuation.other.jinja"}],end:/\}/dgv,patterns:[{include:"#expression"}]},{match:/(\.|:|\||,)/dgv,name:"punctuation.other.jinja"},{match:/(==|<=|=>|<|>|!=)/dgv,name:"keyword.operator.comparison.jinja"},{match:/=/dgv,name:"keyword.operator.assignment.jinja"},{begin:/"/dgv,beginCaptures:[{name:"punctuation.definition.string.begin.jinja"}],end:/"/dgv,endCaptures:[{name:"punctuation.definition.string.end.jinja"}],name:"string.quoted.double.jinja",patterns:[{include:"#string"}]},{begin:/'/dgv,beginCaptures:[{name:"punctuation.definition.string.begin.jinja"}],end:/'/dgv,endCaptures:[{name:"punctuation.definition.string.end.jinja"}],name:"string.quoted.single.jinja",patterns:[{include:"#string"}]},{begin:/@\//dgv,beginCaptures:[{name:"punctuation.definition.regexp.begin.jinja"}],end:/\//dgv,endCaptures:[{name:"punctuation.definition.regexp.end.jinja"}],name:"string.regexp.jinja",patterns:[{include:"#simple_escapes"}]}]},simple_escapes:{captures:{"1":{name:"constant.character.escape.newline.jinja"},"2":{name:"constant.character.escape.backlash.jinja"},"3":{name:"constant.character.escape.double-quote.jinja"},"4":{name:"constant.character.escape.single-quote.jinja"},"5":{name:"constant.character.escape.bell.jinja"},"6":{name:"constant.character.escape.backspace.jinja"},"7":{name:"constant.character.escape.formfeed.jinja"},"8":{name:"constant.character.escape.linefeed.jinja"},"9":{name:"constant.character.escape.return.jinja"},"10":{name:"constant.character.escape.tab.jinja"},"11":{name:"constant.character.escape.vertical-tab.jinja"}},match:/(\\\n)|(\\\\)|(\\")|(\\')|(\\a)|(\\b)|(\\f)|(\\n)|(\\r)|(\\t)|(\\v)/dgv},string:{patterns:[{include:"#simple_escapes"},{include:"#escaped_char"},{include:"#escaped_unicode_char"}]}},scopeName:"source.jinja",embeddedLangs:["jinja-html"],aliases:undefined})
3
+ const lang = Object.freeze({displayName:"Jinja",foldingStartMarker:/(\{%\p{space}*(block|filter|for|if|macro|raw))/dgv,foldingStopMarker:/(\{%\p{space}*(endblock|endfilter|endfor|endif|endmacro|endraw)\p{space}*%\})/dgv,name:"jinja",patterns:[{begin:/(\{%)\p{space}*(raw)\p{space}*(%\})/dgv,captures:{"1":{name:"entity.other.jinja.delimiter.tag"},"2":{name:"keyword.control.jinja"},"3":{name:"entity.other.jinja.delimiter.tag"}},end:/(\{%)\p{space}*(endraw)\p{space}*(%\})/dgv,name:"comment.block.jinja.raw"},{include:"#comments"},{begin:/\{\{-?/dgv,captures:[{name:"variable.entity.other.jinja.delimiter"}],end:/-?\}\}/dgv,name:"variable.meta.scope.jinja",patterns:[{include:"#expression"}]},{begin:/\{%-?/dgv,captures:[{name:"entity.other.jinja.delimiter.tag"}],end:/-?%\}/dgv,name:"meta.scope.jinja.tag",patterns:[{include:"#expression"}]}],repository:{comments:{begin:/\{#-?/dgv,captures:[{name:"entity.other.jinja.delimiter.comment"}],end:/-?#\}/dgv,name:"comment.block.jinja",patterns:[{include:"#comments"}]},escaped_char:{match:/\\x[0-9A-F]{2}/dgv,name:"constant.character.escape.hex.jinja"},escaped_unicode_char:{captures:{"1":{name:"constant.character.escape.unicode.16-bit-hex.jinja"},"2":{name:"constant.character.escape.unicode.32-bit-hex.jinja"},"3":{name:"constant.character.escape.unicode.name.jinja"}},match:/(\\U[0-9A-Fa-f]{8})|(\\u[0-9A-Fa-f]{4})|(\\N\{[a-zA-Z ]+\})/dgv},expression:{patterns:[{captures:{"1":{name:"keyword.control.jinja"},"2":{name:"variable.other.jinja.block"}},match:/\p{space}*\b(block)\p{space}+([a-zA-Z_][a-zA-Z0-9_]*)\b/dgv},{captures:{"1":{name:"keyword.control.jinja"},"2":{name:"variable.other.jinja.filter"}},match:/\p{space}*\b(filter)\p{space}+([a-zA-Z_][a-zA-Z0-9_]*)\b/dgv},{captures:{"1":{name:"keyword.control.jinja"},"2":{name:"variable.other.jinja.test"}},match:/\p{space}*\b(is)\p{space}+([a-zA-Z_][a-zA-Z0-9_]*)\b/dgv},{captures:{"1":{name:"keyword.control.jinja"}},match:/(?<=\{%-|\{%)\p{space}*\b([a-zA-Z_][a-zA-Z0-9_]*)\b(?!\p{space}*[\,\=])/dgv},{match:/\b(and|else|if|in|import|not|or|recursive|with(out)?\p{space}+context)\b/dgv,name:"keyword.control.jinja"},{match:/\b(true|false|none)\b/dgv,name:"constant.language.jinja"},{match:/\b(loop|super|self|varargs|kwargs)\b/dgv,name:"variable.language.jinja"},{match:/[a-zA-Z_][a-zA-Z0-9_]*/dgv,name:"variable.other.jinja"},{match:/(\+|-|\*\*|\*|\/\/|\/|%)/dgv,name:"keyword.operator.arithmetic.jinja"},{captures:{"1":{name:"punctuation.other.jinja"},"2":{name:"variable.other.jinja.filter"}},match:/(\|)([a-zA-Z_][a-zA-Z0-9_]*)/dgv},{captures:{"1":{name:"punctuation.other.jinja"},"2":{name:"variable.other.jinja.attribute"}},match:/(\.)([a-zA-Z_][a-zA-Z0-9_]*)/dgv},{begin:/\[/dgv,captures:[{name:"punctuation.other.jinja"}],end:/\]/dgv,patterns:[{include:"#expression"}]},{begin:/\(/dgv,captures:[{name:"punctuation.other.jinja"}],end:/\)/dgv,patterns:[{include:"#expression"}]},{begin:/\{/dgv,captures:[{name:"punctuation.other.jinja"}],end:/\}/dgv,patterns:[{include:"#expression"}]},{match:/(\.|:|\||,)/dgv,name:"punctuation.other.jinja"},{match:/(==|<=|=>|<|>|!=)/dgv,name:"keyword.operator.comparison.jinja"},{match:/=/dgv,name:"keyword.operator.assignment.jinja"},{begin:/"/dgv,beginCaptures:[{name:"punctuation.definition.string.begin.jinja"}],end:/"/dgv,endCaptures:[{name:"punctuation.definition.string.end.jinja"}],name:"string.quoted.double.jinja",patterns:[{include:"#string"}]},{begin:/'/dgv,beginCaptures:[{name:"punctuation.definition.string.begin.jinja"}],end:/'/dgv,endCaptures:[{name:"punctuation.definition.string.end.jinja"}],name:"string.quoted.single.jinja",patterns:[{include:"#string"}]},{begin:/@\//dgv,beginCaptures:[{name:"punctuation.definition.regexp.begin.jinja"}],end:/\//dgv,endCaptures:[{name:"punctuation.definition.regexp.end.jinja"}],name:"string.regexp.jinja",patterns:[{include:"#simple_escapes"}]}]},simple_escapes:{captures:{"1":{name:"constant.character.escape.newline.jinja"},"2":{name:"constant.character.escape.backlash.jinja"},"3":{name:"constant.character.escape.double-quote.jinja"},"4":{name:"constant.character.escape.single-quote.jinja"},"5":{name:"constant.character.escape.bell.jinja"},"6":{name:"constant.character.escape.backspace.jinja"},"7":{name:"constant.character.escape.formfeed.jinja"},"8":{name:"constant.character.escape.linefeed.jinja"},"9":{name:"constant.character.escape.return.jinja"},"10":{name:"constant.character.escape.tab.jinja"},"11":{name:"constant.character.escape.vertical-tab.jinja"}},match:/(\\\n)|(\\\\)|(\\")|(\\')|(\\a)|(\\b)|(\\f)|(\\n)|(\\r)|(\\t)|(\\v)/dgv},string:{patterns:[{include:"#simple_escapes"},{include:"#escaped_char"},{include:"#escaped_unicode_char"}]}},scopeName:"source.jinja",embeddedLangs:["jinja-html"],aliases:undefined})
4
4
 
5
5
  export default [
6
6
  ...jinja_html,
package/dist/jison.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import javascript from './javascript.mjs'
2
2
 
3
- const lang = Object.freeze({displayName:"Jison",fileTypes:["jison"],injections:{"L:(meta.action.jison - (comment | string)), source.js.embedded.jison - (comment | string), source.js.embedded.source - (comment | string.quoted.double | string.quoted.single)":{patterns:[{match:"\\${2}",name:"variable.language.semantic-value.jison"},{match:"@\\$",name:"variable.language.result-location.jison"},{match:"##\\$|\\byysp\\b",name:"variable.language.stack-index-0.jison"},{match:"#\\S+#",name:"support.variable.token-reference.jison"},{match:"#\\$",name:"variable.language.result-id.jison"},{match:"\\$(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)",name:"support.variable.token-value.jison"},{match:"@(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)",name:"support.variable.token-location.jison"},{match:"##(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)",name:"support.variable.stack-index.jison"},{match:"#(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)",name:"support.variable.token-id.jison"},{match:"\\byy(?:l(?:eng|ineno|oc|stack)|rulelength|s(?:tate|s?tack)|text|vstack)\\b",name:"variable.language.jison"},{match:"\\byy(?:clearin|erro[kr])\\b",name:"keyword.other.jison"}]}},name:"jison",patterns:[{begin:/%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jison"}},end:/$/dgv,patterns:[{begin:/%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jison"}},end:/$/dgv,patterns:[{begin:/(?:)/dgv,contentName:"source.js.embedded.jison",end:/$/dgv,name:"meta.section.epilogue.jison",patterns:[{include:"#epilogue_section"}]}]},{begin:/(?:)/dgv,end:/(?=%%)/dgv,name:"meta.section.rules.jison",patterns:[{include:"#rules_section"}]}]},{begin:/(?<=^|\n(?!$))/dgv,end:/(?=%%)/dgv,name:"meta.section.declarations.jison",patterns:[{include:"#declarations_section"}]}],repository:{actions:{patterns:[{begin:/\{\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.action.begin.jison"}},contentName:"source.js.embedded.jison",end:/\}\}/dgv,endCaptures:{"0":{name:"punctuation.definition.action.end.jison"}},name:"meta.action.jison",patterns:[{include:"source.js"}]},{begin:/(?=%\{)/dgv,end:/(?<=%\})/dgv,name:"meta.action.jison",patterns:[{include:"#user_code_blocks"}]}]},comments:{patterns:[{begin:/\/\//dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.jison"}},end:/(?=$|\n)/dgv,name:"comment.line.double-slash.jison"},{begin:/\/\*/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.jison"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.jison"}},name:"comment.block.jison"}]},declarations_section:{patterns:[{include:"#comments"},{begin:/(?<=^|\n(?!$))\p{space}*(%lex)\p{space}*(?=$|\n)/dgv,beginCaptures:{"1":{name:"entity.name.tag.lexer.begin.jison"}},end:/(?<=^|\n(?!$))\p{space}*(\/lex)\b/dgv,endCaptures:{"1":{name:"entity.name.tag.lexer.end.jison"}},patterns:[{begin:/%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jisonlex"}},end:/(?=\/lex)/dgv,patterns:[{begin:/(?<=^|\n(?!$))%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jisonlex"}},end:/(?=\/lex)/dgv,patterns:[{begin:/(?:)/dgv,contentName:"source.js.embedded.jisonlex",end:/(?=\/lex)/dgv,name:"meta.section.user-code.jisonlex",patterns:[{include:"source.jisonlex#user_code_section"}]}]},{begin:/(?:)/dgv,end:/(?<=^|\n(?!$))(?=%%|\/lex)/dgv,name:"meta.section.rules.jisonlex",patterns:[{include:"source.jisonlex#rules_section"}]}]},{begin:/(?<=^|\n(?!$))/dgv,end:/(?=%%|\/lex)/dgv,name:"meta.section.definitions.jisonlex",patterns:[{include:"source.jisonlex#definitions_section"}]}]},{begin:/(?=%\{)/dgv,end:/(?<=%\})/dgv,name:"meta.section.prologue.jison",patterns:[{include:"#user_code_blocks"}]},{include:"#options_declarations"},{match:/%(ebnf|left|nonassoc|parse-param|right|start)\b/dgv,name:"keyword.other.declaration.$1.jison"},{include:"#include_declarations"},{begin:/%(code)\b/dgv,beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},end:/(?=$|\n)/dgv,name:"meta.code.jison",patterns:[{include:"#comments"},{include:"#rule_actions"},{match:/(init|required)/dgv,name:"keyword.other.code-qualifier.$1.jison"},{include:"#quoted_strings"},{match:/\b[A-Za-z_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"string.unquoted.jison"}]},{begin:/%(parser-type)\b/dgv,beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},end:/(?=$|\n)/dgv,name:"meta.parser-type.jison",patterns:[{include:"#comments"},{include:"#quoted_strings"},{match:/\b[A-Za-z_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"string.unquoted.jison"}]},{begin:/%(token)\b/dgv,beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},end:/(?=$|\n)|(%%|;)/dgv,endCaptures:{"1":{name:"punctuation.terminator.declaration.token.jison"}},name:"meta.token.jison",patterns:[{include:"#comments"},{include:"#numbers"},{include:"#quoted_strings"},{match:/<[A-Za-z_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?>/dgv,name:"invalid.unimplemented.jison"},{match:/\P{space}+/dgv,name:"entity.other.token.jison"}]},{match:/%(debug|import)\b/dgv,name:"keyword.other.declaration.$1.jison"},{match:/%prec\b/dgv,name:"invalid.illegal.jison"},{match:/%[A-Za-z_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"invalid.unimplemented.jison"},{include:"#numbers"},{include:"#quoted_strings"}]},epilogue_section:{patterns:[{include:"#user_code_include_declarations"},{include:"source.js"}]},include_declarations:{patterns:[{begin:/(%(include))\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.declaration.$2.jison"}},end:/(?<=['"])|(?=\p{space})/dgv,name:"meta.include.jison",patterns:[{include:"#include_paths"}]}]},include_paths:{patterns:[{include:"#quoted_strings"},{begin:/(?=\P{space})/dgv,end:/(?=\p{space})/dgv,name:"string.unquoted.jison",patterns:[{include:"source.js#string_escapes"}]}]},numbers:{patterns:[{captures:{"1":{name:"storage.type.number.jison"},"2":{name:"constant.numeric.integer.hexadecimal.jison"}},match:/(0[Xx])([0-9A-Fa-f]+)/dgv},{match:/\p{Nd}+/dgv,name:"constant.numeric.integer.decimal.jison"}]},options_declarations:{patterns:[{begin:/%options\b/dgv,beginCaptures:{"0":{name:"keyword.other.options.jison"}},end:/(?<=^|\n(?!$))(?=\P{space}|\p{space}*(?=$|\n))/dgv,name:"meta.options.jison",patterns:[{include:"#comments"},{match:/\b[A-Za-z_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"entity.name.constant.jison"},{begin:/(=)\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.operator.option.assignment.jison"}},end:/(?<=['"])|(?=\p{space})/dgv,patterns:[{include:"#comments"},{match:/\b(true|false)\b/dgv,name:"constant.language.boolean.$1.jison"},{include:"#numbers"},{include:"#quoted_strings"},{match:/\P{space}+/dgv,name:"string.unquoted.jison"}]},{include:"#quoted_strings"}]}]},quoted_strings:{patterns:[{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.jison",patterns:[{include:"source.js#string_escapes"}]},{begin:/'/dgv,end:/'/dgv,name:"string.quoted.single.jison",patterns:[{include:"source.js#string_escapes"}]}]},rule_actions:{patterns:[{include:"#actions"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.action.begin.jison"}},contentName:"source.js.embedded.jison",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.action.end.jison"}},name:"meta.action.jison",patterns:[{include:"source.js"}]},{include:"#include_declarations"},{begin:/->|→/dgv,beginCaptures:{"0":{name:"punctuation.definition.action.arrow.jison"}},contentName:"source.js.embedded.jison",end:/(?=$|\n)/dgv,name:"meta.action.jison",patterns:[{include:"source.js"}]}]},rules_section:{patterns:[{include:"#comments"},{include:"#actions"},{include:"#include_declarations"},{begin:/\b[A-Za-z_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,beginCaptures:{"0":{name:"entity.name.constant.rule-result.jison"}},end:/;/dgv,endCaptures:{"0":{name:"punctuation.terminator.rule.jison"}},name:"meta.rule.jison",patterns:[{include:"#comments"},{begin:/:/dgv,beginCaptures:{"0":{name:"keyword.operator.rule-components.assignment.jison"}},end:/(?=;)/dgv,name:"meta.rule-components.jison",patterns:[{include:"#comments"},{include:"#quoted_strings"},{captures:{"1":{name:"punctuation.definition.named-reference.begin.jison"},"2":{name:"entity.name.other.reference.jison"},"3":{name:"punctuation.definition.named-reference.end.jison"}},match:/(\[)([A-Za-z_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?)(\])/dgv},{begin:/(%(prec))\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.$2.jison"}},end:/(?<=['"])|(?=\p{space})/dgv,name:"meta.prec.jison",patterns:[{include:"#comments"},{include:"#quoted_strings"},{begin:/(?=\P{space})/dgv,end:/(?=\p{space})/dgv,name:"constant.other.token.jison"}]},{match:/\|/dgv,name:"keyword.operator.rule-components.separator.jison"},{match:/\b(?:EOF|error)\b/dgv,name:"keyword.other.$0.jison"},{match:/(?:%e(?:mpty|psilon)|\b[Ɛɛεϵ])\b/dgv,name:"keyword.other.empty.jison"},{include:"#rule_actions"}]}]}]},user_code_blocks:{patterns:[{begin:/%\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.user-code-block.begin.jison"}},contentName:"source.js.embedded.jison",end:/%\}/dgv,endCaptures:{"0":{name:"punctuation.definition.user-code-block.end.jison"}},name:"meta.user-code-block.jison",patterns:[{include:"source.js"}]}]},user_code_include_declarations:{patterns:[{begin:/(?<=^|\n(?!$))(%(include))\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.declaration.$2.jison"}},end:/(?<=['"])|(?=\p{space})/dgv,name:"meta.include.jison",patterns:[{include:"#include_paths"}]}]}},scopeName:"source.jison",embeddedLangs:["javascript"],aliases:undefined})
3
+ const lang = Object.freeze({displayName:"Jison",fileTypes:["jison"],injections:{"L:(meta.action.jison - (comment | string)), source.js.embedded.jison - (comment | string), source.js.embedded.source - (comment | string.quoted.double | string.quoted.single)":{patterns:[{match:"\\${2}",name:"variable.language.semantic-value.jison"},{match:"@\\$",name:"variable.language.result-location.jison"},{match:"##\\$|\\byysp\\b",name:"variable.language.stack-index-0.jison"},{match:"#\\S+#",name:"support.variable.token-reference.jison"},{match:"#\\$",name:"variable.language.result-id.jison"},{match:"\\$(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)",name:"support.variable.token-value.jison"},{match:"@(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)",name:"support.variable.token-location.jison"},{match:"##(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)",name:"support.variable.stack-index.jison"},{match:"#(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)",name:"support.variable.token-id.jison"},{match:"\\byy(?:l(?:eng|ineno|oc|stack)|rulelength|s(?:tate|s?tack)|text|vstack)\\b",name:"variable.language.jison"},{match:"\\byy(?:clearin|erro[kr])\\b",name:"keyword.other.jison"}]}},name:"jison",patterns:[{begin:/%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jison"}},end:/$/dgv,patterns:[{begin:/%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jison"}},end:/$/dgv,patterns:[{begin:/(?:)/dgv,contentName:"source.js.embedded.jison",end:/$/dgv,name:"meta.section.epilogue.jison",patterns:[{include:"#epilogue_section"}]}]},{begin:/(?:)/dgv,end:/(?=%%)/dgv,name:"meta.section.rules.jison",patterns:[{include:"#rules_section"}]}]},{begin:/(?<=^|\n(?!$))/dgv,end:/(?=%%)/dgv,name:"meta.section.declarations.jison",patterns:[{include:"#declarations_section"}]}],repository:{actions:{patterns:[{begin:/\{\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.action.begin.jison"}},contentName:"source.js.embedded.jison",end:/\}\}/dgv,endCaptures:{"0":{name:"punctuation.definition.action.end.jison"}},name:"meta.action.jison",patterns:[{include:"source.js"}]},{begin:/(?=%\{)/dgv,end:/(?<=%\})/dgv,name:"meta.action.jison",patterns:[{include:"#user_code_blocks"}]}]},comments:{patterns:[{begin:/\/\//dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.jison"}},end:/(?=$|\n)/dgv,name:"comment.line.double-slash.jison"},{begin:/\/\*/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.jison"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.jison"}},name:"comment.block.jison"}]},declarations_section:{patterns:[{include:"#comments"},{begin:/(?<=^|\n(?!$))\p{space}*(%lex)\p{space}*(?=$|\n)/dgv,beginCaptures:{"1":{name:"entity.name.tag.lexer.begin.jison"}},end:/(?<=^|\n(?!$))\p{space}*(\/lex)\b/dgv,endCaptures:{"1":{name:"entity.name.tag.lexer.end.jison"}},patterns:[{begin:/%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jisonlex"}},end:/(?=\/lex)/dgv,patterns:[{begin:/(?<=^|\n(?!$))%%/dgv,beginCaptures:{"0":{name:"meta.separator.section.jisonlex"}},end:/(?=\/lex)/dgv,patterns:[{begin:/(?:)/dgv,contentName:"source.js.embedded.jisonlex",end:/(?=\/lex)/dgv,name:"meta.section.user-code.jisonlex",patterns:[{include:"source.jisonlex#user_code_section"}]}]},{begin:/(?:)/dgv,end:/(?<=^|\n(?!$))(?=%%|\/lex)/dgv,name:"meta.section.rules.jisonlex",patterns:[{include:"source.jisonlex#rules_section"}]}]},{begin:/(?<=^|\n(?!$))/dgv,end:/(?=%%|\/lex)/dgv,name:"meta.section.definitions.jisonlex",patterns:[{include:"source.jisonlex#definitions_section"}]}]},{begin:/(?=%\{)/dgv,end:/(?<=%\})/dgv,name:"meta.section.prologue.jison",patterns:[{include:"#user_code_blocks"}]},{include:"#options_declarations"},{match:/%(ebnf|left|nonassoc|parse-param|right|start)\b/dgv,name:"keyword.other.declaration.$1.jison"},{include:"#include_declarations"},{begin:/%(code)\b/dgv,beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},end:/(?=$|\n)/dgv,name:"meta.code.jison",patterns:[{include:"#comments"},{include:"#rule_actions"},{match:/(init|required)/dgv,name:"keyword.other.code-qualifier.$1.jison"},{include:"#quoted_strings"},{match:/\b[\p{Alpha}_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"string.unquoted.jison"}]},{begin:/%(parser-type)\b/dgv,beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},end:/(?=$|\n)/dgv,name:"meta.parser-type.jison",patterns:[{include:"#comments"},{include:"#quoted_strings"},{match:/\b[\p{Alpha}_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"string.unquoted.jison"}]},{begin:/%(token)\b/dgv,beginCaptures:{"0":{name:"keyword.other.declaration.$1.jison"}},end:/(?=$|\n)|(%%|;)/dgv,endCaptures:{"1":{name:"punctuation.terminator.declaration.token.jison"}},name:"meta.token.jison",patterns:[{include:"#comments"},{include:"#numbers"},{include:"#quoted_strings"},{match:/<[\p{Alpha}_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?>/dgv,name:"invalid.unimplemented.jison"},{match:/\P{space}+/dgv,name:"entity.other.token.jison"}]},{match:/%(debug|import)\b/dgv,name:"keyword.other.declaration.$1.jison"},{match:/%prec\b/dgv,name:"invalid.illegal.jison"},{match:/%[\p{Alpha}_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"invalid.unimplemented.jison"},{include:"#numbers"},{include:"#quoted_strings"}]},epilogue_section:{patterns:[{include:"#user_code_include_declarations"},{include:"source.js"}]},include_declarations:{patterns:[{begin:/(%(include))\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.declaration.$2.jison"}},end:/(?<=['"])|(?=\p{space})/dgv,name:"meta.include.jison",patterns:[{include:"#include_paths"}]}]},include_paths:{patterns:[{include:"#quoted_strings"},{begin:/(?=\P{space})/dgv,end:/(?=\p{space})/dgv,name:"string.unquoted.jison",patterns:[{include:"source.js#string_escapes"}]}]},numbers:{patterns:[{captures:{"1":{name:"storage.type.number.jison"},"2":{name:"constant.numeric.integer.hexadecimal.jison"}},match:/(0[Xx])([0-9A-Fa-f]+)/dgv},{match:/\p{Nd}+/dgv,name:"constant.numeric.integer.decimal.jison"}]},options_declarations:{patterns:[{begin:/%options\b/dgv,beginCaptures:{"0":{name:"keyword.other.options.jison"}},end:/(?<=^|\n(?!$))(?=\P{space}|\p{space}*(?=$|\n))/dgv,name:"meta.options.jison",patterns:[{include:"#comments"},{match:/\b[\p{Alpha}_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,name:"entity.name.constant.jison"},{begin:/(=)\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.operator.option.assignment.jison"}},end:/(?<=['"])|(?=\p{space})/dgv,patterns:[{include:"#comments"},{match:/\b(true|false)\b/dgv,name:"constant.language.boolean.$1.jison"},{include:"#numbers"},{include:"#quoted_strings"},{match:/\P{space}+/dgv,name:"string.unquoted.jison"}]},{include:"#quoted_strings"}]}]},quoted_strings:{patterns:[{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.jison",patterns:[{include:"source.js#string_escapes"}]},{begin:/'/dgv,end:/'/dgv,name:"string.quoted.single.jison",patterns:[{include:"source.js#string_escapes"}]}]},rule_actions:{patterns:[{include:"#actions"},{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.action.begin.jison"}},contentName:"source.js.embedded.jison",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.action.end.jison"}},name:"meta.action.jison",patterns:[{include:"source.js"}]},{include:"#include_declarations"},{begin:/->|→/dgv,beginCaptures:{"0":{name:"punctuation.definition.action.arrow.jison"}},contentName:"source.js.embedded.jison",end:/(?=$|\n)/dgv,name:"meta.action.jison",patterns:[{include:"source.js"}]}]},rules_section:{patterns:[{include:"#comments"},{include:"#actions"},{include:"#include_declarations"},{begin:/\b[\p{Alpha}_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?\b/dgv,beginCaptures:{"0":{name:"entity.name.constant.rule-result.jison"}},end:/;/dgv,endCaptures:{"0":{name:"punctuation.terminator.rule.jison"}},name:"meta.rule.jison",patterns:[{include:"#comments"},{begin:/:/dgv,beginCaptures:{"0":{name:"keyword.operator.rule-components.assignment.jison"}},end:/(?=;)/dgv,name:"meta.rule-components.jison",patterns:[{include:"#comments"},{include:"#quoted_strings"},{captures:{"1":{name:"punctuation.definition.named-reference.begin.jison"},"2":{name:"entity.name.other.reference.jison"},"3":{name:"punctuation.definition.named-reference.end.jison"}},match:/(\[)([\p{Alpha}_](?:[\p{L}\p{M}\p{N}\p{Pc}\-]*[\p{L}\p{M}\p{N}\p{Pc}])?)(\])/dgv},{begin:/(%(prec))\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.$2.jison"}},end:/(?<=['"])|(?=\p{space})/dgv,name:"meta.prec.jison",patterns:[{include:"#comments"},{include:"#quoted_strings"},{begin:/(?=\P{space})/dgv,end:/(?=\p{space})/dgv,name:"constant.other.token.jison"}]},{match:/\|/dgv,name:"keyword.operator.rule-components.separator.jison"},{match:/\b(?:EOF|error)\b/dgv,name:"keyword.other.$0.jison"},{match:/(?:%e(?:mpty|psilon)|\b[Ɛɛεϵ])\b/dgv,name:"keyword.other.empty.jison"},{include:"#rule_actions"}]}]}]},user_code_blocks:{patterns:[{begin:/%\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.user-code-block.begin.jison"}},contentName:"source.js.embedded.jison",end:/%\}/dgv,endCaptures:{"0":{name:"punctuation.definition.user-code-block.end.jison"}},name:"meta.user-code-block.jison",patterns:[{include:"source.js"}]}]},user_code_include_declarations:{patterns:[{begin:/(?<=^|\n(?!$))(%(include))\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.other.declaration.$2.jison"}},end:/(?<=['"])|(?=\p{space})/dgv,name:"meta.include.jison",patterns:[{include:"#include_paths"}]}]}},scopeName:"source.jison",embeddedLangs:["javascript"],aliases:undefined})
4
4
 
5
5
  export default [
6
6
  ...javascript,
package/dist/jssm.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const lang = Object.freeze({displayName:"JSSM",fileTypes:["jssm","jssm_state"],name:"jssm",patterns:[{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.mn"}},comment:"block comment",end:/\*\//dgv,name:"comment.block.jssm"},{begin:/\/\//dgv,comment:"block comment",end:/(?=$|\n)/dgv,name:"comment.line.jssm"},{begin:/\$\{/dgv,captures:{"0":{name:"entity.name.function"}},comment:"js outcalls",end:/\}/dgv,name:"keyword.other"},{comment:"semver",match:/(\p{Nd}*)(\.)(\p{Nd}*)(\.)(\p{Nd}*)/dgv,name:"constant.numeric"},{comment:"jssm language tokens",match:/graph_layout(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{comment:"jssm language tokens",match:/machine_name(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{comment:"jssm language tokens",match:/machine_version(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{comment:"jssm language tokens",match:/jssm_version(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{comment:"transitions",match:/<->/dgv,name:"keyword.control.transition.jssmArrow.legal_legal"},{comment:"transitions",match:/<-/dgv,name:"keyword.control.transition.jssmArrow.legal_none"},{comment:"transitions",match:/->/dgv,name:"keyword.control.transition.jssmArrow.none_legal"},{comment:"transitions",match:/<=>/dgv,name:"keyword.control.transition.jssmArrow.main_main"},{comment:"transitions",match:/=>/dgv,name:"keyword.control.transition.jssmArrow.none_main"},{comment:"transitions",match:/<=/dgv,name:"keyword.control.transition.jssmArrow.main_none"},{comment:"transitions",match:/<~>/dgv,name:"keyword.control.transition.jssmArrow.forced_forced"},{comment:"transitions",match:/~>/dgv,name:"keyword.control.transition.jssmArrow.none_forced"},{comment:"transitions",match:/<~/dgv,name:"keyword.control.transition.jssmArrow.forced_none"},{comment:"transitions",match:/<-=>/dgv,name:"keyword.control.transition.jssmArrow.legal_main"},{comment:"transitions",match:/<=->/dgv,name:"keyword.control.transition.jssmArrow.main_legal"},{comment:"transitions",match:/<-~>/dgv,name:"keyword.control.transition.jssmArrow.legal_forced"},{comment:"transitions",match:/<~->/dgv,name:"keyword.control.transition.jssmArrow.forced_legal"},{comment:"transitions",match:/<=~>/dgv,name:"keyword.control.transition.jssmArrow.main_forced"},{comment:"transitions",match:/<~=>/dgv,name:"keyword.control.transition.jssmArrow.forced_main"},{comment:"edge probability annotation",match:/(\p{Nd}+)%/dgv,name:"constant.numeric.jssmProbability"},{comment:"action annotation",match:/'[^']*'/dgv,name:"constant.character.jssmAction"},{comment:"jssm label annotation",match:/"[^"]*"/dgv,name:"entity.name.tag.jssmLabel.doublequoted"},{comment:"jssm label annotation",match:/([a-zA-Z0-9_\.\+\&\(\)\#\@\!\?\,])/dgv,name:"entity.name.tag.jssmLabel.atom"}],scopeName:"source.jssm",embeddedLangs:undefined,aliases:["fsl"]})
1
+ const lang = Object.freeze({displayName:"JSSM",fileTypes:["jssm","jssm_state"],name:"jssm",patterns:[{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.mn"}},comment:"block comment",end:/\*\//dgv,name:"comment.block.jssm"},{begin:/\/\//dgv,comment:"block comment",end:/(?=$|\n)/dgv,name:"comment.line.jssm"},{begin:/\$\{/dgv,captures:{"0":{name:"entity.name.function"}},comment:"js outcalls",end:/\}/dgv,name:"keyword.other"},{comment:"semver",match:/([0-9]*)(\.)([0-9]*)(\.)([0-9]*)/dgv,name:"constant.numeric"},{comment:"jssm language tokens",match:/graph_layout(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{comment:"jssm language tokens",match:/machine_name(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{comment:"jssm language tokens",match:/machine_version(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{comment:"jssm language tokens",match:/jssm_version(\p{space}*)(:)/dgv,name:"constant.language.jssmLanguage"},{comment:"transitions",match:/<->/dgv,name:"keyword.control.transition.jssmArrow.legal_legal"},{comment:"transitions",match:/<-/dgv,name:"keyword.control.transition.jssmArrow.legal_none"},{comment:"transitions",match:/->/dgv,name:"keyword.control.transition.jssmArrow.none_legal"},{comment:"transitions",match:/<=>/dgv,name:"keyword.control.transition.jssmArrow.main_main"},{comment:"transitions",match:/=>/dgv,name:"keyword.control.transition.jssmArrow.none_main"},{comment:"transitions",match:/<=/dgv,name:"keyword.control.transition.jssmArrow.main_none"},{comment:"transitions",match:/<~>/dgv,name:"keyword.control.transition.jssmArrow.forced_forced"},{comment:"transitions",match:/~>/dgv,name:"keyword.control.transition.jssmArrow.none_forced"},{comment:"transitions",match:/<~/dgv,name:"keyword.control.transition.jssmArrow.forced_none"},{comment:"transitions",match:/<-=>/dgv,name:"keyword.control.transition.jssmArrow.legal_main"},{comment:"transitions",match:/<=->/dgv,name:"keyword.control.transition.jssmArrow.main_legal"},{comment:"transitions",match:/<-~>/dgv,name:"keyword.control.transition.jssmArrow.legal_forced"},{comment:"transitions",match:/<~->/dgv,name:"keyword.control.transition.jssmArrow.forced_legal"},{comment:"transitions",match:/<=~>/dgv,name:"keyword.control.transition.jssmArrow.main_forced"},{comment:"transitions",match:/<~=>/dgv,name:"keyword.control.transition.jssmArrow.forced_main"},{comment:"edge probability annotation",match:/([0-9]+)%/dgv,name:"constant.numeric.jssmProbability"},{comment:"action annotation",match:/'[^']*'/dgv,name:"constant.character.jssmAction"},{comment:"jssm label annotation",match:/"[^"]*"/dgv,name:"entity.name.tag.jssmLabel.doublequoted"},{comment:"jssm label annotation",match:/([a-zA-Z0-9_\.\+\&\(\)\#\@\!\?\,])/dgv,name:"entity.name.tag.jssmLabel.atom"}],scopeName:"source.jssm",embeddedLangs:undefined,aliases:["fsl"]})
2
2
 
3
3
  export default [
4
4
  lang