Team Ai
Datasetpublic

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.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
d.js273 linesDownload Raw Back to languages
1/*2Language: D3Author: Aleksandar Ruzicic <aleksandar@ruzicic.info>4Description: D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity.5Version: 1.0a6Website: https://dlang.org7Category: system8Date: 2012-04-089*/10 11/**12 * Known issues:13 *14 * - invalid hex string literals will be recognized as a double quoted strings15 *   but 'x' at the beginning of string will not be matched16 *17 * - delimited string literals are not checked for matching end delimiter18 *   (not possible to do with js regexp)19 *20 * - content of token string is colored as a string (i.e. no keyword coloring inside a token string)21 *   also, content of token string is not validated to contain only valid D tokens22 *23 * - special token sequence rule is not strictly following D grammar (anything following #line24 *   up to the end of line is matched as special token sequence)25 */26 27/** @type LanguageFn */28function d(hljs) {29  /**30   * Language keywords31   *32   * @type {Object}33   */34  const D_KEYWORDS = {35    $pattern: hljs.UNDERSCORE_IDENT_RE,36    keyword:37      'abstract alias align asm assert auto body break byte case cast catch class '38      + 'const continue debug default delete deprecated do else enum export extern final '39      + 'finally for foreach foreach_reverse|10 goto if immutable import in inout int '40      + 'interface invariant is lazy macro mixin module new nothrow out override package '41      + 'pragma private protected public pure ref return scope shared static struct '42      + 'super switch synchronized template this throw try typedef typeid typeof union '43      + 'unittest version void volatile while with __FILE__ __LINE__ __gshared|10 '44      + '__thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__',45    built_in:46      'bool cdouble cent cfloat char creal dchar delegate double dstring float function '47      + 'idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar '48      + 'wstring',49    literal:50      'false null true'51  };52 53  /**54   * Number literal regexps55   *56   * @type {String}57   */58  const decimal_integer_re = '(0|[1-9][\\d_]*)';59  const decimal_integer_nosus_re = '(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)';60  const binary_integer_re = '0[bB][01_]+';61  const hexadecimal_digits_re = '([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)';62  const hexadecimal_integer_re = '0[xX]' + hexadecimal_digits_re;63 64  const decimal_exponent_re = '([eE][+-]?' + decimal_integer_nosus_re + ')';65  const decimal_float_re = '(' + decimal_integer_nosus_re + '(\\.\\d*|' + decimal_exponent_re + ')|'66                + '\\d+\\.' + decimal_integer_nosus_re + '|'67                + '\\.' + decimal_integer_re + decimal_exponent_re + '?'68              + ')';69  const hexadecimal_float_re = '(0[xX]('70                  + hexadecimal_digits_re + '\\.' + hexadecimal_digits_re + '|'71                  + '\\.?' + hexadecimal_digits_re72                 + ')[pP][+-]?' + decimal_integer_nosus_re + ')';73 74  const integer_re = '('75      + decimal_integer_re + '|'76      + binary_integer_re + '|'77       + hexadecimal_integer_re78    + ')';79 80  const float_re = '('81      + hexadecimal_float_re + '|'82      + decimal_float_re83    + ')';84 85  /**86   * Escape sequence supported in D string and character literals87   *88   * @type {String}89   */90  const escape_sequence_re = '\\\\('91              + '[\'"\\?\\\\abfnrtv]|' // common escapes92              + 'u[\\dA-Fa-f]{4}|' // four hex digit unicode codepoint93              + '[0-7]{1,3}|' // one to three octal digit ascii char code94              + 'x[\\dA-Fa-f]{2}|' // two hex digit ascii char code95              + 'U[\\dA-Fa-f]{8}' // eight hex digit unicode codepoint96              + ')|'97              + '&[a-zA-Z\\d]{2,};'; // named character entity98 99  /**100   * D integer number literals101   *102   * @type {Object}103   */104  const D_INTEGER_MODE = {105    className: 'number',106    begin: '\\b' + integer_re + '(L|u|U|Lu|LU|uL|UL)?',107    relevance: 0108  };109 110  /**111   * [D_FLOAT_MODE description]112   * @type {Object}113   */114  const D_FLOAT_MODE = {115    className: 'number',116    begin: '\\b('117        + float_re + '([fF]|L|i|[fF]i|Li)?|'118        + integer_re + '(i|[fF]i|Li)'119      + ')',120    relevance: 0121  };122 123  /**124   * D character literal125   *126   * @type {Object}127   */128  const D_CHARACTER_MODE = {129    className: 'string',130    begin: '\'(' + escape_sequence_re + '|.)',131    end: '\'',132    illegal: '.'133  };134 135  /**136   * D string escape sequence137   *138   * @type {Object}139   */140  const D_ESCAPE_SEQUENCE = {141    begin: escape_sequence_re,142    relevance: 0143  };144 145  /**146   * D double quoted string literal147   *148   * @type {Object}149   */150  const D_STRING_MODE = {151    className: 'string',152    begin: '"',153    contains: [ D_ESCAPE_SEQUENCE ],154    end: '"[cwd]?'155  };156 157  /**158   * D wysiwyg and delimited string literals159   *160   * @type {Object}161   */162  const D_WYSIWYG_DELIMITED_STRING_MODE = {163    className: 'string',164    begin: '[rq]"',165    end: '"[cwd]?',166    relevance: 5167  };168 169  /**170   * D alternate wysiwyg string literal171   *172   * @type {Object}173   */174  const D_ALTERNATE_WYSIWYG_STRING_MODE = {175    className: 'string',176    begin: '`',177    end: '`[cwd]?'178  };179 180  /**181   * D hexadecimal string literal182   *183   * @type {Object}184   */185  const D_HEX_STRING_MODE = {186    className: 'string',187    begin: 'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',188    relevance: 10189  };190 191  /**192   * D delimited string literal193   *194   * @type {Object}195   */196  const D_TOKEN_STRING_MODE = {197    className: 'string',198    begin: 'q"\\{',199    end: '\\}"'200  };201 202  /**203   * Hashbang support204   *205   * @type {Object}206   */207  const D_HASHBANG_MODE = {208    className: 'meta',209    begin: '^#!',210    end: '$',211    relevance: 5212  };213 214  /**215   * D special token sequence216   *217   * @type {Object}218   */219  const D_SPECIAL_TOKEN_SEQUENCE_MODE = {220    className: 'meta',221    begin: '#(line)',222    end: '$',223    relevance: 5224  };225 226  /**227   * D attributes228   *229   * @type {Object}230   */231  const D_ATTRIBUTE_MODE = {232    className: 'keyword',233    begin: '@[a-zA-Z_][a-zA-Z_\\d]*'234  };235 236  /**237   * D nesting comment238   *239   * @type {Object}240   */241  const D_NESTING_COMMENT_MODE = hljs.COMMENT(242    '\\/\\+',243    '\\+\\/',244    {245      contains: [ 'self' ],246      relevance: 10247    }248  );249 250  return {251    name: 'D',252    keywords: D_KEYWORDS,253    contains: [254      hljs.C_LINE_COMMENT_MODE,255      hljs.C_BLOCK_COMMENT_MODE,256      D_NESTING_COMMENT_MODE,257      D_HEX_STRING_MODE,258      D_STRING_MODE,259      D_WYSIWYG_DELIMITED_STRING_MODE,260      D_ALTERNATE_WYSIWYG_STRING_MODE,261      D_TOKEN_STRING_MODE,262      D_FLOAT_MODE,263      D_INTEGER_MODE,264      D_CHARACTER_MODE,265      D_HASHBANG_MODE,266      D_SPECIAL_TOKEN_SEQUENCE_MODE,267      D_ATTRIBUTE_MODE268    ]269  };270}271 272export { d as default };273 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai