]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/es/languages/monkey.js
1 /*! `monkey` grammar compiled for Highlight.js 11.11.1 */
2 var hljsGrammar
= (function () {
7 Description: Monkey2 is an easy to use, cross platform, games oriented programming language from Blitz Research.
8 Author: Arthur Bikmullin <devolonter@gmail.com>
9 Website: https://blitzresearch.itch.io/monkey2
13 function monkey(hljs
) {
18 { begin: '[$][a-fA-F0-9]+' },
22 const FUNC_DEFINITION
= {
27 hljs
.UNDERSCORE_IDENT_RE
,
35 const CLASS_DEFINITION
= {
38 /(class|interface|extends|implements)/,
40 hljs
.UNDERSCORE_IDENT_RE
,
134 // not positive, but these are not literals
144 case_insensitive: true,
152 hljs
.COMMENT('#rem', '#end'),
161 className: 'variable.language',
162 begin: /\b(self|super)\b/
168 keywords: { keyword: 'if else elseif endif end then' }
178 beginKeywords: 'alias',
180 contains: [ hljs
.UNDERSCORE_TITLE_MODE
]
182 hljs
.QUOTE_STRING_MODE
,
192 export default hljsGrammar
;