1(function(a){if(typeof exports=="object"&&typeof module=="object")a(require("../../lib/codemirror"));else if(typeof define=="function"&&define.amd)define(["../../lib/codemirror"],a);else a(CodeMirror)})(function(a){"use strict";var b="><+-.,[]".split("");a.defineMode("brainfuck",function(){return{startState:function(){return{commentLine:false,left:0,right:0,commentLoop:false}},token:function(a,c){if(a.eatSpace())return null;if(a.sol()){c.commentLine=false}var d=a.next().toString();if(b.indexOf(d)!==-1){if(c.commentLine===true){if(a.eol()){c.commentLine=false}return"comment"}if(d==="]"||d==="["){if(d==="["){c.left++}else{c.right++}return"bracket"}else if(d==="+"||d==="-"){return"keyword"}else if(d==="<"||d===">"){return"atom"}else if(d==="."||d===","){return"def"}}else{c.commentLine=true;if(a.eol()){c.commentLine=false}return"comment"}if(a.eol()){c.commentLine=false}}}});a.defineMIME("text/x-brainfuck","brainfuck")});
2//# sourceMappingURL=brainfuck.min.js.map