You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
309 B

'use strict';
// To generate parser.js run the following command in the current directory:
//
// npx jison-gho parser.jison -o parser.js
const parse = require('./parser').parse;
/**
* @param {string} exp
* @returns {object}
*/
module.exports = function parseCalcExpression(exp) {
return parse(exp);
};