github-linguist 9.4.0 → 9.5.0

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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/source.4dm.json +1 -1
  3. data/grammars/source.abl.json +1 -1
  4. data/grammars/source.astro.json +1 -1
  5. data/grammars/source.c3.json +1 -1
  6. data/grammars/source.cmake.json +1 -1
  7. data/grammars/source.cmakecache.json +1 -1
  8. data/grammars/source.cpan-mirror.json +1 -0
  9. data/grammars/source.cpan-skiplist.json +1 -0
  10. data/grammars/source.dart.json +1 -1
  11. data/grammars/source.data-weave.json +1 -1
  12. data/grammars/source.firrtl.json +1 -1
  13. data/grammars/source.flatbuffers.json +1 -0
  14. data/grammars/source.ilecobol.json +1 -1
  15. data/grammars/source.jac.json +1 -1
  16. data/grammars/source.julia.json +1 -1
  17. data/grammars/source.just.json +1 -1
  18. data/grammars/source.lean4.markdown.json +1 -1
  19. data/grammars/source.liquidsoap.json +1 -0
  20. data/grammars/source.llvm.json +1 -1
  21. data/grammars/source.luau.json +1 -1
  22. data/grammars/source.mc.json +1 -1
  23. data/grammars/source.mermaid.json +1 -1
  24. data/grammars/source.metta.json +1 -0
  25. data/grammars/source.mojo.json +1 -1
  26. data/grammars/source.moonbit.json +1 -1
  27. data/grammars/source.move.json +1 -1
  28. data/grammars/source.rego.json +1 -1
  29. data/grammars/source.ron.json +1 -1
  30. data/grammars/source.rpgle.json +1 -1
  31. data/grammars/source.slint.json +1 -1
  32. data/grammars/source.stan.json +1 -1
  33. data/grammars/source.swift.json +1 -1
  34. data/grammars/source.tsp.json +1 -1
  35. data/grammars/source.vento.json +1 -1
  36. data/grammars/text.srt.json +1 -1
  37. data/grammars/version +1 -1
  38. data/lib/linguist/VERSION +1 -1
  39. data/lib/linguist/languages.json +1 -1
  40. data/lib/linguist/languages.yml +34 -0
  41. data/lib/linguist/samples.json +1 -1
  42. data/lib/linguist/source/rugged.rb +16 -1
  43. metadata +6 -3
  44. data/grammars/source.vscode.c3.json +0 -1
  45. data/grammars/text.html.vento.json +0 -1
