ISO-Share/node_modules/prismjs/components/prism-brainfuck.js

21 lines
300 B
JavaScript
Raw Permalink Normal View History

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