-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dimitris Kolovos <[email protected]>
- Loading branch information
Showing
128 changed files
with
11,329 additions
and
7,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,15 +44,11 @@ | |
|
||
<link rel="stylesheet" href="/assets/stylesheets/mermaid.css"> | ||
|
||
<link rel="stylesheet" href="/assets/javascript/google-code-prettify/prettify.css"> | ||
|
||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/mermaid.css"> | ||
<link rel="stylesheet" href="/assets/stylesheets/extra.css"> | ||
|
||
<link rel="stylesheet" href="/assets/stylesheets/slick.css"> | ||
<link rel="stylesheet" href="/assets/stylesheets/nnfx-light.css"> | ||
|
||
<link rel="stylesheet" href="/assets/stylesheets/slick-theme.css"> | ||
|
||
<link rel="stylesheet" href="/assets/stylesheets/extra.css"> | ||
<link rel="stylesheet" href="/assets/stylesheets/nnfx-dark.css"> | ||
|
||
<script>__md_scope=new URL("/",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script> | ||
|
||
|
@@ -88,10 +84,12 @@ | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="black" data-md-color-accent="orange"> | ||
<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo"> | ||
|
||
|
||
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off"> | ||
|
@@ -138,7 +136,43 @@ | |
</div> | ||
|
||
|
||
<form class="md-header__option" data-md-component="palette"> | ||
|
||
|
||
|
||
|
||
<input class="md-option" data-md-color-media="(prefers-color-scheme)" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_0"> | ||
|
||
<label class="md-header__button md-icon" title="Switch to light mode" for="__palette_1" hidden> | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m14.3 16-.7-2h-3.2l-.7 2H7.8L11 7h2l3.2 9zM20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zm-9.15 3.96h2.3L12 9z"/></svg> | ||
</label> | ||
|
||
|
||
|
||
|
||
|
||
<input class="md-option" data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme="default" data-md-color-primary="black" data-md-color-accent="orange" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_1"> | ||
|
||
<label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_2" hidden> | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg> | ||
</label> | ||
|
||
|
||
|
||
|
||
|
||
<input class="md-option" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme="slate" data-md-color-primary="black" data-md-color-accent="orange" aria-label="Switch to system preference" type="radio" name="__palette" id="__palette_2"> | ||
|
||
<label class="md-header__button md-icon" title="Switch to system preference" for="__palette_0" hidden> | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg> | ||
</label> | ||
|
||
|
||
</form> | ||
|
||
|
||
|
||
<script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script> | ||
|
||
|
||
|
||
|
@@ -1780,25 +1814,7 @@ <h1>404 - Not found</h1> | |
|
||
<script src="/assets/javascripts/bundle.83f73b43.min.js"></script> | ||
|
||
<script src="https://unpkg.com/[email protected]/dist/mermaid.min.js"></script> | ||
|
||
<script src="/assets/javascript/mermaid.js"></script> | ||
|
||
<script src="/assets/javascript/jquery.js"></script> | ||
|
||
<script src="/assets/javascript/slick.min.js"></script> | ||
|
||
<script src="/assets/javascript/google-code-prettify/prettify.js"></script> | ||
|
||
<script src="/assets/javascript/google-code-prettify/lang-emfatic.js"></script> | ||
|
||
<script src="/assets/javascript/google-code-prettify/lang-epsilon.js"></script> | ||
|
||
<script src="/assets/javascript/google-code-prettify/prettyprint.js"></script> | ||
|
||
<script src="/assets/javascript/extra.js"></script> | ||
|
||
<script src="https://w.appzi.io/w.js?token=jlv6W"></script> | ||
<script src="/assets/dist/bundle.js"></script> | ||
|
||
|
||
</body> | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,235 @@ | ||
import hljs from 'highlight.js'; | ||
import java from 'highlight.js/lib/languages/java'; | ||
import xml from 'highlight.js/lib/languages/xml'; | ||
import yaml from 'highlight.js/lib/languages/yaml'; | ||
|
||
hljs.registerLanguage('java', java); | ||
hljs.registerLanguage('xml', xml); | ||
hljs.registerLanguage('yaml', yaml); | ||
|
||
var eol = function(hljs) { | ||
return { | ||
case_insensitive: false, | ||
contains: [ | ||
{ | ||
className: 'comment', | ||
begin: '/\\*', end: '\\*/', | ||
contains: [ | ||
{ | ||
className: 'doctag', | ||
begin: '@', end: '$' | ||
} | ||
] | ||
}, | ||
{ | ||
className: 'comment', | ||
begin: '//', end: '$' | ||
}, | ||
{ | ||
className: 'doctag', | ||
begin: '@', end: '$' | ||
}, | ||
{ | ||
className: 'variable', | ||
begin: '\\b(true|false|self|loopCount|hasMore)\\b' | ||
}, | ||
{ | ||
className: 'type', | ||
begin: '\\b(String|Boolean|Integer|Real|Any|Map|Collection|Bag|Sequence|Set|OrderedSet|Native|List|Tuple|ConcurrentSet|ConcurrentBag|ConcurrentMap|EolSelf|EolSelfContentType|EolSelfExpressionType|EolSelfCollectionType)\\b' | ||
}, | ||
{ | ||
className: 'number', | ||
begin: '\\b\\d+(\\.\\d+)?\\b' | ||
}, | ||
{ | ||
className: 'keyword', | ||
begin: '\\b(import|driver|alias|if|switch|case|default|operation|function|new|else|for|var|return|async|break|breakAll|and|or|not|xor|implies|ext|in|continue|while|throw|delete|transaction|abort|model|group|as)\\b' | ||
}, | ||
{ | ||
className: 'operator', | ||
begin: '[!<>:]?=|<>|<|>|\\+|(?<!\\.)\\*|-|(?<!^)/|@@|\\|\\|' | ||
}, | ||
{ | ||
className: 'string', | ||
begin: '"', end: '"' | ||
}, | ||
{ | ||
className: 'identifier', | ||
begin: '`', end: '`' | ||
} | ||
] | ||
}; | ||
}; | ||
|
||
hljs.registerLanguage('eol', eol); | ||
hljs.registerLanguage('eunit', eol); | ||
|
||
hljs.registerLanguage('egl', function(hljs) { | ||
return { | ||
case_insensitive: false, | ||
contains: [ | ||
{ | ||
className: 'comment', | ||
begin: '\\[\\*', end: '\\*\\]', | ||
relevance: 10 | ||
}, | ||
{ | ||
className: 'identifier', | ||
begin: '\\[%', end: '%\\]', | ||
relevance: 10, | ||
subLanguage: 'eol' | ||
} | ||
] | ||
}; | ||
}); | ||
|
||
hljs.registerLanguage('egx', function(hljs) { | ||
var eol = hljs.getLanguage('eol'); | ||
|
||
return hljs.inherit(eol, { | ||
keywords: { | ||
keyword: 'transform rule guard pre post target extends parameters template overwrite protectRegions merge append patch' | ||
} | ||
}); | ||
}); | ||
|
||
hljs.registerLanguage('ewl', function(hljs) { | ||
var eol = hljs.getLanguage('eol'); | ||
|
||
return hljs.inherit(eol, { | ||
keywords: { | ||
keyword: 'wizard guard do title' | ||
} | ||
}); | ||
}); | ||
|
||
hljs.registerLanguage('etl', function(hljs) { | ||
var eol = hljs.getLanguage('eol'); | ||
|
||
return hljs.inherit(eol, { | ||
keywords: { | ||
keyword: 'transform auto guard pre post to extends rule abstract' | ||
} | ||
}); | ||
}); | ||
|
||
hljs.registerLanguage('evl', function(hljs) { | ||
var eol = hljs.getLanguage('eol'); | ||
|
||
return hljs.inherit(eol, { | ||
keywords: { | ||
keyword: 'context constraint guard pre post assumes critique message title do check fix typeOf kindOf high medium low' | ||
} | ||
}); | ||
}); | ||
|
||
hljs.registerLanguage('mig', function(hljs) { | ||
var eol = hljs.getLanguage('eol'); | ||
|
||
return hljs.inherit(eol, { | ||
keywords: { | ||
keyword: 'delete retype to migrate when ignoring package pre post', | ||
variable: 'original migrated' | ||
} | ||
}); | ||
}); | ||
|
||
hljs.registerLanguage('ecl', function(hljs) { | ||
var eol = hljs.getLanguage('eol'); | ||
|
||
return hljs.inherit(eol, { | ||
keywords: { | ||
keyword: 'match auto do compare guard pre post with extends rule abstract', | ||
variable: 'matchTrace autoCompare matchInfo' | ||
} | ||
}); | ||
}); | ||
|
||
hljs.registerLanguage('eml', function(hljs) { | ||
var etl = hljs.getLanguage('etl'); | ||
|
||
return hljs.inherit(etl, { | ||
keywords: { | ||
keyword: 'merge mid with into', | ||
variable: 'matchTrace mergeTrace' | ||
} | ||
}); | ||
}); | ||
|
||
var epl = function(hljs) { | ||
var eol = hljs.getLanguage('eol'); | ||
|
||
return hljs.inherit(eol, { | ||
keywords: { | ||
keyword: 'pre post pattern match guard do onmatch nomatch from no optional active', | ||
} | ||
}); | ||
} | ||
|
||
hljs.registerLanguage('epl', epl); | ||
hljs.registerLanguage('emg', epl); | ||
|
||
hljs.registerLanguage('eml', function(hljs) { | ||
var etl = hljs.getLanguage('etl'); | ||
|
||
return hljs.inherit(etl, { | ||
keywords: { | ||
keyword: 'merge mid with into', | ||
variable: 'matchTrace mergeTrace' | ||
} | ||
}); | ||
}); | ||
|
||
hljs.registerLanguage('pinset', function(hljs) { | ||
var eol = hljs.getLanguage('eol'); | ||
|
||
return hljs.inherit(eol, { | ||
keywords: { | ||
keyword: 'pre post dataset over from guard properties reference column grid keys header body as' | ||
} | ||
}); | ||
}); | ||
|
||
hljs.registerLanguage('emf', function(hljs) { | ||
return { | ||
case_insensitive: false, | ||
contains: [ | ||
{ | ||
className: 'comment', | ||
begin: '/\\*', end: '\\*/' | ||
}, | ||
{ | ||
className: 'comment', | ||
begin: '//', end: '$' | ||
}, | ||
{ | ||
className: 'doctag', | ||
begin: '@\\w+', end: '(?=\\()|$' | ||
}, | ||
{ | ||
className: 'number', | ||
begin: '\\b\\d+(\\.\\d+)?\\b' | ||
}, | ||
{ | ||
className: 'keyword', | ||
begin: '\\b(abstract|attr|class|enum|extends|import|package|ref|val|op|readonly|volatile|transient|unsettable|derived|unique|ordered|resolve|id)\\b' | ||
}, | ||
{ | ||
className: 'string', | ||
begin: '\'', end: '\'' | ||
}, | ||
{ | ||
className: 'string', | ||
begin: '"', end: '"' | ||
}, | ||
{ | ||
className: 'type', | ||
begin: '\\b(boolean|Boolean|byte|Byte|char|Character|double|Double|float|Float|int|Integer|long|Long|short|Short|Date|String|Object|Class|EObject|EClass)\\b' | ||
} | ||
] | ||
}; | ||
}); | ||
|
||
document$.subscribe(() => { | ||
hljs.highlightAll(); | ||
}); |
Oops, something went wrong.