@@ -1 +1 @@
1
- {"name":"FIRRTL","scopeName":"source.firrtl","patterns":[{"include":"#version"},{"include":"#circuit"},{"include":"#declaration"},{"include":"#statement"},{"include":"#comment"},{"include":"#file_info"}],"repository":{"circuit":{"match":"^(circuit)\\s+(\\w+)\\s*:","captures":{"1":{"name":"storage.type.class.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"comment":{"name":"comment.line.character.firrtl","match":";.*$"},"declaration":{"patterns":[{"include":"#module"},{"include":"#extmodule"},{"include":"#layer"},{"include":"#type_decl"},{"include":"#port"},{"include":"#wire_or_register"},{"include":"#node"},{"include":"#instance"},{"include":"#memory"}]},"expression":{"patterns":[{"include":"#expression_literal"},{"include":"#expression_primop"},{"include":"#expression_primop_deprecated"},{"include":"#property_literal"},{"include":"#format_string"}]},"expression_literal":{"match":"(([US]Int|Analog)(\u003c(\\d+)\u003e)?\\(.+\\))","captures":{"1":{"name":"constant.numeric.firrtl"}}},"expression_primop":{"begin":"(add|sub|mul|div|rem|lt|leq|gt|geq|eq|neq|pad|asAsyncReset|asUInt|asSInt|asClock|shl|shr|dshl|dshr|cvt|neg|not|and|or|xor|andr|orr|xorr|cat|bits|head|tail|mux|probe|rwprobe|read)\\(","end":"\\)","patterns":[{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.operator.firrtl"}}},"expression_primop_deprecated":{"begin":"(asFixedPoint|bpshl|bpshr|bpset|validif)\\(","end":"\\)","patterns":[{"include":"#expression"}],"beginCaptures":{"1":{"name":"invalid.deprecated.firrtl"}}},"extmodule":{"match":"(extmodule)\\s+(\\w+)\\s*:","captures":{"1":{"name":"storage.modifier.firrtl"},"2":{"name":"storage.type.class.firrtl"},"3":{"name":"entity.name.type.firrtl"}}},"file_info":{"name":"comment.line.character.firrtl","match":"(@\\[.*\\])"},"format_string":{"name":"string.quoted.double.firrtl","begin":"\"","end":"\"","patterns":[{"name":"variable.other.firrtl","match":"%[bdx%]"},{"name":"variable.other.firrtl","match":"\\\\[nt\\\\\"']"}]},"instance":{"name":"keyword.other.firrtl","match":"inst\\s+(\\w+)\\s+of\\s+","captures":{"1":{"name":"entity.name.type.firrtl"}}},"layer":{"match":"(layer)\\s+(\\w+)\\s*,?\\s*(\\w*)","captures":{"1":{"name":"storage.type.class.firrtl"},"2":{"name":"entity.name.type.firrtl"},"3":{"name":"storage.modifier.firrtl"}}},"memory":{"match":"(mem)\\s+(\\w+)","captures":{"1":{"name":"storage.type.class.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"module":{"match":"^\\s*(public\\s+)?(module)\\s+(\\w+)\\s*:","captures":{"1":{"name":"storage.modifier.firrtl"},"2":{"name":"storage.type.class.firrtl"},"3":{"name":"entity.name.type.firrtl"}}},"node":{"match":"(node)\\s+(\\w+)\\s*","captures":{"1":{"name":"storage.type.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"port":{"begin":"(input|output)\\s+(\\w+)\\s*:","end":"$","patterns":[{"include":"#type"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"storage.type.port.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"property_literal":{"name":"constant.numeric.firrtl","match":"Integer\\((\\d+)\\)"},"statement":{"patterns":[{"include":"#statement_generic"},{"include":"#statement_memory_config"},{"include":"#statement_extmodule_config"}]},"statement_extmodule_config":{"patterns":[{"match":"(parameter)\\s+(\\w+)","captures":{"1":{"name":"keyword.other.firrtl"}}}]},"statement_generic":{"begin":"(connect|invalidate|attach\\(|propassign|skip|when|else(\\s+when)?|stop|printf|assert|assume|cover|layerblock|define|force(_initial)?|release(_initial)?)","end":"$","patterns":[{"include":"#expression"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}}},"statement_memory_config":{"patterns":[{"begin":"(data-type)\\s*=\u003e","end":"$","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}}},{"match":"(depth|reader|writer|read-latency|write-latency)\\s*=\u003e\\s*\\w+","captures":{"1":{"name":"keyword.other.firrtl"}}},{"match":"(read-under-write)\\s*=\u003e\\s*(old|new|undefined)","captures":{"1":{"name":"keyword.other.firrtl"},"2":{"name":"keyword.other.firrtl"}}}]},"type":{"patterns":[{"include":"#type_ground_nowidth"},{"include":"#type_ground_width"},{"include":"#type_bundle"},{"include":"#type_probe"},{"include":"#type_enum"},{"include":"#type_property"}]},"type_bundle":{"name":"meta.type.bundle.firrtl","begin":"(const\\s+)?{","end":"}","patterns":[{"include":"#type_bundle_field"},{"include":"#type"}],"captures":{"1":{"name":"storage.modifier.firrtl"}}},"type_bundle_field":{"match":"(flip\\s+)?(\\w+)\\s*:","captures":{"1":{"name":"storage.modifier.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"type_decl":{"begin":"(type)\\s+(\\w+)\\s*=","end":"$","patterns":[{"include":"#type"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"storage.type.port.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"type_enum":{"begin":"({\\|)","end":"(\\|})","patterns":[{"include":"#type"}],"captures":{"1":{"name":"storage.type.firrtl"}}},"type_ground_nowidth":{"name":"storage.type.firrtl","match":"(const\\s+)?(Clock|Reset|AsyncReset)","captures":{"1":{"name":"storage.modifier.firrtl"}}},"type_ground_width":{"name":"storage.type.firrtl","match":"(const\\s+)?([US]Int|Analog)(\u003c(\\d+)\u003e)?","captures":{"1":{"name":"storage.modifier.firrtl"},"4":{"name":"constant.numeric.firrtl"}}},"type_probe":{"begin":"((RW)?Probe\u003c)","end":"(\u003e)","patterns":[{"include":"#type"}],"captures":{"1":{"name":"storage.type.firrtl"}}},"type_property":{"name":"storage.type.firrtl","match":"Integer"},"version":{"name":"comment.line.character.firrtl","match":"^FIRRTL version \\d+\\.\\d+\\.\\d+$"},"wire_or_register":{"begin":"(wire|reg|regreset)\\s+(\\w+)\\s*:","end":"$","patterns":[{"include":"#type"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"storage.type.firrtl"},"2":{"name":"entity.name.type.firrtl"}}}}}
1
+ {"name":"FIRRTL","scopeName":"source.firrtl","patterns":[{"include":"#version"},{"include":"#circuit"},{"include":"#annotations"},{"include":"#declaration"},{"include":"#statement"},{"include":"#comment"},{"include":"#file_info"}],"repository":{"annotations":{"name":"meta.annotation.firrtl","begin":"%\\[","end":"\\]","patterns":[{"include":"#comment"}]},"circuit":{"match":"^(circuit)\\s+(\\w+|`[\\w]+`)\\s*:","captures":{"1":{"name":"storage.type.class.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"comment":{"name":"comment.line.character.firrtl","match":";.*$"},"declaration":{"patterns":[{"include":"#formal"},{"include":"#module"},{"include":"#extmodule"},{"include":"#layer"},{"include":"#type_decl"},{"include":"#port"},{"include":"#wire_or_register"},{"include":"#node"},{"include":"#instance"},{"include":"#memory"}]},"expression":{"patterns":[{"include":"#expression_mux"},{"include":"#expression_enum"},{"include":"#expression_intrinsic"},{"include":"#expression_primop"},{"include":"#expression_primop_deprecated"},{"include":"#expression_probe"},{"include":"#expression_literal"},{"include":"#expression_radix_literal"},{"include":"#expression_reference"}]},"expression_enum":{"begin":"\\{\\|","end":"\\|\\}\\s*\\(\\s*(\\w+|`[\\w]+`)(?:\\s*,\\s*)?","patterns":[{"include":"#type_enum_variant"},{"include":"#type"}],"endCaptures":{"1":{"name":"variable.other.firrtl"}}},"expression_intrinsic":{"begin":"\\b(intrinsic)\\s*\\(","end":"\\)","patterns":[{"include":"#intrinsic_spec"},{"include":"#expression"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}}},"expression_literal":{"match":"\\b([US]Int|Analog)(?:\u003c(\\d+)\u003e)?\\s*\\(\\s*([+-]?\\d+)\\s*\\)","captures":{"1":{"name":"storage.type.firrtl"},"2":{"name":"constant.numeric.firrtl"},"3":{"name":"constant.numeric.firrtl"}}},"expression_mux":{"begin":"\\b(mux)\\s*\\(","end":"\\)","patterns":[{"include":"#expression"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.operator.firrtl"}}},"expression_primop":{"begin":"\\b(add|sub|mul|div|rem|lt|leq|gt|geq|eq|neq|pad|asAsyncReset|asReset|asUInt|asSInt|asClock|shl|shr|dshl|dshr|cvt|neg|not|and|or|xor|andr|orr|xorr|cat|bits|head|tail)\\s*\\(","end":"\\)","patterns":[{"include":"#expression"},{"name":"constant.numeric.firrtl","match":"\\d+"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.operator.firrtl"}}},"expression_primop_deprecated":{"begin":"\\b(asFixedPoint|bpshl|bpshr|bpset|validif)\\s*\\(","end":"\\)","patterns":[{"include":"#expression"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"invalid.deprecated.firrtl"}}},"expression_probe":{"begin":"\\b(probe|rwprobe|read)\\s*\\(","end":"\\)","patterns":[{"include":"#expression"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.operator.firrtl"}}},"expression_radix_literal":{"match":"\\b([US]Int|Analog)(?:\u003c(\\d+)\u003e)?\\s*\\(\\s*([+-]?0[bodh][0-9a-fA-F_]+)\\s*\\)","captures":{"1":{"name":"storage.type.firrtl"},"2":{"name":"constant.numeric.firrtl"},"3":{"name":"constant.numeric.firrtl"}}},"expression_reference":{"name":"variable.other.firrtl","match":"\\b(\\w+|`[\\w]+`)\\b"},"extmodule":{"begin":"^\\s*(extmodule)\\s+(\\w+|`[\\w]+`)","end":":","patterns":[{"match":"\\b(enablelayer)\\s+([\\w.]+)","captures":{"1":{"name":"keyword.control.firrtl"},"2":{"name":"entity.name.class.firrtl"}}},{"match":"\\b(knownlayer)\\s+([\\w.]+(?:\\s*,\\s*[\\w.]+)*)","captures":{"1":{"name":"keyword.control.firrtl"},"2":{"name":"entity.name.class.firrtl"}}}],"beginCaptures":{"1":{"name":"storage.type.class.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"file_info":{"name":"comment.line.character.firrtl","match":"@\\[[^\\]]+\\]"},"formal":{"match":"^\\s*(formal)\\s+(\\w+|`[\\w]+`)\\s+(of)\\s+(\\w+|`[\\w]+`)\\s*:","captures":{"1":{"name":"storage.type.class.firrtl"},"2":{"name":"entity.name.type.firrtl"},"3":{"name":"keyword.other.firrtl"},"4":{"name":"entity.name.type.firrtl"}}},"format_string":{"patterns":[{"name":"string.quoted.double.firrtl","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.firrtl","match":"%[bdx%]"},{"name":"constant.character.escape.firrtl","match":"\\\\[nt\\\\\"']"}]},{"name":"string.quoted.single.firrtl","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.firrtl","match":"\\\\[nt\\\\\"']"}]}]},"instance":{"match":"^\\s*(inst)\\s+(\\w+|`[\\w]+`)\\s+(of)\\s+(\\w+|`[\\w]+`)","captures":{"1":{"name":"keyword.other.firrtl"},"2":{"name":"entity.name.type.firrtl"},"3":{"name":"keyword.other.firrtl"},"4":{"name":"entity.name.type.firrtl"}}},"intrinsic_spec":{"begin":"(\\w+)\\s*(?:\u003c([^\u003e]+)\u003e)?(?:\\s*:\\s*)?","end":"(?=,|\\))","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"entity.name.function.firrtl"},"2":{"patterns":[{"match":"(\\w+)\\s*=\\s*(\\d+|\"[^\"]*\")","captures":{"1":{"name":"variable.parameter.firrtl"},"2":{"name":"constant.other.firrtl"}}}]}}},"layer":{"match":"^\\s*(layer)\\s+(\\w+|`[\\w]+`)\\s*,\\s*(bind|inline)\\s*:","captures":{"1":{"name":"keyword.declaration.firrtl"},"2":{"name":"entity.name.class.firrtl"},"3":{"name":"storage.modifier.firrtl"}}},"memory":{"match":"^\\s*(mem)\\s+(\\w+|`[\\w]+`)\\s*:","captures":{"1":{"name":"storage.type.class.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"module":{"begin":"^\\s*(public\\s+)?(module)\\s+(\\w+|`[\\w]+`)","end":":","patterns":[{"match":"\\b(enablelayer)\\s+([\\w.]+)","captures":{"1":{"name":"keyword.control.firrtl"},"2":{"name":"entity.name.class.firrtl"}}}],"beginCaptures":{"1":{"name":"storage.modifier.firrtl"},"2":{"name":"storage.type.class.firrtl"},"3":{"name":"entity.name.type.firrtl"}}},"node":{"begin":"^\\s*(node)\\s+(\\w+|`[\\w]+`)\\s*=","end":"$","patterns":[{"include":"#expression"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"storage.type.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"port":{"begin":"^\\s*(input|output)\\s+(\\w+|`[\\w]+`)\\s*:","end":"$","patterns":[{"include":"#type"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"storage.type.port.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"property_expression":{"patterns":[{"include":"#property_literal"},{"include":"#property_primop"},{"include":"#expression_reference"}]},"property_literal":{"match":"\\b(Integer)\\s*\\(\\s*([+-]?\\d+)\\s*\\)","captures":{"1":{"name":"storage.type.firrtl"},"2":{"name":"constant.numeric.firrtl"}}},"property_primop":{"begin":"\\b(integer_add|integer_mul|integer_shl|integer_shr|list_concat|List)\\s*(?:\u003c([^\u003e]+)\u003e)?\\s*\\(","end":"\\)","patterns":[{"include":"#property_expression"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.operator.firrtl"},"2":{"patterns":[{"include":"#type_property"}]}}},"statement":{"patterns":[{"include":"#statement_when"},{"include":"#statement_else"},{"include":"#statement_match"},{"include":"#statement_match_case"},{"include":"#statement_printf"},{"include":"#statement_fprintf"},{"include":"#statement_fflush"},{"include":"#statement_verification"},{"include":"#statement_stop"},{"include":"#statement_force"},{"include":"#statement_layerblock"},{"include":"#statement_intrinsic"},{"include":"#statement_connectlike"},{"include":"#statement_memory_config"},{"include":"#statement_extmodule_config"},{"include":"#statement_skip"}]},"statement_connectlike":{"patterns":[{"begin":"^\\s*(connect|invalidate|propassign)\\s+","end":"$","patterns":[{"include":"#expression"},{"include":"#property_expression"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}}},{"begin":"^\\s*(attach)\\s*\\(","end":"\\)","patterns":[{"include":"#expression"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}}},{"begin":"^\\s*(define)\\s+","end":"$","patterns":[{"include":"#expression"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}}},{"begin":"^\\s*","end":"$","patterns":[{"name":"keyword.operator.legacy.firrtl","match":"(\u003c=)"},{"include":"#expression"},{"include":"#comment"},{"include":"#file_info"}]},{"begin":"^\\s*","end":"$","patterns":[{"name":"keyword.operator.legacy.firrtl","match":"(\u003c-)"},{"include":"#expression"},{"include":"#comment"},{"include":"#file_info"}]},{"match":"^\\s*(.+?)\\s+(is)\\s+(invalid)\\b","captures":{"1":{"patterns":[{"include":"#expression"}]},"2":{"name":"keyword.operator.legacy.firrtl"},"3":{"name":"keyword.operator.legacy.firrtl"}}}]},"statement_else":{"patterns":[{"begin":"^\\s*(else)\\s+(when)\\s+","end":"$","patterns":[{"include":"#expression"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"keyword.control.firrtl"},"2":{"name":"keyword.control.firrtl"}}},{"match":"^\\s*(else)\\s*:","captures":{"1":{"name":"keyword.control.firrtl"}}}]},"statement_extmodule_config":{"patterns":[{"match":"^\\s*(defname)\\s*=\\s*(\\w+|`[\\w]+`)","captures":{"1":{"name":"keyword.other.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},{"begin":"^\\s*(parameter)\\s+(\\w+|`[\\w]+`)\\s*=","end":"$","patterns":[{"include":"#format_string"},{"name":"constant.numeric.firrtl","match":"\\d+"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"},"2":{"name":"variable.parameter.firrtl"}}}]},"statement_fflush":{"begin":"^\\s*(fflush)\\s*\\(","end":"\\)(?:\\s*:\\s*(\\w+|`[\\w]+`))?","patterns":[{"include":"#expression"},{"include":"#format_string"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}},"endCaptures":{"1":{"name":"entity.name.type.firrtl"}}},"statement_force":{"begin":"^\\s*(force|force_initial|release|release_initial)\\s*\\(","end":"\\)","patterns":[{"include":"#expression"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}}},"statement_fprintf":{"begin":"^\\s*(fprintf)\\s*\\(","end":"\\)(?:\\s*:\\s*(\\w+|`[\\w]+`))?","patterns":[{"include":"#expression"},{"include":"#format_string"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}},"endCaptures":{"1":{"name":"entity.name.type.firrtl"}}},"statement_intrinsic":{"name":"meta.intrinsic.firrtl","begin":"^\\s*intrinsic\\s*\\(","end":"\\)","patterns":[{"include":"#intrinsic_spec"},{"include":"#expression"},{"include":"#comment"}]},"statement_layerblock":{"match":"^\\s*(layerblock)\\s+([\\w.]+|`[\\w]+`)\\s*:","captures":{"1":{"name":"keyword.declaration.firrtl"},"2":{"name":"entity.name.class.firrtl"}}},"statement_match":{"begin":"^\\s*(match)\\s+","end":"$","patterns":[{"include":"#expression"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"keyword.control.firrtl"}}},"statement_match_case":{"match":"^\\s*(\\w+|`[\\w]+`)(?:\\s*\\(\\s*(\\w+|`[\\w]+`)\\s*\\))?\\s*:","captures":{"1":{"name":"variable.other.firrtl"},"2":{"name":"variable.parameter.firrtl"}}},"statement_memory_config":{"patterns":[{"begin":"^\\s*(data-type)\\s*=\u003e","end":"$","patterns":[{"include":"#type"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}}},{"match":"^\\s*(depth|reader|writer|readwriter|read-latency|write-latency)\\s*=\u003e\\s*(\\w+|`[\\w]+`)","captures":{"1":{"name":"keyword.other.firrtl"},"2":{"name":"constant.numeric.firrtl"}}},{"match":"^\\s*(read-under-write)\\s*=\u003e\\s*(old|new|undefined)","captures":{"1":{"name":"keyword.other.firrtl"},"2":{"name":"keyword.other.firrtl"}}}]},"statement_printf":{"begin":"^\\s*(printf)\\s*\\(","end":"\\)(?:\\s*:\\s*(\\w+|`[\\w]+`))?","patterns":[{"include":"#expression"},{"include":"#format_string"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}},"endCaptures":{"1":{"name":"entity.name.type.firrtl"}}},"statement_skip":{"match":"^\\s*(skip)\\b","captures":{"1":{"name":"keyword.other.firrtl"}}},"statement_stop":{"begin":"^\\s*(stop)\\s*\\(","end":"\\)","patterns":[{"include":"#expression"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}}},"statement_verification":{"begin":"^\\s*(assert|assume|cover)\\s*\\(","end":"\\)(?:\\s*:\\s*(\\w+|`[\\w]+`))?","patterns":[{"include":"#expression"},{"include":"#format_string"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"}},"endCaptures":{"1":{"name":"entity.name.type.firrtl"}}},"statement_when":{"begin":"^\\s*(when)\\s+","end":"$","patterns":[{"include":"#expression"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"keyword.control.firrtl"}}},"type":{"patterns":[{"include":"#type_property"},{"include":"#type_probe"},{"include":"#type_enum"},{"include":"#type_bundle"},{"include":"#type_ground_nowidth"},{"include":"#type_ground_width"},{"include":"#type_alias_ref"}]},"type_alias_ref":{"name":"entity.name.type.firrtl","match":"\\b(\\w+|`[\\w]+`)\\b"},"type_bundle":{"name":"meta.type.bundle.firrtl","begin":"(const\\s+)?\\{(?!\\|)","end":"\\}","patterns":[{"include":"#type_bundle_field"},{"include":"#type"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"storage.modifier.firrtl"}}},"type_bundle_field":{"match":"(flip\\s+)?(\\w+|`[\\w]+`)\\s*:","captures":{"1":{"name":"storage.modifier.firrtl"},"2":{"name":"variable.other.firrtl"}}},"type_decl":{"begin":"^\\s*(type)\\s+(\\w+|`[\\w]+`)\\s*=","end":"$","patterns":[{"include":"#type"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"keyword.other.firrtl"},"2":{"name":"entity.name.type.firrtl"}}},"type_enum":{"name":"meta.type.enum.firrtl","begin":"\\{\\|","end":"\\|\\}","patterns":[{"include":"#type_enum_variant"},{"include":"#type"},{"include":"#comment"}]},"type_enum_variant":{"match":"(\\w+|`[\\w]+`)\\s*(:)?","captures":{"1":{"name":"variable.other.firrtl"},"2":{"name":"punctuation.separator.firrtl"}}},"type_ground_nowidth":{"match":"(const\\s+)?(Clock|Reset|AsyncReset)(?:\\[(\\d+)\\])?","captures":{"1":{"name":"storage.modifier.firrtl"},"2":{"name":"storage.type.firrtl"},"3":{"name":"constant.numeric.firrtl"}}},"type_ground_width":{"match":"(const\\s+)?([US]Int|Analog)(?:\u003c(\\d+)\u003e)?(?:\\[(\\d+)\\])?","captures":{"1":{"name":"storage.modifier.firrtl"},"2":{"name":"storage.type.firrtl"},"3":{"name":"constant.numeric.firrtl"},"4":{"name":"constant.numeric.firrtl"}}},"type_probe":{"begin":"((RW)?Probe)\\s*\u003c","end":"\u003e","patterns":[{"match":",\\s*([\\w.]+)","captures":{"1":{"name":"entity.name.type.firrtl"}}},{"include":"#type"}],"beginCaptures":{"1":{"name":"storage.type.firrtl"}}},"type_property":{"patterns":[{"name":"storage.type.firrtl","match":"\\b(Integer)\\b"},{"begin":"\\b(List)\\s*\u003c","end":"\u003e","patterns":[{"include":"#type_property"}],"beginCaptures":{"1":{"name":"storage.type.firrtl"}}}]},"version":{"name":"comment.line.character.firrtl","match":"FIRRTL\\s+version\\s+\\d+\\.\\d+\\.\\d+"},"wire_or_register":{"begin":"^\\s*(wire|reg|regreset)\\s+(\\w+|`[\\w]+`)\\s*:","end":"$","patterns":[{"include":"#type"},{"include":"#expression"},{"include":"#comment"},{"include":"#file_info"}],"beginCaptures":{"1":{"name":"storage.type.firrtl"},"2":{"name":"entity.name.type.firrtl"}}}}}
@@ -0,0 +1 @@
1
+ {"name":"FlatBuffers","scopeName":"source.flatbuffers","patterns":[{"include":"#include"},{"include":"#namespace_decl"},{"include":"#type_decl"},{"include":"#enum_decl"},{"include":"#root_decl"},{"include":"#file_ext_ident_decl"},{"include":"#attribute_decl"},{"include":"#rpc_decl"},{"include":"#object"},{"include":"#comment"}],"repository":{"attribute_decl":{"name":"meta.attribute-declaration.flatbuffers","begin":"\\b(attribute)\\b\\s+","end":";","patterns":[{"include":"#ident"},{"begin":"\"","end":"\"","patterns":[{"include":"#ident"}],"beginCaptures":{"0":{"name":"support.other.flatbuffers"}},"endCaptures":{"0":{"name":"support.other.flatbuffers"}}}],"beginCaptures":{"1":{"name":"keyword.other.attribute.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.terminator.flatbuffers"}}},"comment":{"name":"meta.comment.flatbuffers","patterns":[{"name":"comment.block.flatbuffers","begin":"/\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.flatbuffers"}}},{"name":"comment.line.triple-slash.documentation.flatbuffers","begin":"///","end":"$\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.flatbuffers"}}},{"name":"comment.line.double-slash.flatbuffers","begin":"//","end":"$\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.flatbuffers"}}}]},"enum_decl":{"name":"meta.enum-declaration.flatbuffers","begin":"\\b(enum)|(union)\\b\\s+","end":"(?\u003c=})","patterns":[{"include":"#comment"},{"include":"#metadata"},{"include":"#type"},{"include":"#ident"},{"name":"punctuation.separator.colon.flatbuffers","match":":"},{"name":"meta.block.flatbuffers","begin":"{","end":"}","patterns":[{"include":"#comment"},{"include":"#metadata"},{"include":"#integer_constant"},{"include":"#type"},{"include":"#ident"},{"name":"keyword.operator.assignment.flatbuffers","match":"="},{"name":"punctuation.separator.colon.flatbuffers","match":":"}],"beginCaptures":{"0":{"name":"punctuation.curlybrace.open.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.curlybrace.close.flatbuffers"}}}],"beginCaptures":{"1":{"name":"keyword.other.enum.flatbuffers"},"2":{"name":"keyword.other.union.flatbuffers"}}},"field_decl":{"name":"meta.field-declaration.flatbuffers","begin":"([a-zA-Z_][a-zA-Z0-9_]*)\\s*(:)","end":";","patterns":[{"include":"#single_value"},{"include":"#type"},{"name":"keyword.operator.assignment.flatbuffers","match":"="},{"include":"#metadata"}],"beginCaptures":{"1":{"name":"variable.other.member.flatbuffers"},"2":{"name":"punctuation.separator.colon.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.terminator.flatbuffers"}}},"file_ext_ident_decl":{"begin":"\\b(file_extension)|(file_identifier)\\b\\s+","end":";","patterns":[{"include":"#string_constant"}],"beginCaptures":{"1":{"name":"keyword.control.file-extension.flatbuffers"},"2":{"name":"keyword.control.file-identifier.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.terminator.flatbuffers"}}},"float_constant":{"name":"meta.float-constant.flatbuffers","patterns":[{"name":"constant.numeric.float.decimal.flatbuffers","match":"([-+])?(([.][0-9]+)|([0-9]+[.][0-9]*))([eE][-+]?[0-9]+)?","captures":{"1":{"name":"keyword.operator.arithmetic.flatbuffers"}}},{"name":"constant.numeric.float.hexadecimal.flatbuffers","match":"([-+])?(0[xX])(([.][0-9a-fA-F]+)|([0-9a-fA-F]+[.][0-9a-fA-F]*))([pP][-+]?[0-9]+)","captures":{"1":{"name":"keyword.operator.arithmetic.flatbuffers"},"2":{"name":"storage.type.number.flatbuffers"}}},{"name":"constant.numeric.float.other.flatbuffers","match":"([-+])?(nan|inf|infinity)","captures":{"1":{"name":"keyword.operator.arithmetic.flatbuffers"}}}]},"ident":{"name":"entity.name.class.flatbuffers","match":"[a-zA-Z_][a-zA-Z0-9_]*"},"include":{"name":"meta.import.flatbuffers","begin":"\\b(include)|(native_include)\\b\\s+","end":";","patterns":[{"include":"#string_constant"}],"beginCaptures":{"1":{"name":"keyword.control.import.flatbuffers"},"2":{"name":"keyword.control.native-import.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.terminator.flatbuffers"}}},"integer_constant":{"name":"meta.integer-constant.flatbuffers","patterns":[{"name":"constant.numeric.integer.hexadecimal.flatbuffers","match":"([-+])?(0[xX])[0-9a-fA-F]+","captures":{"1":{"name":"keyword.operator.arithmetic.flatbuffers"},"2":{"name":"storage.type.number.flatbuffers"}}},{"name":"constant.numeric.integer.decimal.flatbuffers","match":"([-+])?[0-9]+","captures":{"1":{"name":"keyword.operator.arithmetic.flatbuffers"}}}]},"metadata":{"name":"meta.metadata.flatbuffers","begin":"\\(","end":"\\)","patterns":[{"include":"#comment"},{"include":"#single_value"},{"name":"keyword.control.attribute.flatbuffers","match":"[a-zA-Z_][a-zA-Z0-9_]*"},{"name":"punctuation.separator.comma.flatbuffers","match":","},{"name":"punctuation.separator.colon.flatbuffers","match":":"}],"beginCaptures":{"0":{"name":"punctuation.parenthesis.open.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.parenthesis.close.flatbuffers"}}},"namespace_decl":{"name":"meta.namespace-declaration.flatbuffers","begin":"\\b(namespace)\\b\\s+","end":";","patterns":[{"include":"#ident"},{"name":"punctuation.accessor.flatbuffers","match":"\\."}],"beginCaptures":{"1":{"name":"keyword.other.namespace.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.terminator.flatbuffers"}}},"root_decl":{"name":"meta.root-type-declaration.flatbuffers","begin":"\\b(root_type)\\b\\s+","end":";","patterns":[{"include":"#metadata"},{"include":"#ident"}],"beginCaptures":{"1":{"name":"keyword.control.root-type.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.terminator.flatbuffers"}}},"rpc_decl":{"name":"meta.rpc-service-declaration.flatbuffers","begin":"\\b(rpc_service)\\b\\s+","end":"(?\u003c=})","patterns":[{"include":"#comment"},{"include":"#ident"},{"name":"meta.block.flatbuffers","begin":"{","end":"}","patterns":[{"include":"#comment"},{"include":"#rpc_method_member"},{"include":"#ident"},{"include":"#metadata"}],"beginCaptures":{"0":{"name":"punctuation.curlybrace.open.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.curlybrace.close.flatbuffers"}}}],"beginCaptures":{"1":{"name":"keyword.other.rpc-service.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.terminator.flatbuffers"}}},"rpc_method_member":{"begin":"([a-zA-Z_][a-zA-Z0-9_]*)(\\()([a-zA-Z_][a-zA-Z0-9_]*)(\\))(:)","end":"(?\u003c=:)","beginCaptures":{"1":{"name":"variable.other.member.flatbuffers"},"2":{"name":"punctuation.parenthesis.open.flatbuffers"},"3":{"name":"entity.name.class.flatbuffers"},"4":{"name":"punctuation.parenthesis.close.flatbuffers"},"5":{"name":"punctuation.separator.colon.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.separator.colon.flatbuffers"}}},"scalar":{"name":"meta.scalar.flatbuffers","patterns":[{"name":"constant.language.flatbuffers","match":"\\b(true|false)\\b"},{"include":"#float_constant"},{"include":"#integer_constant"}]},"single_value":{"name":"meta.single-value.flatbuffers","patterns":[{"include":"#scalar"},{"include":"#string_constant"}]},"string_constant":{"name":"string.quoted.double.flatbuffers","match":"(\")((?:[^\"]|\\\")*)(\")","captures":{"1":{"name":"punctuation.definition.string.begin.flatbuffers"},"2":{"name":"string.quoted.double.flatbuffers"},"3":{"name":"punctuation.definition.string.end.flatbuffers"}}},"type":{"name":"meta.type.flatbuffers","patterns":[{"name":"storage.type.flatbuffers","match":"\\b(bool|byte|ubyte|short|ushort|int|uint|float|long|ulong|double|int8|uint8|int16|uint16|int32|uint32|int64|uint64|float32|float64|string)\\b"},{"include":"#ident"},{"name":"meta.array.flatbuffers","begin":"\\[","end":"\\]","patterns":[{"include":"#type"},{"include":"#scalar"},{"name":"punctuation.separator.array-length.flatbuffers","match":":"}],"beginCaptures":{"0":{"name":"punctuation.squarebracket.open.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.squarebracket.close.flatbuffers"}}}]},"type_decl":{"name":"meta.type-declaration.flatbuffers","begin":"\\b(table)|(struct)\\b\\s+","end":"(?\u003c=})","patterns":[{"include":"#comment"},{"include":"#metadata"},{"include":"#ident"},{"name":"meta.block.flatbuffers","begin":"{","end":"}","patterns":[{"include":"#comment"},{"include":"#field_decl"},{"include":"#metadata"}],"beginCaptures":{"0":{"name":"punctuation.curlybrace.open.flatbuffers"}},"endCaptures":{"0":{"name":"punctuation.curlybrace.close.flatbuffers"}}}],"beginCaptures":{"1":{"name":"keyword.other.table.flatbuffers"},"2":{"name":"keyword.other.struct.flatbuffers"}}}}}
@@ -1 +1 @@
1
- {"name":"ILECOBOL","scopeName":"source.ilecobol","patterns":[{"name":"comment.1.block.ilecobol.remark","begin":"(?\u003c![-_a-zA-Z0-9()-])(?i:remarks\\.)","end":"(?i:end\\-remark|\\*{Bench}end|environment\\s+division|data\\s+division|working-storage\\s+section|file-control)","beginCaptures":{"0":{"name":"keyword.ilecobol"}},"endCaptures":{"0":{"name":"keyword.ilecobol"}}},{"name":"variable.language","match":"(?\u003c![-_])(?i:format-of|acquire|alias|background-colour|beep|commitment|control-area|crt-under|cursor|db-format-name|dbcs-edited|default|described|drop|downdrop|ebcdic|empty-check|externally-described-key|file-stream|foreground-colour|format|fromfull|indic|indicator|indicators|kanji|left-justify|length-check|library|locale|modified|nono-echo|none|null-key-map|null-map|parse|prior|right-justify|rolling|screen|secure|space-fill|starting|subfile|substitute|title|trailing-sign|transaction|vlr|zero-fill|readc)(?![0-9A-Za-z_-])"},{"name":"constant.language.figurative.ilecobol","match":"(?\u003c![-_])(?i:hival|loval)(?=\\s+|\\.|,|\\))"},{"include":"source.cobol"},{"name":"token.debug-token","match":"(^\\\\D.*)$"}]}
1
+ {"name":"ILECOBOL","scopeName":"source.ilecobol","patterns":[{"name":"keyword.control.directive.free.ilecobol","match":"^(\\*\\*FREE)\\s*$"},{"match":"(?i)^\\s*(PROCESS)\\b(.*)$","captures":{"1":{"name":"keyword.control.directive.process.ilecobol"},"2":{"name":"string.unquoted.process-options.ilecobol"}}},{"match":"(?i)^\\s*(/COPY)\\b(.*)$","captures":{"1":{"name":"keyword.control.directive.copy.ilecobol"},"2":{"name":"string.unquoted.copybook-name.ilecobol"}}},{"match":"(?i)^\\s*(/INCLUDE)\\b(.*)$","captures":{"1":{"name":"keyword.control.directive.include.ilecobol"},"2":{"name":"string.unquoted.copybook-name.ilecobol"}}},{"name":"keyword.control.directive.free-block.ilecobol","match":"(?i)^\\s*(/FREE|/END-FREE)\\s*$"},{"name":"comment.1.block.ilecobol.remark","begin":"(?\u003c![-_a-zA-Z0-9()-])(?i:remarks\\.)","end":"(?i:end\\-remark|\\*{Bench}end|environment\\s+division|data\\s+division|working-storage\\s+section|file-control)","beginCaptures":{"0":{"name":"keyword.ilecobol"}},"endCaptures":{"0":{"name":"keyword.ilecobol"}}},{"name":"variable.language","match":"(?\u003c![-_])(?i:format-of|acquire|alias|background-colour|beep|commitment|control-area|crt-under|cursor|db-format-name|dbcs-edited|default|described|drop|downdrop|ebcdic|empty-check|externally-described-key|file-stream|foreground-colour|format|fromfull|indic|indicator|indicators|kanji|left-justify|length-check|library|locale|modified|nono-echo|none|null-key-map|null-map|parse|prior|right-justify|rolling|screen|secure|space-fill|starting|subfile|substitute|title|trailing-sign|transaction|vlr|zero-fill|readc)(?![0-9A-Za-z_-])"},{"name":"constant.language.figurative.ilecobol","match":"(?\u003c![-_])(?i:hival|loval)(?=\\s+|\\.|,|\\))"},{"include":"source.cobol"},{"name":"token.debug-token","match":"(^\\\\D.*)$"}]}