CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
vala.js62 linesDownload Raw Back to languages
1/*2Language: Vala3Author: Antono Vasiljev <antono.vasiljev@gmail.com>4Description: Vala is a new programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C.5Website: https://wiki.gnome.org/Projects/Vala6Category: system7*/8 9function vala(hljs) {10  return {11    name: 'Vala',12    keywords: {13      keyword:14        // Value types15        'char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 '16        + 'uint16 uint32 uint64 float double bool struct enum string void '17        // Reference types18        + 'weak unowned owned '19        // Modifiers20        + 'async signal static abstract interface override virtual delegate '21        // Control Structures22        + 'if while do for foreach else switch case break default return try catch '23        // Visibility24        + 'public private protected internal '25        // Other26        + 'using new this get set const stdout stdin stderr var',27      built_in:28        'DBus GLib CCode Gee Object Gtk Posix',29      literal:30        'false true null'31    },32    contains: [33      {34        className: 'class',35        beginKeywords: 'class interface namespace',36        end: /\{/,37        excludeEnd: true,38        illegal: '[^,:\\n\\s\\.]',39        contains: [ hljs.UNDERSCORE_TITLE_MODE ]40      },41      hljs.C_LINE_COMMENT_MODE,42      hljs.C_BLOCK_COMMENT_MODE,43      {44        className: 'string',45        begin: '"""',46        end: '"""',47        relevance: 548      },49      hljs.APOS_STRING_MODE,50      hljs.QUOTE_STRING_MODE,51      hljs.C_NUMBER_MODE,52      {53        className: 'meta',54        begin: '^#',55        end: '$',56      }57    ]58  };59}60 61export { vala as default };62 
basant307/AI_Governance_Project · CoolFace