diff options
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/brainfuck.min.js')
-rw-r--r-- | pyssg.xyz/live/static/hl/languages/brainfuck.min.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/brainfuck.min.js b/pyssg.xyz/live/static/hl/languages/brainfuck.min.js new file mode 100644 index 0000000..aa5042c --- /dev/null +++ b/pyssg.xyz/live/static/hl/languages/brainfuck.min.js @@ -0,0 +1,7 @@ +hljs.registerLanguage("brainfuck",(()=>{"use strict";return e=>{const n={ +className:"literal",begin:/[+-]/,relevance:0};return{name:"Brainfuck", +aliases:["bf"], +contains:[e.COMMENT("[^\\[\\]\\.,\\+\\-<> \r\n]","[\\[\\]\\.,\\+\\-<> \r\n]",{ +returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{ +className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[n] +},n]}}})());
\ No newline at end of file |