flow-web/static/highlight/languages/mizar.js
Andreas Widen a4a5c7daa5
Initial commit.
Signed-off-by: Andreas Widen <aw@luflow.net>
2026-07-27 17:57:03 +02:00

37 lines
No EOL
1.3 KiB
JavaScript

/*! `mizar` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Mizar
Description: The Mizar Language is a formal language derived from the mathematical vernacular.
Author: Kelley van Evert <kelleyvanevert@gmail.com>
Website: http://mizar.org/language/
Category: scientific
*/
function mizar(hljs) {
return {
name: 'Mizar',
keywords:
'environ vocabularies notations constructors definitions '
+ 'registrations theorems schemes requirements begin end definition '
+ 'registration cluster existence pred func defpred deffunc theorem '
+ 'proof let take assume then thus hence ex for st holds consider '
+ 'reconsider such that and in provided of as from be being by means '
+ 'equals implies iff redefine define now not or attr is mode '
+ 'suppose per cases set thesis contradiction scheme reserve struct '
+ 'correctness compatibility coherence symmetry assymetry '
+ 'reflexivity irreflexivity connectedness uniqueness commutativity '
+ 'idempotence involutiveness projectivity',
contains: [ hljs.COMMENT('::', '$') ]
};
}
return mizar;
})();
hljs.registerLanguage('mizar', hljsGrammar);
})();