20 lines
299 B
Java
20 lines
299 B
Java
Prism.languages.brainfuck = {
|
|
'pointer': {
|
|
pattern: /<|>/,
|
|
alias: 'keyword'
|
|
},
|
|
'increment': {
|
|
pattern: /\+/,
|
|
alias: 'inserted'
|
|
},
|
|
'decrement': {
|
|
pattern: /-/,
|
|
alias: 'deleted'
|
|
},
|
|
'branching': {
|
|
pattern: /\[|\]/,
|
|
alias: 'important'
|
|
},
|
|
'operator': /[.,]/,
|
|
'comment': /\S+/
|
|
}; |