mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 19:59:31 +08:00
20 lines
300 B
Text
20 lines
300 B
Text
Prism.languages.brainfuck = {
|
|
'pointer': {
|
|
pattern: /<|>/,
|
|
alias: 'keyword'
|
|
},
|
|
'increment': {
|
|
pattern: /\+/,
|
|
alias: 'inserted'
|
|
},
|
|
'decrement': {
|
|
pattern: /-/,
|
|
alias: 'deleted'
|
|
},
|
|
'branching': {
|
|
pattern: /\[|\]/,
|
|
alias: 'important'
|
|
},
|
|
'operator': /[.,]/,
|
|
'comment': /\S+/
|
|
};
|