main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
300 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | Prism.languages.brainfuck = {
|
---|
| 2 | 'pointer': {
|
---|
| 3 | pattern: /<|>/,
|
---|
| 4 | alias: 'keyword'
|
---|
| 5 | },
|
---|
| 6 | 'increment': {
|
---|
| 7 | pattern: /\+/,
|
---|
| 8 | alias: 'inserted'
|
---|
| 9 | },
|
---|
| 10 | 'decrement': {
|
---|
| 11 | pattern: /-/,
|
---|
| 12 | alias: 'deleted'
|
---|
| 13 | },
|
---|
| 14 | 'branching': {
|
---|
| 15 | pattern: /\[|\]/,
|
---|
| 16 | alias: 'important'
|
---|
| 17 | },
|
---|
| 18 | 'operator': /[.,]/,
|
---|
| 19 | 'comment': /\S+/
|
---|
| 20 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.