2023-10-12 08:17:48 +02:00
|
|
|
/*! `brainfuck` grammar compiled for Highlight.js 11.9.0 */
|
2022-03-13 06:56:23 +01:00
|
|
|
(()=>{var e=(()=>{"use strict";return e=>{const n={className:"literal",
|
|
|
|
begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],
|
|
|
|
contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{
|
|
|
|
match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{
|
|
|
|
className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",
|
|
|
|
begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[n]},n]}}})()
|
|
|
|
;hljs.registerLanguage("brainfuck",e)})();
|