jellyfin-web/dashboard-ui/bower_components/prism/components/prism-brainfuck.js

20 lines
299 B
JavaScript
Raw Normal View History

2016-02-03 16:00:01 -07:00
Prism.languages.brainfuck = {
'pointer': {
pattern: /<|>/,
alias: 'keyword'
},
'increment': {
pattern: /\+/,
alias: 'inserted'
},
'decrement': {
pattern: /-/,
alias: 'deleted'
},
'branching': {
pattern: /\[|\]/,
alias: 'important'
},
'operator': /[.,]/,
'comment': /\S+/
};