diff options
Diffstat (limited to 'gui-editors/gui-editor-apex/src/main/webapp/dist/js/edit_area/reg_syntax/brainfuck.js')
-rw-r--r-- | gui-editors/gui-editor-apex/src/main/webapp/dist/js/edit_area/reg_syntax/brainfuck.js | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/webapp/dist/js/edit_area/reg_syntax/brainfuck.js b/gui-editors/gui-editor-apex/src/main/webapp/dist/js/edit_area/reg_syntax/brainfuck.js new file mode 100644 index 0000000..e6306b0 --- /dev/null +++ b/gui-editors/gui-editor-apex/src/main/webapp/dist/js/edit_area/reg_syntax/brainfuck.js @@ -0,0 +1,45 @@ +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;' + } + } +}; + |