main
Last change
on this file since e48199a was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
888 bytes
|
Line | |
---|
1 | /*
|
---|
2 | Language: Golo
|
---|
3 | Author: Philippe Charriere <ph.charriere@gmail.com>
|
---|
4 | Description: a lightweight dynamic language for the JVM
|
---|
5 | Website: http://golo-lang.org/
|
---|
6 | */
|
---|
7 |
|
---|
8 | function golo(hljs) {
|
---|
9 | return {
|
---|
10 | name: 'Golo',
|
---|
11 | keywords: {
|
---|
12 | keyword:
|
---|
13 | 'println readln print import module function local return let var ' +
|
---|
14 | 'while for foreach times in case when match with break continue ' +
|
---|
15 | 'augment augmentation each find filter reduce ' +
|
---|
16 | 'if then else otherwise try catch finally raise throw orIfNull ' +
|
---|
17 | 'DynamicObject|10 DynamicVariable struct Observable map set vector list array',
|
---|
18 | literal:
|
---|
19 | 'true false null'
|
---|
20 | },
|
---|
21 | contains: [
|
---|
22 | hljs.HASH_COMMENT_MODE,
|
---|
23 | hljs.QUOTE_STRING_MODE,
|
---|
24 | hljs.C_NUMBER_MODE,
|
---|
25 | {
|
---|
26 | className: 'meta',
|
---|
27 | begin: '@[A-Za-z]+'
|
---|
28 | }
|
---|
29 | ]
|
---|
30 | };
|
---|
31 | }
|
---|
32 |
|
---|
33 | module.exports = golo;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.