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:
543 bytes
|
Line | |
---|
1 | Prism.languages.hoon = {
|
---|
2 | 'comment': {
|
---|
3 | pattern: /::.*/,
|
---|
4 | greedy: true
|
---|
5 | },
|
---|
6 | 'string': {
|
---|
7 | pattern: /"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,
|
---|
8 | greedy: true
|
---|
9 | },
|
---|
10 | 'constant': /%(?:\.[ny]|[\w-]+)/,
|
---|
11 | 'class-name': /@(?:[a-z0-9-]*[a-z0-9])?|\*/i,
|
---|
12 | 'function': /(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,
|
---|
13 | 'keyword': /\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/
|
---|
14 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.