Blame view

bower_components/prism/components/prism-brainfuck.js 299 Bytes
73bcce88   luigser   COMPONENTS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  Prism.languages.brainfuck = {
  	'pointer': {
  		pattern: /<|>/,
  		alias: 'keyword'
  	},
  	'increment': {
  		pattern: /\+/,
  		alias: 'inserted'
  	},
  	'decrement': {
  		pattern: /-/,
  		alias: 'deleted'
  	},
  	'branching': {
  		pattern: /\[|\]/,
  		alias: 'important'
  	},
  	'operator': /[.,]/,
  	'comment': /\S+/
  };