diff --git a/README.md b/README.md index c79a2b6..c372b07 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,22 @@ -#Modelica in JavaScript – MoiJS +# Modelica in JavaScript – MoiJS Moijs provides a [Modelica](https://www.Modelica.org) parser in JavaScript. This enables the processing of Modelica definitions in a Web browser. Moijs can also run server-side or on the command line using a tool like [Node.js](http://nodejs.org). The Modelica parser `moparser.js` is generated with [Jison](http://zaach.github.io/jison/) out of the grammar in `moparser.jison` and the lexical specification in `molexer.jisonlex`. -##CodeMirror +## CodeMirror A Modelica editing mode for [CodeMirror](http://codemirror.net) is generated from `molexer.jison` and `molexer.jisonlex`. -##Examples +## Examples The [moijs project pages](http://omuses.github.io/moijs) show running examples. -###Running in a Web browser +### Running in a Web browser - `moparse.html` – HTML page using CodeMirror and invoking `moparser.js` -###Running in Node.js +### Running in Node.js - `moparse.js` – invoke `moparser.js` for console input or for files of a Modelica package - `molex.js` – tokenize console input