Class Index | File Index

Classes


Class mmir.env.grammar.JisonGenerator


Defined in: jisonGenerator.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Generator for executable language-grammars (i.e.
Class Detail
mmir.env.grammar.JisonGenerator()
Generator for executable language-grammars (i.e. converted JSON grammars).

This generator uses Jison for compiling the JSON grammar.

The generator for compiling the JSON grammar definitions in www/config/languages/<language code>/grammar.json can be configured in www/config/configuration.json:

{
  ...
  "grammarCompiler": "jison",
  ...
}

jison supports grammar generation for: LALR(1), LR(0), SLR(1), LL(1) [and experimental support for LR(1)] see jison documentation

Requires:
Jison
jQuery.Deferred
jQuery.extend
jQuery.makeArray
See:
https://github.com/zaach/jison

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 26 2016 21:44:43 GMT+0100 (Mitteleuropäische Zeit)