This page demonstrates the CodeMirror editing mode modelica.js and the Modelica parser moparser.js.
Type in some Modelica code and press the Show Syntax button.
Show Syntax