/usr/share/javascript/edit-area/reg_syntax/brainfuck.js is in libjs-edit-area 0.8.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | editAreaLoader.load_syntax["brainfuck"] = {
'DISPLAY_NAME' : 'Brainfuck'
,'COMMENT_SINGLE' : {}
,'COMMENT_MULTI' : {}
,'QUOTEMARKS' : {}
,'KEYWORD_CASE_SENSITIVE' : true
,'OPERATORS' :[
'+', '-'
]
,'DELIMITERS' :[
'[', ']'
]
,'REGEXPS' : {
'bfispis' : {
'search' : '()(\\.)()'
,'class' : 'bfispis'
,'modifiers' : 'g'
,'execute' : 'before'
}
,'bfupis' : {
'search' : '()(\\,)()'
,'class' : 'bfupis'
,'modifiers' : 'g'
,'execute' : 'before'
}
,'bfmemory' : {
'search' : '()([<>])()'
,'class' : 'bfmemory'
,'modifiers' : 'g'
,'execute' : 'before'
}
}
,'STYLES' : {
'COMMENTS': 'color: #AAAAAA;'
,'QUOTESMARKS': 'color: #6381F8;'
,'OPERATORS' : 'color: #88AA00;'
,'DELIMITERS' : 'color: #00C138;'
,'REGEXPS' : {
'bfispis' : 'color: #EE0000;'
,'bfupis' : 'color: #4455ee;'
,'bfmemory' : 'color: #DD00DD;'
}
}
};
|