0

Update to 8.0

This commit is contained in:
Rogaboru Kujimoshi
2014-06-08 21:04:39 +04:00
parent 81d0115677
commit a52831ccdb
134 changed files with 10392 additions and 4999 deletions

View File

@@ -0,0 +1,40 @@
/*
Language: Brainfuck
Author: Evgeny Stepanischev <imbolk@gmail.com>
*/
function(hljs){
var LITERAL = {
className: 'literal',
begin: '[\\+\\-]',
relevance: 0
};
return {
aliases: ['bf'],
contains: [
{
className: 'comment',
begin: '[^\\[\\]\\.,\\+\\-<> \r\n]',
returnEnd: true,
end: '[\\[\\]\\.,\\+\\-<> \r\n]',
relevance: 0
},
{
className: 'title',
begin: '[\\[\\]]',
relevance: 0
},
{
className: 'string',
begin: '[\\.,]',
relevance: 0
},
{
// this mode works as the only relevance counter
begin: /\+\+|\-\-/, returnBegin: true,
contains: [LITERAL]
},
LITERAL
]
};
}