UNPKG

jscc-parser

Version:

A LALR(1) Parser Generator for JavaScript written in JavaScript.

21 lines 657 B
(function(root, factory) { /* istanbul ignore next */ if (typeof define === 'function' && define.amd) { define(["require", "./lib/jscc/main"], factory); } else if (typeof module === 'object' && module.exports) { module.exports = factory(require); } else { root.jsccmain = factory(function() { return root.jscc; }); } }(this, /** * @param {reqParameter} require * @param {...*} others * @returns {function(?mainOptions=)} */ function(require, others) { var main = /** @type {function(?mainOptions=)} */ (require("./lib/jscc/main")); return main; }));