package tm-grammars
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
TextMate grammars as OCaml strings
Install
dune-project
Dependency
Authors
Maintainers
Sources
tm-grammars-1.1.0.tbz
sha256=d06cd72e17331a9601c0b3a90a78b8f1be8f09b253a174aa5e52a624584af6bc
sha512=0fa76518e9018a9475ac84cfad140a6fcd42862669a3bb80d4b262f667b828285b967e09e35a14eaf7713cc099d5b0f30638b815c611a1bb41b94b35e33858e7
doc/src/tm-grammars.llvm/tm_grammar_llvm.ml.html
Source file tm_grammar_llvm.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123let lang_id = "llvm" let json = {json|{ "displayName": "LLVM IR", "name": "llvm", "patterns": [ { "match": "\\b(?:void\\b|half\\b|bfloat\\b|float\\b|double\\b|x86_fp80\\b|fp128\\b|ppc_fp128\\b|label\\b|metadata\\b|x86_mmx\\b|x86_amx\\b|type\\b|label\\b|opaque\\b|token\\b|i\\d+\\**)", "name": "storage.type.llvm" }, { "captures": { "1": { "name": "storage.type.llvm" } }, "match": "!([A-Za-z]+)\\s*\\(" }, { "match": "(?:(?<=\\s|^)#dbg_(assign|declare|label|value)|\\badd|\\baddrspacecast|\\balloca|\\band|\\barcp|\\bashr|\\batomicrmw|\\bbitcast|\\bbr|\\bcatchpad|\\bcatchswitch|\\bcatchret|\\bcall|\\bcallbr|\\bcleanuppad|\\bcleanupret|\\bcmpxchg|\\beq|\\bexact|\\bextractelement|\\bextractvalue|\\bfadd|\\bfast|\\bfcmp|\\bfdiv|\\bfence|\\bfmul|\\bfpext|\\bfptosi|\\bfptoui|\\bfptrunc|\\bfree|\\bfrem|\\bfreeze|\\bfsub|\\bfneg|\\bgetelementptr|\\bicmp|\\binbounds|\\bindirectbr|\\binsertelement|\\binsertvalue|\\binttoptr|\\binvoke|\\blandingpad|\\bload|\\blshr|\\bmalloc|\\bmax|\\bmin|\\bmul|\\bnand|\\bne|\\bninf|\\bnnan|\\bnsw|\\bnsz|\\bnuw|\\boeq|\\boge|\\bogt|\\bole|\\bolt|\\bone|\\bord??|\\bphi|\\bptrtoint|\\bresume|\\bret|\\bsdiv|\\bselect|\\bsext|\\bsge|\\bsgt|\\bshl|\\bshufflevector|\\bsitofp|\\bsle|\\bslt|\\bsrem|\\bstore|\\bsub|\\bswitch|\\btrunc|\\budiv|\\bueq|\\buge|\\bugt|\\buitofp|\\bule|\\bult|\\bumax|\\bumin|\\bune|\\buno|\\bunreachable|\\bunwind|\\burem|\\bva_arg|\\bxchg|\\bxor|\\bzext)\\b", "name": "keyword.instruction.llvm" }, { "match": "\\b(?:acq_rel|acquire|addrspace|alias|align|alignstack|allocsize|alwaysinline|appending|argmemonly|arm_aapcs_vfpcc|arm_aapcscc|arm_apcscc|asm|atomic|available_externally|blockaddress|builtin|byref|byval|c|caller|catch|ccc??|cleanup|cold|coldcc|comdat|common|constant|convergent|datalayout|declare|default|define|deplibs|dereferenceable|dereferenceable_or_null|distinct|dllexport|dllimport|dso_local|dso_preemptable|except|extern_weak|external|externally_initialized|fastcc|filter|from|gc|global|hhvm_ccc|hhvmcc|hidden|hot|immarg|inaccessiblemem_or_argmemonly|inaccessiblememonly|inalloc|initialexec|inlinehint|inreg|intel_ocl_bicc|inteldialect|internal|jumptable|linkonce|linkonce_odr|local_unnamed_addr|localdynamic|localexec|minsize|module|monotonic|msp430_intrcc|mustprogress|musttail|naked|nest|noalias|nobuiltin|nocallback|nocapture|nocf_check|noduplicate|nofree|noimplicitfloat|noinline|nomerge|nooutline|nonlazybind|nonnull|noprofile|norecurse|noredzone|noreturn|nosync|noundef|nounwind|nosanitize_bounds|nosanitize_coverage|null_pointer_is_valid|optforfuzzing|optnone|optsize|personality|preallocated|private|protected|ptx_device|ptx_kernel|readnone|readonly|release|returned|returns_twice|safestack|sanitize_address|sanitize_alloc_token|sanitize_hwaddress|sanitize_memory|sanitize_memtag|sanitize_thread|section|seq_cst|shadowcallstack|sideeffect|signext|source_filename|speculatable|speculative_load_hardening|spir_func|spir_kernel|sret|ssp|sspreq|sspstrong|strictfp|swiftcc|swifterror|swiftself|syncscope|tail|tailcc|target|thread_local|to|triple|unnamed_addr|unordered|uselistorder|uselistorder_bb|uwtable|volatile|weak|weak_odr|willreturn|win64cc|within|writeonly|x86_64_sysvcc|x86_fastcallcc|x86_stdcallcc|x86_thiscallcc|zeroext)\\b", "name": "storage.modifier.llvm" }, { "match": "@[-$.A-Z_a-z][-$.0-9A-Z_a-z]*", "name": "entity.name.function.llvm" }, { "match": "[!%@]\\d+\\b", "name": "variable.llvm" }, { "match": "%[-$.A-Z_a-z][-$.0-9A-Z_a-z]*", "name": "variable.llvm" }, { "captures": { "1": { "name": "variable.llvm" } }, "match": "(![-$.A-Z_a-z][-$.0-9A-Z_a-z]*)\\s*$" }, { "captures": { "1": { "name": "variable.llvm" } }, "match": "(![-$.A-Z_a-z][-$.0-9A-Z_a-z]*)\\s*[!=]" }, { "begin": "\"", "end": "\"", "name": "string.quoted.double.llvm", "patterns": [ { "match": "\\.", "name": "constant.character.escape.untitled" } ] }, { "match": "[-$.A-Z_a-z][-$.0-9A-Z_a-z]*:", "name": "entity.name.label.llvm" }, { "match": "-?\\b\\d+\\.\\d*(e[-+]\\d+)?\\b", "name": "constant.numeric.float" }, { "match": "\\b0x\\h+\\b", "name": "constant.numeric.float" }, { "match": "-?\\b\\d+\\b", "name": "constant.numeric.integer" }, { "match": "\\b(?:true|false|null|zeroinitializer|undef|poison|null|none)\\b", "name": "constant.language" }, { "match": "\\bD(?:W_TAG_[_a-z]+|W_ATE_[A-Z_a-z]+|W_OP_[0-9A-Z_a-z]+|W_LANG_[0-9A-Z_a-z]+|W_VIRTUALITY_[_a-z]+|IFlag[A-Za-z]+)\\b", "name": "constant.other" }, { "match": ";\\s*PR\\d*\\s*$", "name": "string.regexp" }, { "match": ";\\s*REQUIRES:.*$", "name": "string.regexp" }, { "match": ";\\s*RUN:.*$", "name": "string.regexp" }, { "match": ";\\s*ALLOW_RETRIES:.*$", "name": "string.regexp" }, { "match": ";\\s*CHECK:.*$", "name": "string.regexp" }, { "match": ";\\s*CHECK-(NEXT|NOT|DAG|SAME|LABEL):.*$", "name": "string.regexp" }, { "match": ";\\s*XFAIL:.*$", "name": "string.regexp" }, { "match": ";.*$", "name": "comment.line.llvm" } ], "scopeName": "source.llvm" }|json}
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>