Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1/*2Language: AspectJ3Author: Hakan Ozler <ozler.hakan@gmail.com>4Website: https://www.eclipse.org/aspectj/5Description: Syntax Highlighting for the AspectJ Language which is a general-purpose aspect-oriented extension to the Java programming language.6Category: system7Audit: 20208*/9 10/** @type LanguageFn */11function aspectj(hljs) {12 const regex = hljs.regex;13 const KEYWORDS = [14 "false",15 "synchronized",16 "int",17 "abstract",18 "float",19 "private",20 "char",21 "boolean",22 "static",23 "null",24 "if",25 "const",26 "for",27 "true",28 "while",29 "long",30 "throw",31 "strictfp",32 "finally",33 "protected",34 "import",35 "native",36 "final",37 "return",38 "void",39 "enum",40 "else",41 "extends",42 "implements",43 "break",44 "transient",45 "new",46 "catch",47 "instanceof",48 "byte",49 "super",50 "volatile",51 "case",52 "assert",53 "short",54 "package",55 "default",56 "double",57 "public",58 "try",59 "this",60 "switch",61 "continue",62 "throws",63 "privileged",64 "aspectOf",65 "adviceexecution",66 "proceed",67 "cflowbelow",68 "cflow",69 "initialization",70 "preinitialization",71 "staticinitialization",72 "withincode",73 "target",74 "within",75 "execution",76 "getWithinTypeName",77 "handler",78 "thisJoinPoint",79 "thisJoinPointStaticPart",80 "thisEnclosingJoinPointStaticPart",81 "declare",82 "parents",83 "warning",84 "error",85 "soft",86 "precedence",87 "thisAspectInstance"88 ];89 const SHORTKEYS = [90 "get",91 "set",92 "args",93 "call"94 ];95 96 return {97 name: 'AspectJ',98 keywords: KEYWORDS,99 illegal: /<\/|#/,100 contains: [101 hljs.COMMENT(102 /\/\*\*/,103 /\*\//,104 {105 relevance: 0,106 contains: [107 {108 // eat up @'s in emails to prevent them to be recognized as doctags109 begin: /\w+@/,110 relevance: 0111 },112 {113 className: 'doctag',114 begin: /@[A-Za-z]+/115 }116 ]117 }118 ),119 hljs.C_LINE_COMMENT_MODE,120 hljs.C_BLOCK_COMMENT_MODE,121 hljs.APOS_STRING_MODE,122 hljs.QUOTE_STRING_MODE,123 {124 className: 'class',125 beginKeywords: 'aspect',126 end: /[{;=]/,127 excludeEnd: true,128 illegal: /[:;"\[\]]/,129 contains: [130 { beginKeywords: 'extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton' },131 hljs.UNDERSCORE_TITLE_MODE,132 {133 begin: /\([^\)]*/,134 end: /[)]+/,135 keywords: KEYWORDS.concat(SHORTKEYS),136 excludeEnd: false137 }138 ]139 },140 {141 className: 'class',142 beginKeywords: 'class interface',143 end: /[{;=]/,144 excludeEnd: true,145 relevance: 0,146 keywords: 'class interface',147 illegal: /[:"\[\]]/,148 contains: [149 { beginKeywords: 'extends implements' },150 hljs.UNDERSCORE_TITLE_MODE151 ]152 },153 {154 // AspectJ Constructs155 beginKeywords: 'pointcut after before around throwing returning',156 end: /[)]/,157 excludeEnd: false,158 illegal: /["\[\]]/,159 contains: [160 {161 begin: regex.concat(hljs.UNDERSCORE_IDENT_RE, /\s*\(/),162 returnBegin: true,163 contains: [ hljs.UNDERSCORE_TITLE_MODE ]164 }165 ]166 },167 {168 begin: /[:]/,169 returnBegin: true,170 end: /[{;]/,171 relevance: 0,172 excludeEnd: false,173 keywords: KEYWORDS,174 illegal: /["\[\]]/,175 contains: [176 {177 begin: regex.concat(hljs.UNDERSCORE_IDENT_RE, /\s*\(/),178 keywords: KEYWORDS.concat(SHORTKEYS),179 relevance: 0180 },181 hljs.QUOTE_STRING_MODE182 ]183 },184 {185 // this prevents 'new Name(...), or throw ...' from being recognized as a function definition186 beginKeywords: 'new throw',187 relevance: 0188 },189 {190 // the function class is a bit different for AspectJ compared to the Java language191 className: 'function',192 begin: /\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,193 returnBegin: true,194 end: /[{;=]/,195 keywords: KEYWORDS,196 excludeEnd: true,197 contains: [198 {199 begin: regex.concat(hljs.UNDERSCORE_IDENT_RE, /\s*\(/),200 returnBegin: true,201 relevance: 0,202 contains: [ hljs.UNDERSCORE_TITLE_MODE ]203 },204 {205 className: 'params',206 begin: /\(/,207 end: /\)/,208 relevance: 0,209 keywords: KEYWORDS,210 contains: [211 hljs.APOS_STRING_MODE,212 hljs.QUOTE_STRING_MODE,213 hljs.C_NUMBER_MODE,214 hljs.C_BLOCK_COMMENT_MODE215 ]216 },217 hljs.C_LINE_COMMENT_MODE,218 hljs.C_BLOCK_COMMENT_MODE219 ]220 },221 hljs.C_NUMBER_MODE,222 {223 // annotation is also used in this language224 className: 'meta',225 begin: /@[A-Za-z]+/226 }227 ]228 };229}230 231export { aspectj as default };232 