1
|
{"version":3,"file":"highlight/brainfuck.js?v=a203c6a271e0771d3071","mappings":"2FA6CAA,EAAOC,QAtCP,SAAmBC,GACjB,MAAMC,EAAU,CACdC,UAAW,UACXC,MAAO,OACPC,UAAW,GAEb,MAAO,CACLC,KAAM,YACNC,QAAS,CAAC,MACVC,SAAU,CACRP,EAAKQ,QACH,6BACA,4BACA,CACEC,WAAW,EACXL,UAAW,IAGf,CACEF,UAAW,QACXC,MAAO,WACPC,UAAW,GAEb,CACEF,UAAW,SACXC,MAAO,SACPC,UAAW,GAEb,CAEED,MAAO,cACPI,SAAU,CAACN,IAEbA","sources":["webpack:///text/node_modules/highlight.js/lib/languages/brainfuck.js"],"sourcesContent":["/*\nLanguage: Brainfuck\nAuthor: Evgeny Stepanischev <imbolk@gmail.com>\nWebsite: https://esolangs.org/wiki/Brainfuck\n*/\n\n/** @type LanguageFn */\nfunction brainfuck(hljs) {\n const LITERAL = {\n className: 'literal',\n begin: /[+-]/,\n relevance: 0\n };\n return {\n name: 'Brainfuck',\n aliases: ['bf'],\n contains: [\n hljs.COMMENT(\n '[^\\\\[\\\\]\\\\.,\\\\+\\\\-<> \\r\\n]',\n '[\\\\[\\\\]\\\\.,\\\\+\\\\-<> \\r\\n]',\n {\n returnEnd: true,\n relevance: 0\n }\n ),\n {\n className: 'title',\n begin: '[\\\\[\\\\]]',\n relevance: 0\n },\n {\n className: 'string',\n begin: '[\\\\.,]',\n relevance: 0\n },\n {\n // this mode works as the only relevance counter\n begin: /(?:\\+\\+|--)/,\n contains: [LITERAL]\n },\n LITERAL\n ]\n };\n}\n\nmodule.exports = brainfuck;\n"],"names":["module","exports","hljs","LITERAL","className","begin","relevance","name","aliases","contains","COMMENT","returnEnd"],"sourceRoot":""}
|