code: function json2jison (grammar, options) {
      options = options || {};
      var s = "";
  
      s += genDecls(grammar, options);
      s += genBNF(grammar.bnf, options);
  
      return s;
  }
docs: converts json grammar format to Jison grammar format